forked from natuka/web.puabadge.com
change drone
This commit is contained in:
1 parent
0cea63cbbd
commit
5ada4015e8
1 file changed
-55
-55
@@ -174,61 +174,6 @@ steps:
|
|||||||
- rollback
|
- rollback
|
||||||
target:
|
target:
|
||||||
- prod
|
- prod
|
||||||
#================================= oem ==========================
|
|
||||||
# - name: upload to oem oss
|
|
||||||
# commands:
|
|
||||||
# - python3 /home/devops/python_script/aliyun/upload.py
|
|
||||||
# pull: never
|
|
||||||
# image: oss2:latest
|
|
||||||
# volumes:
|
|
||||||
# - name: files
|
|
||||||
# path: /files
|
|
||||||
# - name: scripts
|
|
||||||
# path: /scripts
|
|
||||||
# commands:
|
|
||||||
# - python3 /scripts/oss.py oem-${DRONE_REPO_NAME} backup
|
|
||||||
# - python3 /scripts/oss.py oem-${DRONE_REPO_NAME} upload
|
|
||||||
# when:
|
|
||||||
# event:
|
|
||||||
# - promote
|
|
||||||
# target:
|
|
||||||
# - oem
|
|
||||||
# - name: restore to oem oss
|
|
||||||
# pull: never
|
|
||||||
# image: oss2:latest
|
|
||||||
# volumes:
|
|
||||||
# - name: files
|
|
||||||
# path: /files
|
|
||||||
# - name: scripts
|
|
||||||
# path: /scripts
|
|
||||||
# commands:
|
|
||||||
# - python3 /scripts/oss.py oem-${DRONE_REPO_NAME} restore
|
|
||||||
# when:
|
|
||||||
# event:
|
|
||||||
# - rollback
|
|
||||||
# target:
|
|
||||||
# - oem
|
|
||||||
# - name: flush oem cdn
|
|
||||||
# pull: never
|
|
||||||
# image: oss2:latest
|
|
||||||
# volumes:
|
|
||||||
# - name: files
|
|
||||||
# path: /files
|
|
||||||
# - name: scripts
|
|
||||||
# path: /scripts
|
|
||||||
# commands:
|
|
||||||
# - sleep 3
|
|
||||||
# - echo https://web.minimi.studio/ > /scripts/oem
|
|
||||||
# - echo https://www.sailner.web/ >> /scripts/oem
|
|
||||||
# - cd /scripts && python3 /scripts/refresh.py -r oem -t clear
|
|
||||||
# when:
|
|
||||||
# event:
|
|
||||||
# - promote
|
|
||||||
# target:
|
|
||||||
# - oem
|
|
||||||
|
|
||||||
|
|
||||||
#================================= sharewow3d ==========================
|
|
||||||
volumes:
|
volumes:
|
||||||
- name: files
|
- name: files
|
||||||
host:
|
host:
|
||||||
|
|||||||
Reference in new issue
Block a user