fix: add CACHE_BUST ARG to Dockerfile + build args to force fresh COPY layers per commit
ci/woodpecker/push/test Pipeline was successful
ci/woodpecker/push/build-1 Pipeline was successful
ci/woodpecker/push/build-2 Pipeline was successful
ci/woodpecker/push/build-3 Pipeline was successful
ci/woodpecker/push/finalize Pipeline was successful
Build and Push / lint-and-test (push) Has been cancelled
Build and Push / build-services (map[cmd:python -m services.adapters.broker_adapter name:broker-adapter]) (push) Has been cancelled
Build and Push / build-services (map[cmd:python -m services.aggregation.worker name:aggregation]) (push) Has been cancelled
Build and Push / build-services (map[cmd:python -m services.extractor.worker name:extractor]) (push) Has been cancelled
Build and Push / build-services (map[cmd:python -m services.ingestion.worker name:ingestion]) (push) Has been cancelled
Build and Push / build-services (map[cmd:python -m services.lake_publisher.worker name:lake-publisher]) (push) Has been cancelled
Build and Push / build-services (map[cmd:python -m services.parser.worker name:parser]) (push) Has been cancelled
Build and Push / build-services (map[cmd:python -m services.recommendation.worker name:recommendation]) (push) Has been cancelled
Build and Push / build-services (map[cmd:python -m services.scheduler.app name:scheduler]) (push) Has been cancelled
Build and Push / build-services (map[cmd:uvicorn services.api.app:app --host 0.0.0.0 --port 8000 name:query-api]) (push) Has been cancelled
Build and Push / build-services (map[cmd:uvicorn services.risk.app:app --host 0.0.0.0 --port 8000 name:risk]) (push) Has been cancelled
Build and Push / build-services (map[cmd:uvicorn services.symbol_registry.app:app --host 0.0.0.0 --port 8000 name:symbol-registry]) (push) Has been cancelled
Build and Push / build-services (map[cmd:uvicorn services.trading.app:app --host 0.0.0.0 --port 8000 name:trading-engine]) (push) Has been cancelled
Build and Push / build-dashboard (push) Has been cancelled
Build and Push / build-superset (push) Has been cancelled
Build and Push / integration-test (push) Has been cancelled
Build and Push / beta-gate (push) Has been cancelled

This commit is contained in:
Celes Renata
2026-05-01 23:23:49 +00:00
parent 139fbd6342
commit 3a8c6f6c80
4 changed files with 34 additions and 11 deletions
+9 -3
View File
@@ -65,7 +65,9 @@ steps:
dockerfile: docker/Dockerfile
no_cache: true
context: .
build_args: SERVICE_CMD=uvicorn services.symbol_registry.app:app --host 0.0.0.0 --port 8000
build_args:
- CACHE_BUST=${CI_COMMIT_SHA}
- SERVICE_CMD=uvicorn services.symbol_registry.app:app --host 0.0.0.0 --port 8000
backend_options:
kubernetes:
resources:
@@ -102,7 +104,9 @@ steps:
dockerfile: docker/Dockerfile
no_cache: true
context: .
build_args: SERVICE_CMD=python -m services.ingestion.worker
build_args:
- CACHE_BUST=${CI_COMMIT_SHA}
- SERVICE_CMD=python -m services.ingestion.worker
backend_options:
kubernetes:
resources:
@@ -139,7 +143,9 @@ steps:
dockerfile: docker/Dockerfile
no_cache: true
context: .
build_args: SERVICE_CMD=python -m services.parser.worker
build_args:
- CACHE_BUST=${CI_COMMIT_SHA}
- SERVICE_CMD=python -m services.parser.worker
backend_options:
kubernetes:
resources:
+12 -4
View File
@@ -30,7 +30,9 @@ steps:
dockerfile: docker/Dockerfile
no_cache: true
context: .
build_args: SERVICE_CMD=python -m services.extractor.worker
build_args:
- CACHE_BUST=${CI_COMMIT_SHA}
- SERVICE_CMD=python -m services.extractor.worker
backend_options:
kubernetes:
resources:
@@ -67,7 +69,9 @@ steps:
dockerfile: docker/Dockerfile
no_cache: true
context: .
build_args: SERVICE_CMD=python -m services.aggregation.worker
build_args:
- CACHE_BUST=${CI_COMMIT_SHA}
- SERVICE_CMD=python -m services.aggregation.worker
backend_options:
kubernetes:
resources:
@@ -104,7 +108,9 @@ steps:
dockerfile: docker/Dockerfile
no_cache: true
context: .
build_args: SERVICE_CMD=python -m services.recommendation.worker
build_args:
- CACHE_BUST=${CI_COMMIT_SHA}
- SERVICE_CMD=python -m services.recommendation.worker
backend_options:
kubernetes:
resources:
@@ -141,7 +147,9 @@ steps:
dockerfile: docker/Dockerfile
no_cache: true
context: .
build_args: SERVICE_CMD=uvicorn services.risk.app:app --host 0.0.0.0 --port 8000
build_args:
- CACHE_BUST=${CI_COMMIT_SHA}
- SERVICE_CMD=uvicorn services.risk.app:app --host 0.0.0.0 --port 8000
backend_options:
kubernetes:
resources:
+12 -4
View File
@@ -30,7 +30,9 @@ steps:
dockerfile: docker/Dockerfile
no_cache: true
context: .
build_args: SERVICE_CMD=python -m services.adapters.broker_adapter
build_args:
- CACHE_BUST=${CI_COMMIT_SHA}
- SERVICE_CMD=python -m services.adapters.broker_adapter
backend_options:
kubernetes:
resources:
@@ -67,7 +69,9 @@ steps:
dockerfile: docker/Dockerfile
no_cache: true
context: .
build_args: SERVICE_CMD=python -m services.lake_publisher.worker
build_args:
- CACHE_BUST=${CI_COMMIT_SHA}
- SERVICE_CMD=python -m services.lake_publisher.worker
backend_options:
kubernetes:
resources:
@@ -104,7 +108,9 @@ steps:
dockerfile: docker/Dockerfile
no_cache: true
context: .
build_args: SERVICE_CMD=uvicorn services.api.app:app --host 0.0.0.0 --port 8000
build_args:
- CACHE_BUST=${CI_COMMIT_SHA}
- SERVICE_CMD=uvicorn services.api.app:app --host 0.0.0.0 --port 8000
backend_options:
kubernetes:
resources:
@@ -141,7 +147,9 @@ steps:
dockerfile: docker/Dockerfile
no_cache: true
context: .
build_args: SERVICE_CMD=uvicorn services.trading.app:app --host 0.0.0.0 --port 8000
build_args:
- CACHE_BUST=${CI_COMMIT_SHA}
- SERVICE_CMD=uvicorn services.trading.app:app --host 0.0.0.0 --port 8000
backend_options:
kubernetes:
resources:
+1
View File
@@ -16,6 +16,7 @@ WORKDIR /app
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
ARG CACHE_BUST
COPY services/ /app/services/
COPY scripts/ /app/scripts/
COPY tests/ /app/tests/