change drone
continuous-integration/drone/push Build was killed
continuous-integration/drone/promote/prod Build is passing

This commit is contained in:
devops committed 2026-01-23 14:34:28 +08:00
1 parent 0cea63cbbd
commit 5ada4015e8
1 file changed
-55
-55
View File
@@ -174,61 +174,6 @@ steps:
- rollback
target:
- 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:
- name: files
host: