feat(apim-apps): first commit
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
variables:
|
||||
MANIFEST: apps.yaml
|
||||
CONFIG: config.json
|
||||
UV_CACHE_DIR: .uv-cache
|
||||
|
||||
# ── Base templates ────────────────────────────────────────────────────────────
|
||||
|
||||
.uv-base:
|
||||
image: ghcr.io/astral-sh/uv:python3.13-alpine
|
||||
cache:
|
||||
key: uv-${CI_COMMIT_REF_SLUG}
|
||||
paths:
|
||||
- ${UV_CACHE_DIR}/
|
||||
before_script:
|
||||
- uv sync --frozen
|
||||
|
||||
.dry-run-base:
|
||||
extends: .uv-base
|
||||
stage: dry-run
|
||||
script:
|
||||
- uv run python apim_apps.py --dry-run --env "$APIM_ENV"
|
||||
|
||||
.apply-base:
|
||||
extends: .uv-base
|
||||
stage: apply
|
||||
script:
|
||||
- uv run python apim_apps.py --env "$APIM_ENV"
|
||||
Reference in New Issue
Block a user