Skip to content

Commit

Permalink
Revert to helm release pipeline upload (#7045)
Browse files Browse the repository at this point in the history
Since it's not possible to pass the entire build context (like the BUILDKITE_TAG, and it doesn't really make sense to pass the BUILDKITE_SOURCE) when triggering a pipeline, this commit reverts to uploading the helm release pipeline, which is entirely possible here, since both pipelines are in the same repository.

The decision to use the trigger step was made thinking it was the right way to reuse pipeline steps from another, ultimately it depends™.
  • Loading branch information
thbkrkr authored Jul 20, 2023
1 parent d2e915f commit b3d81aa
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions .buildkite/pipeline-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,6 @@ steps:
if: | # merge-main or tags
( build.branch == "main" && build.source != "schedule" )
|| build.tag != null
trigger: cloud-on-k8s-operator-helm-release
build:
message: "${BUILDKITE_MESSAGE}"
commit: "${BUILDKITE_COMMIT}"
branch: "${BUILDKITE_BRANCH}"
env:
HELM_DRY_RUN: false
command: buildkite-agent pipeline upload .buildkite/pipeline-release-helm.yml
env:
HELM_DRY_RUN: false

0 comments on commit b3d81aa

Please sign in to comment.