fix(ci): add infra/** to deploy job change rules
Deploy job now triggers on infra/k8s/** and .gitlab-ci.yml changes, not just source code changes. Ensures K8s manifest updates get applied. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -1383,7 +1383,7 @@ deploy:
|
||||
- job: write-manifest
|
||||
optional: true
|
||||
rules:
|
||||
# Only deploy when source code changed (compile produced new binaries)
|
||||
# Deploy when source code or infra manifests changed
|
||||
- if: $CI_COMMIT_BRANCH == "main" && $CI_PIPELINE_SOURCE == "push"
|
||||
changes:
|
||||
- crates/**
|
||||
@@ -1391,6 +1391,8 @@ deploy:
|
||||
- services/**
|
||||
- Cargo.toml
|
||||
- Cargo.lock
|
||||
- infra/k8s/**
|
||||
- .gitlab-ci.yml
|
||||
- if: $CI_PIPELINE_SOURCE == "web" || $CI_PIPELINE_SOURCE == "api"
|
||||
before_script:
|
||||
# Install kubectl if not in image yet (removed once infra-runner is rebuilt)
|
||||
|
||||
Reference in New Issue
Block a user