-
Notifications
You must be signed in to change notification settings - Fork 715
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[release-v2.9] current last active branch - Validate git pages (#4430)
- Loading branch information
1 parent
4a19238
commit 54ccdf7
Showing
5 changed files
with
43 additions
and
41 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 |
---|---|---|
@@ -0,0 +1,39 @@ | ||
name: Git-Pages | ||
|
||
on: | ||
pull_request: | ||
types: [closed] | ||
branches: | ||
- release-v2.9 | ||
# This job must be run only in the last active release branch | ||
jobs: | ||
git-pages: | ||
name: Check charts.rancher.io index.yaml | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout base branch | ||
uses: actions/checkout@v4 | ||
|
||
- name: Wait for GitHub Pages update | ||
run: sleep 10 # 10 seconds to purposefully fail so we can test this action | ||
|
||
- name: Checkout PR | ||
run: gh pr checkout ${{ github.event.pull_request.number }} | ||
env: | ||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
- name: Check charts.rancher.io index.yaml | ||
run: make compare-index-files BRANCH=${{ github.event.pull_request.base.ref }} | ||
|
||
- name: Notify Slack on Failure | ||
if: failure() | ||
uses: slackapi/[email protected] | ||
with: | ||
channel-id: ${{ secrets.SLACK_CHANNEL_ID }} | ||
slack-message: | | ||
GitHub Pages integrity check failed: ${{ job.status }} | ||
Pull Request Number: ${{ github.event.pull_request.number }} | ||
Pull Request URL: ${{ github.event.pull_request.html_url }} | ||
@Nicholas Paolillo | ||
env: | ||
SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }} |
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,38 +1 @@ | ||
elemental: | ||
- 103.3.1+up1.5.4 | ||
elemental-crd: | ||
- 103.3.1+up1.5.4 | ||
fleet: | ||
- 103.1.7+up0.9.8 | ||
fleet-agent: | ||
- 103.1.7+up0.9.8 | ||
fleet-crd: | ||
- 103.1.7+up0.9.8 | ||
harvester-csi-driver: | ||
- 103.0.2+up0.1.18 | ||
rancher-aks-operator: | ||
- 103.4.0+up1.2.4 | ||
rancher-aks-operator-crd: | ||
- 103.4.0+up1.2.4 | ||
rancher-backup: | ||
- 103.0.3+up4.0.3 | ||
rancher-backup-crd: | ||
- 103.0.3+up4.0.3 | ||
rancher-eks-operator: | ||
- 103.4.0+up1.3.4 | ||
rancher-eks-operator-crd: | ||
- 103.4.0+up1.3.4 | ||
rancher-gke-operator: | ||
- 103.4.0+up1.2.4 | ||
rancher-gke-operator-crd: | ||
- 103.4.0+up1.2.4 | ||
rancher-logging: | ||
- 103.1.2+up4.4.0 | ||
rancher-logging-crd: | ||
- 103.1.2+up4.4.0 | ||
rancher-webhook: | ||
- 103.0.9+up0.4.10 | ||
rancher-cis-benchmark: | ||
- 5.3.0 | ||
rancher-cis-benchmark-crd: | ||
- 5.3.0 | ||
|
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