swap helm charts call to GHA - TEST

This commit is contained in:
Claire 2023-02-03 17:02:57 -06:00
parent a833d6e212
commit 08c27753d1

View file

@ -32,11 +32,11 @@ jobs:
- run: - run:
name: update helm-charts index name: update helm-charts index
environment: # environment:
RELEASE_TAG: << pipeline.parameters.release-tag >> # RELEASE_TAG: << pipeline.parameters.release-tag >>
command: | command: |
export GITHUB_TOKEN="${HELM_CHARTS_GITHUB_TOKEN}" export GITHUB_TOKEN="${HELM_CHARTS_GITHUB_TOKEN}"
gh workflow run .github/workflows/publish-charts.yml \ ./bin/gh workflow run .github/workflows/publish-charts.yml \
--repo hashicorp/helm-charts \ --repo hashicorp/helm-charts \
--ref templates_default_test \ --ref templates_default_test \
-f SOURCE_TAG="${CIRCLE_TAG}" \ -f SOURCE_TAG="${CIRCLE_TAG}" \
@ -45,11 +45,11 @@ jobs:
# fail_only: true # fail_only: true
# failure_message: "Failed to trigger an update to the helm charts index. Check the logs at: ${CIRCLE_BUILD_URL}" # failure_message: "Failed to trigger an update to the helm charts index. Check the logs at: ${CIRCLE_BUILD_URL}"
parameters: # parameters:
release-tag: # release-tag:
type: string # type: string
default: "" # default: ""
description: "The tag to release, including v, e.g. v0.22.1" # description: "The tag to release, including v, e.g. v0.22.1"
workflows: workflows:
version: 2 version: 2