Skip to content

Commit

Permalink
[gitlab] trigger operator release candidate workflow (#1446)
Browse files Browse the repository at this point in the history
* test deploy flow

* fix workflow

* cleanup
  • Loading branch information
celenechang authored Oct 9, 2024
1 parent 582f311 commit 5b810a7
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -509,3 +509,28 @@ publish_nightly_workflow:
TARGET_ENV: $TARGET_ENV
CONDUCTOR_TARGET: $CONDUCTOR_TARGET
DDR_WORKFLOW_ID: $DDR_WORKFLOW_ID

# On success, this will cause CNAB to trigger a Deployment to Release Candidate clusters
publish_release_candidate_workflow:
stage: deploy
rules:
- if: '$CI_COMMIT_BRANCH == "main" && $CI_COMMIT_TAG'
when: manual # TODO: change this to on_success when feeling confident
- when: never
needs:
- trigger_internal_operator_image
- trigger_internal_operator_check_image
trigger:
project: DataDog/k8s-datadog-agent-ops
branch: main
strategy: depend
forward:
pipeline_variables: true
variables:
OPERATOR_RC: "true"
SKIP_PLAN_CHECK: "true"
ENVIRONMENTS: "experimental"
CHART: "datadog-operator"
OPTION_AUTOMATIC_ROLLOUT: "true"
EXPLICIT_WORKFLOWS: "//workflows:deploy_operator_rc.operator_rc"
OPERATOR_IMAGE_TAG: $CI_COMMIT_REF_SLUG

0 comments on commit 5b810a7

Please sign in to comment.