Skip to content

Commit ea1073b

Browse files
committedApr 9, 2025··
Adjust weekly gh actions to run for release-1.13 branch
1 parent aef27a1 commit ea1073b

File tree

5 files changed

+14
-10
lines changed

5 files changed

+14
-10
lines changed
 

‎.github/workflows/pr-md-link-check.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@ jobs:
1515
runs-on: ubuntu-latest
1616
steps:
1717
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # tag=v4.2.2
18-
- uses: gaurav-nelson/github-action-markdown-link-check@5c5dfc0ac2e225883c0e5f03a85311ec2830d368 # tag=v1
18+
- uses: gaurav-nelson/github-action-markdown-link-check@3c3b66f1f7d0900e37b71eca45b63ea9eedfce31 # tag=1.0.17
1919
with:
2020
use-quiet-mode: 'yes'
2121
config-file: .markdownlinkcheck.json
2222
check-modified-files-only: 'yes'
23-
base-branch: main
23+
base-branch: ${{ github.base_ref }}

‎.github/workflows/weekly-md-link-check.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,13 @@ jobs:
1414
strategy:
1515
fail-fast: false
1616
matrix:
17-
branch: [ main, release-1.12, release-1.11, release-1.10]
17+
branch: [ main, release-1.13, release-1.12, release-1.11, release-1.10 ]
1818
runs-on: ubuntu-latest
1919
steps:
2020
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # tag=v4.2.2
2121
with:
2222
ref: ${{ matrix.branch }}
23-
- uses: gaurav-nelson/github-action-markdown-link-check@5c5dfc0ac2e225883c0e5f03a85311ec2830d368 # tag=v1
23+
- uses: gaurav-nelson/github-action-markdown-link-check@3c3b66f1f7d0900e37b71eca45b63ea9eedfce31 # tag=1.0.17
2424
with:
2525
use-quiet-mode: 'yes'
2626
config-file: .markdownlinkcheck.json

‎.github/workflows/weekly-security-scan.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
strategy:
1414
fail-fast: false
1515
matrix:
16-
branch: [ main, release-1.12, release-1.11, release-1.10 ]
16+
branch: [ main, release-1.13, release-1.12, release-1.11, release-1.10 ]
1717
name: Trivy
1818
runs-on: ubuntu-latest
1919
steps:

‎.github/workflows/weekly-test-release.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
strategy:
1818
fail-fast: false
1919
matrix:
20-
branch: [ main, release-1.12, release-1.11, release-1.10 ]
20+
branch: [ main, release-1.13, release-1.12, release-1.11, release-1.10 ]
2121
runs-on: ubuntu-latest
2222
steps:
2323
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # tag=v4.2.2

‎docs/release/release-tasks.md

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -96,14 +96,18 @@ From this point forward changes which should land in the release have to be cher
9696
1. Copy the `.branches.main` section in `config/jobs/kubernetes-sigs/cluster-api-provider-vsphere/cluster-api-provider-vsphere-prowjob-gen.yaml` over to a new branch specific section (e.g. `.branches.release-1.8`).
9797
2. Run `TEST_INFRA_DIR=../../k8s.io/test-infra make generate-test-infra-prowjobs` to regenerate the prowjob files.
9898
5. Verify the jobs and dashboards a day later by taking a look at [testgrid](https://testgrid.k8s.io/sig-cluster-lifecycle-cluster-api-provider-vsphere)
99-
6. Update `.github/workflows/weekly-security-scan.yaml` - to setup Trivy and govulncheck scanning - `.github/workflows/weekly-md-link-check.yaml` - to setup link checking in the CAPI book - and `.github/workflows/weekly-test-release.yaml` - to verify the release target is working - for the currently supported branches.
100-
7. Update the [PR markdown link checker](https://github.com/kubernetes-sigs/cluster-api-provider-vsphere/blob/main/.github/workflows/pr-md-link-check.yaml) accordingly (e.g. `main` -> `release-1.8`).
101-
- Prior art: [Update branch for link checker](https://github.com/kubernetes-sigs/cluster-api-provider-vsphere/pull/2242)
99+
6. Update for the currently supported branches:
100+
* `.github/workflows/weekly-security-scan.yaml`: to setup Trivy and govulncheck scanning
101+
* `.github/workflows/weekly-md-link-check.yaml`: to setup link checking in the CAPI book
102+
* `.github/workflows/weekly-test-release.yaml`: to verify the release target is working
102103

103104
After the release is cut:
104105

105106
1. Remove tests for old release branches if necessary by removing the release-branch from `cluster-api-provider-vsphere-prowjob-gen.yaml` and regenerating the prowjob files.
106-
2. Update `.github/workflows/weekly-security-scan.yaml` - to setup Trivy and govulncheck scanning - `.github/workflows/weekly-md-link-check.yaml` - to setup link checking in the CAPI book - and `.github/workflows/weekly-test-release.yaml` - to verify the release target is working - to remove the not supported release-branch.
107+
2. Update to remove the not supported release-branch:
108+
* `.github/workflows/weekly-security-scan.yaml`: to setup Trivy and govulncheck scanning
109+
* `.github/workflows/weekly-md-link-check.yaml`: to setup link checking in the CAPI book
110+
* `.github/workflows/weekly-test-release.yaml`: to verify the release target is working
107111

108112
## Cut a release
109113

0 commit comments

Comments
 (0)
Please sign in to comment.