Commit cefd8434 authored by nanahira's avatar nanahira

remove upload

parent 6be14543
Pipeline #97 passed with stages
in 11 minutes and 14 seconds
...@@ -27,20 +27,20 @@ build_lite: ...@@ -27,20 +27,20 @@ build_lite:
- docker build --pull --no-cache -f ./Dockerfile.lite -t $CONTAINER_TEST_IMAGE_LITE . - docker build --pull --no-cache -f ./Dockerfile.lite -t $CONTAINER_TEST_IMAGE_LITE .
- docker push $CONTAINER_TEST_IMAGE_LITE - docker push $CONTAINER_TEST_IMAGE_LITE
upload_stuff_to_minio: #upload_stuff_to_minio:
stage: deploy # stage: deploy
tags: # tags:
- linux # - linux
image: $CONTAINER_TEST_IMAGE # image: $CONTAINER_TEST_IMAGE
script: # script:
- apt update ; apt -y install python3-pip # - apt update ; apt -y install python3-pip
- pip3 install -U -i https://mirrors.aliyun.com/pypi/simple/ awscli # - pip3 install -U -i https://mirrors.aliyun.com/pypi/simple/ awscli
- cd /ygopro-server # - cd /ygopro-server
- mkdir /dist # - mkdir /dist
- tar zcfv /dist/ygopro-server.tar.gz ./* # - tar zcfv /dist/ygopro-server.tar.gz ./*
- aws s3 --endpoint=https://minio.mycard.moe:9000 cp /dist/ygopro-server.tar.gz s3://mycard/srvpro/ygopro-server.tar.gz # - aws s3 --endpoint=https://minio.mycard.moe:9000 cp /dist/ygopro-server.tar.gz s3://mycard/srvpro/ygopro-server.tar.gz
only: # only:
- master # - master
deploy_latest: deploy_latest:
stage: deploy stage: deploy
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment