fix: run steps in parallel within each workflow
All build steps and test steps now have depends_on: [] so they execute concurrently within their workflow instead of sequentially.
This commit is contained in:
+16
-34
@@ -1,11 +1,8 @@
|
|||||||
# Workflow 2: Build batch 1 (node B)
|
|
||||||
depends_on:
|
depends_on:
|
||||||
- test
|
- test
|
||||||
|
|
||||||
when:
|
when:
|
||||||
event: push
|
event: push
|
||||||
branch: main
|
branch: main
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
build-scheduler:
|
build-scheduler:
|
||||||
image: woodpeckerci/plugin-docker-buildx
|
image: woodpeckerci/plugin-docker-buildx
|
||||||
@@ -15,12 +12,8 @@ steps:
|
|||||||
registry: registry.celestium.life
|
registry: registry.celestium.life
|
||||||
custom_dns: 192.168.42.1
|
custom_dns: 192.168.42.1
|
||||||
buildx_flags: --driver-opt network=host
|
buildx_flags: --driver-opt network=host
|
||||||
buildkitd_config: |
|
buildkitd_config: "[registry.\"docker.io\"]\n mirrors = [\"registry.celestium.life/v2/dockerhub-cache\"]\n[registry.\"ghcr.io\"]\n mirrors = [\"registry.celestium.life/v2/ghcr-cache\"]\n"
|
||||||
[registry."docker.io"]
|
no_proxy: 10.0.0.0/8,192.168.0.0/16,127.0.0.1,localhost,.local,.celestium.life
|
||||||
mirrors = ["registry.celestium.life/v2/dockerhub-cache"]
|
|
||||||
[registry."ghcr.io"]
|
|
||||||
mirrors = ["registry.celestium.life/v2/ghcr-cache"]
|
|
||||||
no_proxy: "10.0.0.0/8,192.168.0.0/16,127.0.0.1,localhost,.local,.celestium.life"
|
|
||||||
logins:
|
logins:
|
||||||
- registry: https://registry.celestium.life
|
- registry: https://registry.celestium.life
|
||||||
username:
|
username:
|
||||||
@@ -46,7 +39,7 @@ steps:
|
|||||||
limits:
|
limits:
|
||||||
memory: 2Gi
|
memory: 2Gi
|
||||||
cpu: 4000m
|
cpu: 4000m
|
||||||
|
depends_on: []
|
||||||
build-symbol-registry:
|
build-symbol-registry:
|
||||||
image: woodpeckerci/plugin-docker-buildx
|
image: woodpeckerci/plugin-docker-buildx
|
||||||
privileged: true
|
privileged: true
|
||||||
@@ -55,12 +48,8 @@ steps:
|
|||||||
registry: registry.celestium.life
|
registry: registry.celestium.life
|
||||||
custom_dns: 192.168.42.1
|
custom_dns: 192.168.42.1
|
||||||
buildx_flags: --driver-opt network=host
|
buildx_flags: --driver-opt network=host
|
||||||
buildkitd_config: |
|
buildkitd_config: "[registry.\"docker.io\"]\n mirrors = [\"registry.celestium.life/v2/dockerhub-cache\"]\n[registry.\"ghcr.io\"]\n mirrors = [\"registry.celestium.life/v2/ghcr-cache\"]\n"
|
||||||
[registry."docker.io"]
|
no_proxy: 10.0.0.0/8,192.168.0.0/16,127.0.0.1,localhost,.local,.celestium.life
|
||||||
mirrors = ["registry.celestium.life/v2/dockerhub-cache"]
|
|
||||||
[registry."ghcr.io"]
|
|
||||||
mirrors = ["registry.celestium.life/v2/ghcr-cache"]
|
|
||||||
no_proxy: "10.0.0.0/8,192.168.0.0/16,127.0.0.1,localhost,.local,.celestium.life"
|
|
||||||
logins:
|
logins:
|
||||||
- registry: https://registry.celestium.life
|
- registry: https://registry.celestium.life
|
||||||
username:
|
username:
|
||||||
@@ -77,7 +66,7 @@ steps:
|
|||||||
- latest
|
- latest
|
||||||
dockerfile: docker/Dockerfile
|
dockerfile: docker/Dockerfile
|
||||||
context: .
|
context: .
|
||||||
build_args: "SERVICE_CMD=uvicorn services.symbol_registry.app:app --host 0.0.0.0 --port 8000"
|
build_args: SERVICE_CMD=uvicorn services.symbol_registry.app:app --host 0.0.0.0 --port 8000
|
||||||
backend_options:
|
backend_options:
|
||||||
kubernetes:
|
kubernetes:
|
||||||
resources:
|
resources:
|
||||||
@@ -87,7 +76,7 @@ steps:
|
|||||||
limits:
|
limits:
|
||||||
memory: 2Gi
|
memory: 2Gi
|
||||||
cpu: 4000m
|
cpu: 4000m
|
||||||
|
depends_on: []
|
||||||
build-ingestion:
|
build-ingestion:
|
||||||
image: woodpeckerci/plugin-docker-buildx
|
image: woodpeckerci/plugin-docker-buildx
|
||||||
privileged: true
|
privileged: true
|
||||||
@@ -96,12 +85,8 @@ steps:
|
|||||||
registry: registry.celestium.life
|
registry: registry.celestium.life
|
||||||
custom_dns: 192.168.42.1
|
custom_dns: 192.168.42.1
|
||||||
buildx_flags: --driver-opt network=host
|
buildx_flags: --driver-opt network=host
|
||||||
buildkitd_config: |
|
buildkitd_config: "[registry.\"docker.io\"]\n mirrors = [\"registry.celestium.life/v2/dockerhub-cache\"]\n[registry.\"ghcr.io\"]\n mirrors = [\"registry.celestium.life/v2/ghcr-cache\"]\n"
|
||||||
[registry."docker.io"]
|
no_proxy: 10.0.0.0/8,192.168.0.0/16,127.0.0.1,localhost,.local,.celestium.life
|
||||||
mirrors = ["registry.celestium.life/v2/dockerhub-cache"]
|
|
||||||
[registry."ghcr.io"]
|
|
||||||
mirrors = ["registry.celestium.life/v2/ghcr-cache"]
|
|
||||||
no_proxy: "10.0.0.0/8,192.168.0.0/16,127.0.0.1,localhost,.local,.celestium.life"
|
|
||||||
logins:
|
logins:
|
||||||
- registry: https://registry.celestium.life
|
- registry: https://registry.celestium.life
|
||||||
username:
|
username:
|
||||||
@@ -118,7 +103,7 @@ steps:
|
|||||||
- latest
|
- latest
|
||||||
dockerfile: docker/Dockerfile
|
dockerfile: docker/Dockerfile
|
||||||
context: .
|
context: .
|
||||||
build_args: "SERVICE_CMD=python -m services.ingestion.worker"
|
build_args: SERVICE_CMD=python -m services.ingestion.worker
|
||||||
backend_options:
|
backend_options:
|
||||||
kubernetes:
|
kubernetes:
|
||||||
resources:
|
resources:
|
||||||
@@ -128,7 +113,7 @@ steps:
|
|||||||
limits:
|
limits:
|
||||||
memory: 2Gi
|
memory: 2Gi
|
||||||
cpu: 4000m
|
cpu: 4000m
|
||||||
|
depends_on: []
|
||||||
build-parser:
|
build-parser:
|
||||||
image: woodpeckerci/plugin-docker-buildx
|
image: woodpeckerci/plugin-docker-buildx
|
||||||
privileged: true
|
privileged: true
|
||||||
@@ -137,12 +122,8 @@ steps:
|
|||||||
registry: registry.celestium.life
|
registry: registry.celestium.life
|
||||||
custom_dns: 192.168.42.1
|
custom_dns: 192.168.42.1
|
||||||
buildx_flags: --driver-opt network=host
|
buildx_flags: --driver-opt network=host
|
||||||
buildkitd_config: |
|
buildkitd_config: "[registry.\"docker.io\"]\n mirrors = [\"registry.celestium.life/v2/dockerhub-cache\"]\n[registry.\"ghcr.io\"]\n mirrors = [\"registry.celestium.life/v2/ghcr-cache\"]\n"
|
||||||
[registry."docker.io"]
|
no_proxy: 10.0.0.0/8,192.168.0.0/16,127.0.0.1,localhost,.local,.celestium.life
|
||||||
mirrors = ["registry.celestium.life/v2/dockerhub-cache"]
|
|
||||||
[registry."ghcr.io"]
|
|
||||||
mirrors = ["registry.celestium.life/v2/ghcr-cache"]
|
|
||||||
no_proxy: "10.0.0.0/8,192.168.0.0/16,127.0.0.1,localhost,.local,.celestium.life"
|
|
||||||
logins:
|
logins:
|
||||||
- registry: https://registry.celestium.life
|
- registry: https://registry.celestium.life
|
||||||
username:
|
username:
|
||||||
@@ -159,7 +140,7 @@ steps:
|
|||||||
- latest
|
- latest
|
||||||
dockerfile: docker/Dockerfile
|
dockerfile: docker/Dockerfile
|
||||||
context: .
|
context: .
|
||||||
build_args: "SERVICE_CMD=python -m services.parser.worker"
|
build_args: SERVICE_CMD=python -m services.parser.worker
|
||||||
backend_options:
|
backend_options:
|
||||||
kubernetes:
|
kubernetes:
|
||||||
resources:
|
resources:
|
||||||
@@ -169,3 +150,4 @@ steps:
|
|||||||
limits:
|
limits:
|
||||||
memory: 2Gi
|
memory: 2Gi
|
||||||
cpu: 4000m
|
cpu: 4000m
|
||||||
|
depends_on: []
|
||||||
|
|||||||
+17
-35
@@ -1,11 +1,8 @@
|
|||||||
# Workflow 3: Build batch 2 (node C)
|
|
||||||
depends_on:
|
depends_on:
|
||||||
- test
|
- test
|
||||||
|
|
||||||
when:
|
when:
|
||||||
event: push
|
event: push
|
||||||
branch: main
|
branch: main
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
build-extractor:
|
build-extractor:
|
||||||
image: woodpeckerci/plugin-docker-buildx
|
image: woodpeckerci/plugin-docker-buildx
|
||||||
@@ -15,12 +12,8 @@ steps:
|
|||||||
registry: registry.celestium.life
|
registry: registry.celestium.life
|
||||||
custom_dns: 192.168.42.1
|
custom_dns: 192.168.42.1
|
||||||
buildx_flags: --driver-opt network=host
|
buildx_flags: --driver-opt network=host
|
||||||
buildkitd_config: |
|
buildkitd_config: "[registry.\"docker.io\"]\n mirrors = [\"registry.celestium.life/v2/dockerhub-cache\"]\n[registry.\"ghcr.io\"]\n mirrors = [\"registry.celestium.life/v2/ghcr-cache\"]\n"
|
||||||
[registry."docker.io"]
|
no_proxy: 10.0.0.0/8,192.168.0.0/16,127.0.0.1,localhost,.local,.celestium.life
|
||||||
mirrors = ["registry.celestium.life/v2/dockerhub-cache"]
|
|
||||||
[registry."ghcr.io"]
|
|
||||||
mirrors = ["registry.celestium.life/v2/ghcr-cache"]
|
|
||||||
no_proxy: "10.0.0.0/8,192.168.0.0/16,127.0.0.1,localhost,.local,.celestium.life"
|
|
||||||
logins:
|
logins:
|
||||||
- registry: https://registry.celestium.life
|
- registry: https://registry.celestium.life
|
||||||
username:
|
username:
|
||||||
@@ -37,7 +30,7 @@ steps:
|
|||||||
- latest
|
- latest
|
||||||
dockerfile: docker/Dockerfile
|
dockerfile: docker/Dockerfile
|
||||||
context: .
|
context: .
|
||||||
build_args: "SERVICE_CMD=python -m services.extractor.worker"
|
build_args: SERVICE_CMD=python -m services.extractor.worker
|
||||||
backend_options:
|
backend_options:
|
||||||
kubernetes:
|
kubernetes:
|
||||||
resources:
|
resources:
|
||||||
@@ -47,7 +40,7 @@ steps:
|
|||||||
limits:
|
limits:
|
||||||
memory: 2Gi
|
memory: 2Gi
|
||||||
cpu: 4000m
|
cpu: 4000m
|
||||||
|
depends_on: []
|
||||||
build-aggregation:
|
build-aggregation:
|
||||||
image: woodpeckerci/plugin-docker-buildx
|
image: woodpeckerci/plugin-docker-buildx
|
||||||
privileged: true
|
privileged: true
|
||||||
@@ -56,12 +49,8 @@ steps:
|
|||||||
registry: registry.celestium.life
|
registry: registry.celestium.life
|
||||||
custom_dns: 192.168.42.1
|
custom_dns: 192.168.42.1
|
||||||
buildx_flags: --driver-opt network=host
|
buildx_flags: --driver-opt network=host
|
||||||
buildkitd_config: |
|
buildkitd_config: "[registry.\"docker.io\"]\n mirrors = [\"registry.celestium.life/v2/dockerhub-cache\"]\n[registry.\"ghcr.io\"]\n mirrors = [\"registry.celestium.life/v2/ghcr-cache\"]\n"
|
||||||
[registry."docker.io"]
|
no_proxy: 10.0.0.0/8,192.168.0.0/16,127.0.0.1,localhost,.local,.celestium.life
|
||||||
mirrors = ["registry.celestium.life/v2/dockerhub-cache"]
|
|
||||||
[registry."ghcr.io"]
|
|
||||||
mirrors = ["registry.celestium.life/v2/ghcr-cache"]
|
|
||||||
no_proxy: "10.0.0.0/8,192.168.0.0/16,127.0.0.1,localhost,.local,.celestium.life"
|
|
||||||
logins:
|
logins:
|
||||||
- registry: https://registry.celestium.life
|
- registry: https://registry.celestium.life
|
||||||
username:
|
username:
|
||||||
@@ -78,7 +67,7 @@ steps:
|
|||||||
- latest
|
- latest
|
||||||
dockerfile: docker/Dockerfile
|
dockerfile: docker/Dockerfile
|
||||||
context: .
|
context: .
|
||||||
build_args: "SERVICE_CMD=python -m services.aggregation.worker"
|
build_args: SERVICE_CMD=python -m services.aggregation.worker
|
||||||
backend_options:
|
backend_options:
|
||||||
kubernetes:
|
kubernetes:
|
||||||
resources:
|
resources:
|
||||||
@@ -88,7 +77,7 @@ steps:
|
|||||||
limits:
|
limits:
|
||||||
memory: 2Gi
|
memory: 2Gi
|
||||||
cpu: 4000m
|
cpu: 4000m
|
||||||
|
depends_on: []
|
||||||
build-recommendation:
|
build-recommendation:
|
||||||
image: woodpeckerci/plugin-docker-buildx
|
image: woodpeckerci/plugin-docker-buildx
|
||||||
privileged: true
|
privileged: true
|
||||||
@@ -97,12 +86,8 @@ steps:
|
|||||||
registry: registry.celestium.life
|
registry: registry.celestium.life
|
||||||
custom_dns: 192.168.42.1
|
custom_dns: 192.168.42.1
|
||||||
buildx_flags: --driver-opt network=host
|
buildx_flags: --driver-opt network=host
|
||||||
buildkitd_config: |
|
buildkitd_config: "[registry.\"docker.io\"]\n mirrors = [\"registry.celestium.life/v2/dockerhub-cache\"]\n[registry.\"ghcr.io\"]\n mirrors = [\"registry.celestium.life/v2/ghcr-cache\"]\n"
|
||||||
[registry."docker.io"]
|
no_proxy: 10.0.0.0/8,192.168.0.0/16,127.0.0.1,localhost,.local,.celestium.life
|
||||||
mirrors = ["registry.celestium.life/v2/dockerhub-cache"]
|
|
||||||
[registry."ghcr.io"]
|
|
||||||
mirrors = ["registry.celestium.life/v2/ghcr-cache"]
|
|
||||||
no_proxy: "10.0.0.0/8,192.168.0.0/16,127.0.0.1,localhost,.local,.celestium.life"
|
|
||||||
logins:
|
logins:
|
||||||
- registry: https://registry.celestium.life
|
- registry: https://registry.celestium.life
|
||||||
username:
|
username:
|
||||||
@@ -119,7 +104,7 @@ steps:
|
|||||||
- latest
|
- latest
|
||||||
dockerfile: docker/Dockerfile
|
dockerfile: docker/Dockerfile
|
||||||
context: .
|
context: .
|
||||||
build_args: "SERVICE_CMD=python -m services.recommendation.worker"
|
build_args: SERVICE_CMD=python -m services.recommendation.worker
|
||||||
backend_options:
|
backend_options:
|
||||||
kubernetes:
|
kubernetes:
|
||||||
resources:
|
resources:
|
||||||
@@ -129,7 +114,7 @@ steps:
|
|||||||
limits:
|
limits:
|
||||||
memory: 2Gi
|
memory: 2Gi
|
||||||
cpu: 4000m
|
cpu: 4000m
|
||||||
|
depends_on: []
|
||||||
build-risk:
|
build-risk:
|
||||||
image: woodpeckerci/plugin-docker-buildx
|
image: woodpeckerci/plugin-docker-buildx
|
||||||
privileged: true
|
privileged: true
|
||||||
@@ -138,12 +123,8 @@ steps:
|
|||||||
registry: registry.celestium.life
|
registry: registry.celestium.life
|
||||||
custom_dns: 192.168.42.1
|
custom_dns: 192.168.42.1
|
||||||
buildx_flags: --driver-opt network=host
|
buildx_flags: --driver-opt network=host
|
||||||
buildkitd_config: |
|
buildkitd_config: "[registry.\"docker.io\"]\n mirrors = [\"registry.celestium.life/v2/dockerhub-cache\"]\n[registry.\"ghcr.io\"]\n mirrors = [\"registry.celestium.life/v2/ghcr-cache\"]\n"
|
||||||
[registry."docker.io"]
|
no_proxy: 10.0.0.0/8,192.168.0.0/16,127.0.0.1,localhost,.local,.celestium.life
|
||||||
mirrors = ["registry.celestium.life/v2/dockerhub-cache"]
|
|
||||||
[registry."ghcr.io"]
|
|
||||||
mirrors = ["registry.celestium.life/v2/ghcr-cache"]
|
|
||||||
no_proxy: "10.0.0.0/8,192.168.0.0/16,127.0.0.1,localhost,.local,.celestium.life"
|
|
||||||
logins:
|
logins:
|
||||||
- registry: https://registry.celestium.life
|
- registry: https://registry.celestium.life
|
||||||
username:
|
username:
|
||||||
@@ -160,7 +141,7 @@ steps:
|
|||||||
- latest
|
- latest
|
||||||
dockerfile: docker/Dockerfile
|
dockerfile: docker/Dockerfile
|
||||||
context: .
|
context: .
|
||||||
build_args: "SERVICE_CMD=uvicorn services.risk.app:app --host 0.0.0.0 --port 8000"
|
build_args: SERVICE_CMD=uvicorn services.risk.app:app --host 0.0.0.0 --port 8000
|
||||||
backend_options:
|
backend_options:
|
||||||
kubernetes:
|
kubernetes:
|
||||||
resources:
|
resources:
|
||||||
@@ -170,3 +151,4 @@ steps:
|
|||||||
limits:
|
limits:
|
||||||
memory: 2Gi
|
memory: 2Gi
|
||||||
cpu: 4000m
|
cpu: 4000m
|
||||||
|
depends_on: []
|
||||||
|
|||||||
+23
-49
@@ -1,11 +1,8 @@
|
|||||||
# Workflow 4: Build batch 3 (node D)
|
|
||||||
depends_on:
|
depends_on:
|
||||||
- test
|
- test
|
||||||
|
|
||||||
when:
|
when:
|
||||||
event: push
|
event: push
|
||||||
branch: main
|
branch: main
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
build-broker-adapter:
|
build-broker-adapter:
|
||||||
image: woodpeckerci/plugin-docker-buildx
|
image: woodpeckerci/plugin-docker-buildx
|
||||||
@@ -15,12 +12,8 @@ steps:
|
|||||||
registry: registry.celestium.life
|
registry: registry.celestium.life
|
||||||
custom_dns: 192.168.42.1
|
custom_dns: 192.168.42.1
|
||||||
buildx_flags: --driver-opt network=host
|
buildx_flags: --driver-opt network=host
|
||||||
buildkitd_config: |
|
buildkitd_config: "[registry.\"docker.io\"]\n mirrors = [\"registry.celestium.life/v2/dockerhub-cache\"]\n[registry.\"ghcr.io\"]\n mirrors = [\"registry.celestium.life/v2/ghcr-cache\"]\n"
|
||||||
[registry."docker.io"]
|
no_proxy: 10.0.0.0/8,192.168.0.0/16,127.0.0.1,localhost,.local,.celestium.life
|
||||||
mirrors = ["registry.celestium.life/v2/dockerhub-cache"]
|
|
||||||
[registry."ghcr.io"]
|
|
||||||
mirrors = ["registry.celestium.life/v2/ghcr-cache"]
|
|
||||||
no_proxy: "10.0.0.0/8,192.168.0.0/16,127.0.0.1,localhost,.local,.celestium.life"
|
|
||||||
logins:
|
logins:
|
||||||
- registry: https://registry.celestium.life
|
- registry: https://registry.celestium.life
|
||||||
username:
|
username:
|
||||||
@@ -37,7 +30,7 @@ steps:
|
|||||||
- latest
|
- latest
|
||||||
dockerfile: docker/Dockerfile
|
dockerfile: docker/Dockerfile
|
||||||
context: .
|
context: .
|
||||||
build_args: "SERVICE_CMD=python -m services.adapters.broker_adapter"
|
build_args: SERVICE_CMD=python -m services.adapters.broker_adapter
|
||||||
backend_options:
|
backend_options:
|
||||||
kubernetes:
|
kubernetes:
|
||||||
resources:
|
resources:
|
||||||
@@ -47,7 +40,7 @@ steps:
|
|||||||
limits:
|
limits:
|
||||||
memory: 2Gi
|
memory: 2Gi
|
||||||
cpu: 4000m
|
cpu: 4000m
|
||||||
|
depends_on: []
|
||||||
build-lake-publisher:
|
build-lake-publisher:
|
||||||
image: woodpeckerci/plugin-docker-buildx
|
image: woodpeckerci/plugin-docker-buildx
|
||||||
privileged: true
|
privileged: true
|
||||||
@@ -56,12 +49,8 @@ steps:
|
|||||||
registry: registry.celestium.life
|
registry: registry.celestium.life
|
||||||
custom_dns: 192.168.42.1
|
custom_dns: 192.168.42.1
|
||||||
buildx_flags: --driver-opt network=host
|
buildx_flags: --driver-opt network=host
|
||||||
buildkitd_config: |
|
buildkitd_config: "[registry.\"docker.io\"]\n mirrors = [\"registry.celestium.life/v2/dockerhub-cache\"]\n[registry.\"ghcr.io\"]\n mirrors = [\"registry.celestium.life/v2/ghcr-cache\"]\n"
|
||||||
[registry."docker.io"]
|
no_proxy: 10.0.0.0/8,192.168.0.0/16,127.0.0.1,localhost,.local,.celestium.life
|
||||||
mirrors = ["registry.celestium.life/v2/dockerhub-cache"]
|
|
||||||
[registry."ghcr.io"]
|
|
||||||
mirrors = ["registry.celestium.life/v2/ghcr-cache"]
|
|
||||||
no_proxy: "10.0.0.0/8,192.168.0.0/16,127.0.0.1,localhost,.local,.celestium.life"
|
|
||||||
logins:
|
logins:
|
||||||
- registry: https://registry.celestium.life
|
- registry: https://registry.celestium.life
|
||||||
username:
|
username:
|
||||||
@@ -78,7 +67,7 @@ steps:
|
|||||||
- latest
|
- latest
|
||||||
dockerfile: docker/Dockerfile
|
dockerfile: docker/Dockerfile
|
||||||
context: .
|
context: .
|
||||||
build_args: "SERVICE_CMD=python -m services.lake_publisher.worker"
|
build_args: SERVICE_CMD=python -m services.lake_publisher.worker
|
||||||
backend_options:
|
backend_options:
|
||||||
kubernetes:
|
kubernetes:
|
||||||
resources:
|
resources:
|
||||||
@@ -88,7 +77,7 @@ steps:
|
|||||||
limits:
|
limits:
|
||||||
memory: 2Gi
|
memory: 2Gi
|
||||||
cpu: 4000m
|
cpu: 4000m
|
||||||
|
depends_on: []
|
||||||
build-query-api:
|
build-query-api:
|
||||||
image: woodpeckerci/plugin-docker-buildx
|
image: woodpeckerci/plugin-docker-buildx
|
||||||
privileged: true
|
privileged: true
|
||||||
@@ -97,12 +86,8 @@ steps:
|
|||||||
registry: registry.celestium.life
|
registry: registry.celestium.life
|
||||||
custom_dns: 192.168.42.1
|
custom_dns: 192.168.42.1
|
||||||
buildx_flags: --driver-opt network=host
|
buildx_flags: --driver-opt network=host
|
||||||
buildkitd_config: |
|
buildkitd_config: "[registry.\"docker.io\"]\n mirrors = [\"registry.celestium.life/v2/dockerhub-cache\"]\n[registry.\"ghcr.io\"]\n mirrors = [\"registry.celestium.life/v2/ghcr-cache\"]\n"
|
||||||
[registry."docker.io"]
|
no_proxy: 10.0.0.0/8,192.168.0.0/16,127.0.0.1,localhost,.local,.celestium.life
|
||||||
mirrors = ["registry.celestium.life/v2/dockerhub-cache"]
|
|
||||||
[registry."ghcr.io"]
|
|
||||||
mirrors = ["registry.celestium.life/v2/ghcr-cache"]
|
|
||||||
no_proxy: "10.0.0.0/8,192.168.0.0/16,127.0.0.1,localhost,.local,.celestium.life"
|
|
||||||
logins:
|
logins:
|
||||||
- registry: https://registry.celestium.life
|
- registry: https://registry.celestium.life
|
||||||
username:
|
username:
|
||||||
@@ -119,7 +104,7 @@ steps:
|
|||||||
- latest
|
- latest
|
||||||
dockerfile: docker/Dockerfile
|
dockerfile: docker/Dockerfile
|
||||||
context: .
|
context: .
|
||||||
build_args: "SERVICE_CMD=uvicorn services.api.app:app --host 0.0.0.0 --port 8000"
|
build_args: SERVICE_CMD=uvicorn services.api.app:app --host 0.0.0.0 --port 8000
|
||||||
backend_options:
|
backend_options:
|
||||||
kubernetes:
|
kubernetes:
|
||||||
resources:
|
resources:
|
||||||
@@ -129,7 +114,7 @@ steps:
|
|||||||
limits:
|
limits:
|
||||||
memory: 2Gi
|
memory: 2Gi
|
||||||
cpu: 4000m
|
cpu: 4000m
|
||||||
|
depends_on: []
|
||||||
build-trading-engine:
|
build-trading-engine:
|
||||||
image: woodpeckerci/plugin-docker-buildx
|
image: woodpeckerci/plugin-docker-buildx
|
||||||
privileged: true
|
privileged: true
|
||||||
@@ -138,12 +123,8 @@ steps:
|
|||||||
registry: registry.celestium.life
|
registry: registry.celestium.life
|
||||||
custom_dns: 192.168.42.1
|
custom_dns: 192.168.42.1
|
||||||
buildx_flags: --driver-opt network=host
|
buildx_flags: --driver-opt network=host
|
||||||
buildkitd_config: |
|
buildkitd_config: "[registry.\"docker.io\"]\n mirrors = [\"registry.celestium.life/v2/dockerhub-cache\"]\n[registry.\"ghcr.io\"]\n mirrors = [\"registry.celestium.life/v2/ghcr-cache\"]\n"
|
||||||
[registry."docker.io"]
|
no_proxy: 10.0.0.0/8,192.168.0.0/16,127.0.0.1,localhost,.local,.celestium.life
|
||||||
mirrors = ["registry.celestium.life/v2/dockerhub-cache"]
|
|
||||||
[registry."ghcr.io"]
|
|
||||||
mirrors = ["registry.celestium.life/v2/ghcr-cache"]
|
|
||||||
no_proxy: "10.0.0.0/8,192.168.0.0/16,127.0.0.1,localhost,.local,.celestium.life"
|
|
||||||
logins:
|
logins:
|
||||||
- registry: https://registry.celestium.life
|
- registry: https://registry.celestium.life
|
||||||
username:
|
username:
|
||||||
@@ -160,7 +141,7 @@ steps:
|
|||||||
- latest
|
- latest
|
||||||
dockerfile: docker/Dockerfile
|
dockerfile: docker/Dockerfile
|
||||||
context: .
|
context: .
|
||||||
build_args: "SERVICE_CMD=uvicorn services.trading.app:app --host 0.0.0.0 --port 8000"
|
build_args: SERVICE_CMD=uvicorn services.trading.app:app --host 0.0.0.0 --port 8000
|
||||||
backend_options:
|
backend_options:
|
||||||
kubernetes:
|
kubernetes:
|
||||||
resources:
|
resources:
|
||||||
@@ -170,7 +151,7 @@ steps:
|
|||||||
limits:
|
limits:
|
||||||
memory: 2Gi
|
memory: 2Gi
|
||||||
cpu: 4000m
|
cpu: 4000m
|
||||||
|
depends_on: []
|
||||||
build-dashboard:
|
build-dashboard:
|
||||||
image: woodpeckerci/plugin-docker-buildx
|
image: woodpeckerci/plugin-docker-buildx
|
||||||
privileged: true
|
privileged: true
|
||||||
@@ -179,12 +160,8 @@ steps:
|
|||||||
registry: registry.celestium.life
|
registry: registry.celestium.life
|
||||||
custom_dns: 192.168.42.1
|
custom_dns: 192.168.42.1
|
||||||
buildx_flags: --driver-opt network=host
|
buildx_flags: --driver-opt network=host
|
||||||
buildkitd_config: |
|
buildkitd_config: "[registry.\"docker.io\"]\n mirrors = [\"registry.celestium.life/v2/dockerhub-cache\"]\n[registry.\"ghcr.io\"]\n mirrors = [\"registry.celestium.life/v2/ghcr-cache\"]\n"
|
||||||
[registry."docker.io"]
|
no_proxy: 10.0.0.0/8,192.168.0.0/16,127.0.0.1,localhost,.local,.celestium.life
|
||||||
mirrors = ["registry.celestium.life/v2/dockerhub-cache"]
|
|
||||||
[registry."ghcr.io"]
|
|
||||||
mirrors = ["registry.celestium.life/v2/ghcr-cache"]
|
|
||||||
no_proxy: "10.0.0.0/8,192.168.0.0/16,127.0.0.1,localhost,.local,.celestium.life"
|
|
||||||
logins:
|
logins:
|
||||||
- registry: https://registry.celestium.life
|
- registry: https://registry.celestium.life
|
||||||
username:
|
username:
|
||||||
@@ -211,7 +188,7 @@ steps:
|
|||||||
limits:
|
limits:
|
||||||
memory: 2Gi
|
memory: 2Gi
|
||||||
cpu: 4000m
|
cpu: 4000m
|
||||||
|
depends_on: []
|
||||||
build-superset:
|
build-superset:
|
||||||
image: woodpeckerci/plugin-docker-buildx
|
image: woodpeckerci/plugin-docker-buildx
|
||||||
privileged: true
|
privileged: true
|
||||||
@@ -220,12 +197,8 @@ steps:
|
|||||||
registry: registry.celestium.life
|
registry: registry.celestium.life
|
||||||
custom_dns: 192.168.42.1
|
custom_dns: 192.168.42.1
|
||||||
buildx_flags: --driver-opt network=host
|
buildx_flags: --driver-opt network=host
|
||||||
buildkitd_config: |
|
buildkitd_config: "[registry.\"docker.io\"]\n mirrors = [\"registry.celestium.life/v2/dockerhub-cache\"]\n[registry.\"ghcr.io\"]\n mirrors = [\"registry.celestium.life/v2/ghcr-cache\"]\n"
|
||||||
[registry."docker.io"]
|
no_proxy: 10.0.0.0/8,192.168.0.0/16,127.0.0.1,localhost,.local,.celestium.life
|
||||||
mirrors = ["registry.celestium.life/v2/dockerhub-cache"]
|
|
||||||
[registry."ghcr.io"]
|
|
||||||
mirrors = ["registry.celestium.life/v2/ghcr-cache"]
|
|
||||||
no_proxy: "10.0.0.0/8,192.168.0.0/16,127.0.0.1,localhost,.local,.celestium.life"
|
|
||||||
logins:
|
logins:
|
||||||
- registry: https://registry.celestium.life
|
- registry: https://registry.celestium.life
|
||||||
username:
|
username:
|
||||||
@@ -251,3 +224,4 @@ steps:
|
|||||||
limits:
|
limits:
|
||||||
memory: 2Gi
|
memory: 2Gi
|
||||||
cpu: 4000m
|
cpu: 4000m
|
||||||
|
depends_on: []
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
# Workflow 1: Lint and tests (node A)
|
|
||||||
when:
|
when:
|
||||||
event: [push, pull_request]
|
event:
|
||||||
|
- push
|
||||||
|
- pull_request
|
||||||
steps:
|
steps:
|
||||||
lint-python:
|
lint-python:
|
||||||
image: registry.celestium.life/dockerhub-cache/library/python:3.12-slim
|
image: registry.celestium.life/dockerhub-cache/library/python:3.12-slim
|
||||||
@@ -18,7 +18,7 @@ steps:
|
|||||||
limits:
|
limits:
|
||||||
memory: 512Mi
|
memory: 512Mi
|
||||||
cpu: 1000m
|
cpu: 1000m
|
||||||
|
depends_on: []
|
||||||
test-python:
|
test-python:
|
||||||
image: registry.celestium.life/dockerhub-cache/library/python:3.12-slim
|
image: registry.celestium.life/dockerhub-cache/library/python:3.12-slim
|
||||||
commands:
|
commands:
|
||||||
@@ -34,7 +34,7 @@ steps:
|
|||||||
limits:
|
limits:
|
||||||
memory: 1Gi
|
memory: 1Gi
|
||||||
cpu: 2000m
|
cpu: 2000m
|
||||||
|
depends_on: []
|
||||||
test-frontend:
|
test-frontend:
|
||||||
image: registry.celestium.life/dockerhub-cache/library/node:24-slim
|
image: registry.celestium.life/dockerhub-cache/library/node:24-slim
|
||||||
commands:
|
commands:
|
||||||
@@ -50,3 +50,4 @@ steps:
|
|||||||
limits:
|
limits:
|
||||||
memory: 1Gi
|
memory: 1Gi
|
||||||
cpu: 2000m
|
cpu: 2000m
|
||||||
|
depends_on: []
|
||||||
|
|||||||
Reference in New Issue
Block a user