Skip to content

Commit

Permalink
chore: add main-merge workflow to the notify-on-failure workflow (#…
Browse files Browse the repository at this point in the history
…118)

* notify on failure for main merge

* also fix release notes

---------

Co-authored-by: jamie zieziula <[email protected]>
  • Loading branch information
jamiezieziula and jamie zieziula authored Oct 16, 2024
1 parent 7078113 commit 182ec6e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/helm-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -96,12 +96,12 @@ jobs:
mkdir -p /tmp/chart
cd deploy/charts
# Update the operator version tag in values.yaml
sed -i "s/tag:.*$/tag: $IMAGE_VERSION/g" prefect-operator/values.yaml
sed -i "s/tag:.*$/tag: $OPERATOR_VERSION/g" prefect-operator/values.yaml
helm package prefect-operator \
--destination /tmp/chart \
--dependency-update \
--version $RELEASE_VERSION \
--app-version v$IMAGE_VERSION \
--app-version v$OPERATOR_VERSION \
--sign --key '[email protected]' \
--keyring $SIGN_KEYRING \
--passphrase-file $SIGN_PASSPHRASE_FILE
Expand All @@ -126,7 +126,7 @@ jobs:
--title $RELEASE_VERSION \
--latest=false \
--notes "Packaged with prefect-operator version \
[v$IMAGE_VERSION](https://github.com/PrefectHQ/prefect-operator/releases/tag/v$IMAGE_VERSION)"
[v$OPERATOR_VERSION](https://github.com/PrefectHQ/prefect-operator/releases/tag/v$OPERATOR_VERSION)"
env:
GH_TOKEN: ${{ github.token }}

Expand Down
1 change: 1 addition & 0 deletions .github/workflows/notify-on-failure.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ name: Notify on Failure
"on":
workflow_run:
workflows:
- Build and Push Images on Merge to Main
- Build and Push Images on Tags
- Release Prefect Operator Helm Chart
- Updatecli Dependency Updates
Expand Down

0 comments on commit 182ec6e

Please sign in to comment.