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
|
||||
|
||||
@@ -14,6 +14,10 @@ on:
|
||||
- 'scripts/Test-SecurityOrigin.ps1'
|
||||
- 'scripts/Assert-RedisPersistence.ps1'
|
||||
- 'scripts/Test-RedisPersistence.ps1'
|
||||
- 'scripts/*infrastructure*.sh'
|
||||
- 'scripts/*Infrastructure*.ps1'
|
||||
- 'scripts/test-infrastructure-auto-update.py'
|
||||
- 'scripts/update-env.d/*.env'
|
||||
- '.env.sample'
|
||||
- '.github/workflows/test-start-ps1.yml'
|
||||
pull_request:
|
||||
@@ -28,6 +32,10 @@ on:
|
||||
- 'scripts/Test-SecurityOrigin.ps1'
|
||||
- 'scripts/Assert-RedisPersistence.ps1'
|
||||
- 'scripts/Test-RedisPersistence.ps1'
|
||||
- 'scripts/*infrastructure*.sh'
|
||||
- 'scripts/*Infrastructure*.ps1'
|
||||
- 'scripts/test-infrastructure-auto-update.py'
|
||||
- 'scripts/update-env.d/*.env'
|
||||
- '.env.sample'
|
||||
- '.github/workflows/test-start-ps1.yml'
|
||||
workflow_dispatch:
|
||||
@@ -84,3 +92,6 @@ jobs:
|
||||
run: |
|
||||
powershell -ExecutionPolicy Bypass -File .\scripts\Test-SecurityOrigin.ps1
|
||||
powershell -ExecutionPolicy Bypass -File .\scripts\Test-RedisPersistence.ps1
|
||||
|
||||
- name: Test Watchtower schedule registration contract
|
||||
run: powershell -ExecutionPolicy Bypass -File .\scripts\Test-InfrastructureUpdateTask.ps1
|
||||
|
||||
Reference in New Issue
Block a user