refactor: consolidated configs

This commit is contained in:
Marvin Zhang
2024-11-18 16:48:09 +08:00
parent 459d94ad96
commit a3b286558b
28 changed files with 329 additions and 529 deletions

View File

@@ -282,7 +282,7 @@ jobs:
--health-interval 10s
--health-timeout 5s
--health-retries 5
crawlab:
master:
image: ghcr.io/${{ github.repository_owner }}/crawlab:${{ needs.setup.outputs.version }}
env:
CRAWLAB_NODE_MASTER: Y
@@ -295,6 +295,10 @@ jobs:
--health-interval 30s
--health-timeout 10s
--health-retries 5
worker:
image: ghcr.io/${{ github.repository_owner }}/crawlab:${{ needs.setup.outputs.version }}
env:
CRAWLAB_NODE_MASTER: N
steps:
- name: Checkout repository
uses: actions/checkout@v4