Skip to content

Fail fast when tagging fails #28

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 13 additions & 10 deletions .github/workflows/post-merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,18 @@ jobs:
with:
gh_token: ${{ secrets.SYS_ORCH_GITHUB }}

- name: Tag repo
env:
GITHUB_TOKEN: ${{ secrets.SYS_ORCH_GITHUB }}
run: |
set -eu -o pipefail
# Uses .chartver.yaml file to perform tagging in the repo with prefix for each umbrella folder
for dir in infra-core infra-external infra-managers infra-onboarding; do
pushd $dir
$GITHUB_WORKSPACE/ci/scripts/version-tag-param.sh "${dir}-"
popd
done

- name: Build and pack charts
run: make helm-build

Expand All @@ -56,13 +68,4 @@ jobs:
- name: Push charts
run: make helm-push

- name: Tag repo
env:
GITHUB_TOKEN: ${{ secrets.SYS_ORCH_GITHUB }}
run: |
# Uses .chartver.yaml file to perform tagging in the repo with prefix for each umbrella folder
for dir in infra-core infra-external infra-managers infra-onboarding; do
pushd $dir
$GITHUB_WORKSPACE/ci/scripts/version-tag-param.sh "${dir}-" || true
popd
done

Loading