Builds for
2 pipelines
passed
in
6 minutes 33 seconds
chore: ci configure to use kakao pypi mirror
Showing
1 changed file
with
4 additions
and
4 deletions
... | @@ -16,15 +16,15 @@ deploy: | ... | @@ -16,15 +16,15 @@ deploy: |
16 | - "$CI_PROJECT_DIR/khubox-api/venv" | 16 | - "$CI_PROJECT_DIR/khubox-api/venv" |
17 | script: | 17 | script: |
18 | - cd $CI_PROJECT_DIR/khubox-api | 18 | - cd $CI_PROJECT_DIR/khubox-api |
19 | - - pip install --upgrade pip | 19 | + - pip install --upgrade pip -i http://mirror.kakao.com/pypi/simple --trusted-host mirror.kakao.com |
20 | - - pip install awscli | 20 | + - pip install awscli -i http://mirror.kakao.com/pypi/simple --trusted-host mirror.kakao.com |
21 | - aws configure set aws_access_key_id $AWS_ACCESS_KEY_ID | 21 | - aws configure set aws_access_key_id $AWS_ACCESS_KEY_ID |
22 | - aws configure set aws_secret_access_key $AWS_SECRET_ACCESS_KEY | 22 | - aws configure set aws_secret_access_key $AWS_SECRET_ACCESS_KEY |
23 | - aws configure set region $AWS_DEFAULT_REGION | 23 | - aws configure set region $AWS_DEFAULT_REGION |
24 | - - pip install virtualenv | 24 | + - pip install virtualenv -i http://mirror.kakao.com/pypi/simple --trusted-host mirror.kakao.com |
25 | - python -m virtualenv venv | 25 | - python -m virtualenv venv |
26 | - source venv/bin/activate | 26 | - source venv/bin/activate |
27 | - - pip install -r requirements.txt | 27 | + - pip install -r requirements.txt -i http://mirror.kakao.com/pypi/simple --trusted-host mirror.kakao.com |
28 | - zappa update | 28 | - zappa update |
29 | - cd $CI_PROJECT_DIR/khubox-front | 29 | - cd $CI_PROJECT_DIR/khubox-front |
30 | - aws s3 cp ./ s3://khubox-deploy/ --recursive --include "*" --acl public-read | 30 | - aws s3 cp ./ s3://khubox-deploy/ --recursive --include "*" --acl public-read | ... | ... |
-
Please register or login to post a comment