-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #19 from stakater/workflow
Switch PR workflow to pull_request
- Loading branch information
Showing
2 changed files
with
11 additions
and
51 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
name: Push | ||
|
||
concurrency: | ||
concurrency: | ||
group: push_on_master | ||
cancel-in-progress: false | ||
|
||
|
@@ -9,7 +9,7 @@ on: | |
branches: | ||
- main | ||
paths-ignore: | ||
- 'README.md' | ||
- 'README.md' | ||
|
||
env: | ||
CHART_NAME: "rabbitmq-observability" | ||
|
@@ -19,9 +19,7 @@ jobs: | |
name: Build | ||
if: "! contains(toJSON(github.event.commits.*.message), '[skip-ci]')" | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
|
||
- name: Check out code | ||
uses: actions/checkout@v2 | ||
with: | ||
|
@@ -56,10 +54,6 @@ jobs: | |
run: | | ||
helm lint ${CHART_NAME} | ||
# Dry run to ensure that manifests are generated successfully | ||
#- name: Dry Run Chart | ||
# run: | | ||
# helm install ${CHART_NAME} ${CHART_NAME} -f ${CHART_NAME}/values.yaml -n stakater-chart-pipeline-test --dry-run --debug | ||
# Publish helm chart | ||
- name: Publish Helm chart | ||
uses: stefanprodan/helm-gh-pages@master | ||
|
@@ -71,7 +65,7 @@ jobs: | |
charts_dir: . | ||
charts_url: https://stakater.github.io/stakater-charts | ||
owner: stakater | ||
linting: off | ||
linting: off | ||
commit_username: stakater-user | ||
commit_email: [email protected] | ||
|
||
|
@@ -80,9 +74,9 @@ jobs: | |
run: | | ||
git config --local user.email "[email protected]" | ||
git config --local user.name "stakater-user" | ||
git status | ||
git status | ||
git add rabbitmq-observability/Chart.yaml | ||
git commit -m "[skip-ci] Update artifacts" | ||
git commit -m "[skip-ci] Update artifacts" | ||
# Push Chart.yaml with Updated Version | ||
- name: Push changes | ||
|
@@ -117,7 +111,7 @@ jobs: | |
fi | ||
done | ||
fi | ||
- name: Push Latest Tag | ||
uses: anothrNick/[email protected] | ||
env: | ||
|
@@ -133,4 +127,4 @@ jobs: | |
fields: repo,author,action,eventName,ref,workflow | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.STAKATER_GITHUB_TOKEN }} | ||
SLACK_WEBHOOK_URL: ${{ secrets.STAKATER_DELIVERY_SLACK_WEBHOOK }} | ||
SLACK_WEBHOOK_URL: ${{ secrets.STAKATER_DELIVERY_SLACK_WEBHOOK }} |