Skip to content

Commit 781c608

Browse files
committed
ci: gh-actions prerelease checks
Release please prerelease checks fixes. Pin build image. Signed-off-by: Serge Logvinov <[email protected]>
1 parent 76d2fe4 commit 781c608

File tree

10 files changed

+17
-17
lines changed

10 files changed

+17
-17
lines changed

.github/workflows/build-edge.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
build-publish:
1616
name: "Build image and publish"
1717
timeout-minutes: 15
18-
runs-on: ubuntu-latest
18+
runs-on: ubuntu-24.04
1919
permissions:
2020
contents: read
2121
packages: write

.github/workflows/build-test.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
build:
1616
name: Build
1717
timeout-minutes: 15
18-
runs-on: ubuntu-latest
18+
runs-on: ubuntu-24.04
1919
if: github.event.pull_request.draft == false
2020
permissions:
2121
contents: read

.github/workflows/charts.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
helm-lint:
1212
name: Helm chart check
1313
timeout-minutes: 5
14-
runs-on: ubuntu-latest
14+
runs-on: ubuntu-24.04
1515
steps:
1616
- name: Checkout
1717
uses: actions/checkout@v4

.github/workflows/conform.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
conform:
1010
name: Conformance
1111
timeout-minutes: 5
12-
runs-on: ubuntu-latest
12+
runs-on: ubuntu-24.04
1313
if: github.event.pull_request.draft == false
1414
steps:
1515
- name: Checkout
@@ -22,3 +22,5 @@ jobs:
2222

2323
- name: Conform action
2424
uses: talos-systems/[email protected]
25+
with:
26+
token: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/release-charts.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
build-publish:
1212
name: "Publish helm chart"
1313
timeout-minutes: 10
14-
runs-on: ubuntu-latest
14+
runs-on: ubuntu-24.04
1515
permissions:
1616
contents: read
1717
packages: write

.github/workflows/release-please.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on:
88

99
jobs:
1010
release-please:
11-
runs-on: ubuntu-latest
11+
runs-on: ubuntu-24.04
1212
permissions:
1313
contents: write
1414
pull-requests: write

.github/workflows/release-pre.yaml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
build-publish:
1010
name: "Check release docs"
1111
timeout-minutes: 15
12-
runs-on: ubuntu-latest
12+
runs-on: ubuntu-24.04
1313
if: startsWith(github.head_ref, 'release-')
1414
permissions:
1515
contents: read
@@ -21,10 +21,8 @@ jobs:
2121
run: git fetch --prune --unshallow
2222

2323
- name: Release version
24-
shell: bash
25-
id: release
26-
run: |
27-
echo "TAG=v${GITHUB_HEAD_REF:8}" >> "$GITHUB_ENV"
24+
if: startsWith(github.head_ref, 'release-please')
25+
run: jq -r '"TAG=v"+.[]' hack/release-please-manifest.json >> "$GITHUB_ENV"
2826

2927
- name: Helm docs
3028
uses: gabe565/setup-helm-docs-action@v1
@@ -39,7 +37,7 @@ jobs:
3937
build-publish-cli:
4038
name: "Check cli tool"
4139
timeout-minutes: 15
42-
runs-on: ubuntu-latest
40+
runs-on: ubuntu-24.04
4341
if: startsWith(github.head_ref, 'release-')
4442
steps:
4543
- name: Checkout

.github/workflows/release.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
build-publish:
1111
name: "Build image and publish"
1212
timeout-minutes: 15
13-
runs-on: ubuntu-latest
13+
runs-on: ubuntu-24.04
1414
permissions:
1515
contents: read
1616
packages: write
@@ -61,7 +61,7 @@ jobs:
6161
build-publish-cli:
6262
name: "Publish cli tool"
6363
timeout-minutes: 15
64-
runs-on: ubuntu-latest
64+
runs-on: ubuntu-24.04
6565
permissions:
6666
contents: write
6767
steps:

.github/workflows/stale.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77
jobs:
88
stale:
99
name: Check stale issues
10-
runs-on: ubuntu-latest
10+
runs-on: ubuntu-24.04
1111
permissions:
1212
issues: write
1313
pull-requests: write

docs/release.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
# Make release
22

33
```shell
4-
git pull release-please--branches--main
4+
git branch -D release-please--branches--main
5+
git checkout release-please--branches--main
56
git tag v0.0.2
67

78
make helm-unit docs
8-
make release-update
99

1010
git add .
1111
git commit

0 commit comments

Comments
 (0)