forked from wangbo/easyai
feat(deploy): 为更新组件增加定时维护与双保险
This commit is contained in:
@@ -7,6 +7,10 @@ on:
|
||||
- 'update.sh'
|
||||
- 'docker-compose.yml'
|
||||
- 'easyai-proxy.conf.sample'
|
||||
- 'scripts/*infrastructure*.sh'
|
||||
- 'scripts/*Infrastructure*.ps1'
|
||||
- 'scripts/test-infrastructure-auto-update.py'
|
||||
- 'scripts/update-env.d/*.env'
|
||||
- '.env.sample'
|
||||
- 'scripts/init-public-api-base-url.sh'
|
||||
- 'scripts/test-public-api-base-url.sh'
|
||||
@@ -25,6 +29,10 @@ on:
|
||||
- 'update.sh'
|
||||
- 'docker-compose.yml'
|
||||
- 'easyai-proxy.conf.sample'
|
||||
- 'scripts/*infrastructure*.sh'
|
||||
- 'scripts/*Infrastructure*.ps1'
|
||||
- 'scripts/test-infrastructure-auto-update.py'
|
||||
- 'scripts/update-env.d/*.env'
|
||||
- '.env.sample'
|
||||
- 'scripts/init-public-api-base-url.sh'
|
||||
- 'scripts/test-public-api-base-url.sh'
|
||||
@@ -62,3 +70,9 @@ jobs:
|
||||
|
||||
- name: Test deployment dry-run matrix
|
||||
run: bash scripts/test-deployment-public-url.sh
|
||||
|
||||
- name: Test automatic Watchtower maintenance
|
||||
run: |
|
||||
python3 scripts/test-infrastructure-auto-update.py
|
||||
pwsh -NoProfile -File scripts/Test-InfrastructureUpdateTask.ps1
|
||||
bash scripts/test-update-env-migrations.sh
|
||||
|
||||
Reference in New Issue
Block a user