Skip to content

Commit 8d7036d

Browse files
committed
feat: rekres and update for Talos 1.11
Update dependencies and rekres for Talos 1.11. Signed-off-by: Andrey Smirnov <[email protected]>
1 parent 935cc56 commit 8d7036d

File tree

13 files changed

+274
-136
lines changed

13 files changed

+274
-136
lines changed

.github/workflows/ci.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
# THIS FILE WAS AUTOMATICALLY GENERATED, PLEASE DO NOT EDIT.
22
#
3-
# Generated on 2024-09-10T13:25:06Z by kres 8be5fa7.
3+
# Generated on 2025-08-12T17:37:44Z by kres 79636f7.
44

5-
name: default
65
concurrency:
76
group: ${{ github.head_ref || github.run_id }}
87
cancel-in-progress: true
@@ -17,6 +16,7 @@ concurrency:
1716
branches:
1817
- main
1918
- release-*
19+
name: default
2020
jobs:
2121
default:
2222
permissions:
@@ -32,7 +32,7 @@ jobs:
3232
steps:
3333
- name: gather-system-info
3434
id: system-info
35-
uses: kenchan0130/[email protected].0
35+
uses: kenchan0130/[email protected].1
3636
continue-on-error: true
3737
- name: print-system-info
3838
run: |

.github/workflows/lock.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# THIS FILE WAS AUTOMATICALLY GENERATED, PLEASE DO NOT EDIT.
2+
#
3+
# Generated on 2025-08-12T17:37:44Z by kres 79636f7.
4+
5+
"on":
6+
schedule:
7+
- cron: 0 2 * * *
8+
name: Lock old issues
9+
permissions:
10+
issues: write
11+
jobs:
12+
action:
13+
runs-on:
14+
- ubuntu-latest
15+
steps:
16+
- name: Lock old issues
17+
uses: dessant/[email protected]
18+
with:
19+
issue-inactive-days: "60"
20+
log-output: "true"
21+
process-only: issues
Lines changed: 89 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,89 @@
1+
# THIS FILE WAS AUTOMATICALLY GENERATED, PLEASE DO NOT EDIT.
2+
#
3+
# Generated on 2025-08-12T17:37:44Z by kres 79636f7.
4+
5+
"on":
6+
workflow_run:
7+
workflows:
8+
- default
9+
types:
10+
- completed
11+
branches:
12+
- main
13+
name: slack-notify-failure
14+
jobs:
15+
slack-notify:
16+
runs-on:
17+
- self-hosted
18+
- generic
19+
if: github.event.workflow_run.conclusion == 'failure' && github.event.workflow_run.event != 'pull_request'
20+
steps:
21+
- name: Slack Notify
22+
uses: slackapi/slack-github-action@v2
23+
with:
24+
method: chat.postMessage
25+
payload: |
26+
{
27+
"channel": "ci-failure",
28+
"text": "${{ github.event.workflow_run.conclusion }} - ${{ github.repository }}",
29+
"icon_emoji": "${{ github.event.workflow_run.conclusion == 'success' && ':white_check_mark:' || github.event.workflow_run.conclusion == 'failure' && ':x:' || ':warning:' }}",
30+
"username": "GitHub Actions",
31+
"attachments": [
32+
{
33+
"blocks": [
34+
{
35+
"fields": [
36+
{
37+
"text": "${{ github.event.workflow_run.event == 'pull_request' && format('*Pull Request:* {0} (`{1}`)\n<{2}/pull/{3}|{4}>', github.repository, github.ref_name, github.event.repository.html_url, steps.get-pr-number.outputs.pull_request_number, github.event.workflow_run.display_title) || format('*Build:* {0} (`{1}`)\n<{2}/commit/{3}|{4}>', github.repository, github.ref_name, github.event.repository.html_url, github.sha, github.event.workflow_run.display_title) }}",
38+
"type": "mrkdwn"
39+
},
40+
{
41+
"text": "*Status:*\n`${{ github.event.workflow_run.conclusion }}`",
42+
"type": "mrkdwn"
43+
}
44+
],
45+
"type": "section"
46+
},
47+
{
48+
"fields": [
49+
{
50+
"text": "*Author:*\n`${{ github.actor }}`",
51+
"type": "mrkdwn"
52+
},
53+
{
54+
"text": "*Event:*\n`${{ github.event.workflow_run.event }}`",
55+
"type": "mrkdwn"
56+
}
57+
],
58+
"type": "section"
59+
},
60+
{
61+
"type": "divider"
62+
},
63+
{
64+
"elements": [
65+
{
66+
"text": {
67+
"text": "Logs",
68+
"type": "plain_text"
69+
},
70+
"type": "button",
71+
"url": "${{ github.event.workflow_run.html_url }}"
72+
},
73+
{
74+
"text": {
75+
"text": "Commit",
76+
"type": "plain_text"
77+
},
78+
"type": "button",
79+
"url": "${{ github.event.repository.html_url }}/commit/${{ github.sha }}"
80+
}
81+
],
82+
"type": "actions"
83+
}
84+
],
85+
"color": "${{ github.event.workflow_run.conclusion == 'success' && '#2EB886' || github.event.workflow_run.conclusion == 'failure' && '#A30002' || '#FFCC00' }}"
86+
}
87+
]
88+
}
89+
token: ${{ secrets.SLACK_BOT_TOKEN_V2 }}
Lines changed: 29 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
# THIS FILE WAS AUTOMATICALLY GENERATED, PLEASE DO NOT EDIT.
22
#
3-
# Generated on 2024-12-04T11:31:51Z by kres 232fe63.
3+
# Generated on 2025-08-12T17:37:44Z by kres 79636f7.
44

5-
name: slack-notify
65
"on":
76
workflow_run:
87
workflows:
98
- default
109
types:
1110
- completed
11+
name: slack-notify
1212
jobs:
1313
slack-notify:
1414
runs-on:
@@ -29,64 +29,66 @@ jobs:
2929
method: chat.postMessage
3030
payload: |
3131
{
32-
"channel": "proj-talos-maintainers",
32+
"channel": "ci-all",
33+
"text": "${{ github.event.workflow_run.conclusion }} - ${{ github.repository }}",
34+
"icon_emoji": "${{ github.event.workflow_run.conclusion == 'success' && ':white_check_mark:' || github.event.workflow_run.conclusion == 'failure' && ':x:' || ':warning:' }}",
35+
"username": "GitHub Actions",
3336
"attachments": [
3437
{
35-
"color": "${{ github.event.workflow_run.conclusion == 'success' && '#2EB886' || github.event.workflow_run.conclusion == 'failure' && '#A30002' || '#FFCC00' }}",
36-
"fallback": "test",
3738
"blocks": [
3839
{
39-
"type": "section",
4040
"fields": [
4141
{
42-
"type": "mrkdwn",
43-
"text": "${{ github.event.workflow_run.event == 'pull_request' && format('*Pull Request:* {0} (`{1}`)\n<{2}/pull/{3}|{4}>', github.repository, github.ref_name, github.event.repository.html_url, steps.get-pr-number.outputs.pull_request_number, github.event.workflow_run.display_title) || format('*Build:* {0} (`{1}`)\n<{2}/commit/{3}|{4}>', github.repository, github.ref_name, github.event.repository.html_url, github.sha, github.event.workflow_run.display_title) }}"
42+
"text": "${{ github.event.workflow_run.event == 'pull_request' && format('*Pull Request:* {0} (`{1}`)\n<{2}/pull/{3}|{4}>', github.repository, github.ref_name, github.event.repository.html_url, steps.get-pr-number.outputs.pull_request_number, github.event.workflow_run.display_title) || format('*Build:* {0} (`{1}`)\n<{2}/commit/{3}|{4}>', github.repository, github.ref_name, github.event.repository.html_url, github.sha, github.event.workflow_run.display_title) }}",
43+
"type": "mrkdwn"
4444
},
4545
{
46-
"type": "mrkdwn",
47-
"text": "*Status:*\n`${{ github.event.workflow_run.conclusion }}`"
46+
"text": "*Status:*\n`${{ github.event.workflow_run.conclusion }}`",
47+
"type": "mrkdwn"
4848
}
49-
]
49+
],
50+
"type": "section"
5051
},
5152
{
52-
"type": "section",
5353
"fields": [
5454
{
55-
"type": "mrkdwn",
56-
"text": "*Author:*\n`${{ github.actor }}`"
55+
"text": "*Author:*\n`${{ github.actor }}`",
56+
"type": "mrkdwn"
5757
},
5858
{
59-
"type": "mrkdwn",
60-
"text": "*Event:*\n`${{ github.event.workflow_run.event }}`"
59+
"text": "*Event:*\n`${{ github.event.workflow_run.event }}`",
60+
"type": "mrkdwn"
6161
}
62-
]
62+
],
63+
"type": "section"
6364
},
6465
{
6566
"type": "divider"
6667
},
6768
{
68-
"type": "actions",
6969
"elements": [
7070
{
71-
"type": "button",
7271
"text": {
73-
"type": "plain_text",
74-
"text": "Logs"
72+
"text": "Logs",
73+
"type": "plain_text"
7574
},
75+
"type": "button",
7676
"url": "${{ github.event.workflow_run.html_url }}"
7777
},
7878
{
79-
"type": "button",
8079
"text": {
81-
"type": "plain_text",
82-
"text": "Commit"
80+
"text": "Commit",
81+
"type": "plain_text"
8382
},
83+
"type": "button",
8484
"url": "${{ github.event.repository.html_url }}/commit/${{ github.sha }}"
8585
}
86-
]
86+
],
87+
"type": "actions"
8788
}
88-
]
89+
],
90+
"color": "${{ github.event.workflow_run.conclusion == 'success' && '#2EB886' || github.event.workflow_run.conclusion == 'failure' && '#A30002' || '#FFCC00' }}"
8991
}
9092
]
9193
}
92-
token: ${{ secrets.SLACK_BOT_TOKEN }}
94+
token: ${{ secrets.SLACK_BOT_TOKEN_V2 }}

.github/workflows/stale.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# THIS FILE WAS AUTOMATICALLY GENERATED, PLEASE DO NOT EDIT.
2+
#
3+
# Generated on 2025-08-12T17:37:44Z by kres 79636f7.
4+
5+
"on":
6+
schedule:
7+
- cron: 30 1 * * *
8+
name: Close stale issues and PRs
9+
permissions:
10+
issues: write
11+
pull-requests: write
12+
jobs:
13+
stale:
14+
runs-on:
15+
- ubuntu-latest
16+
steps:
17+
- name: Close stale issues and PRs
18+
uses: actions/[email protected]
19+
with:
20+
close-issue-message: This issue was closed because it has been stalled for 7 days with no activity.
21+
days-before-issue-close: "5"
22+
days-before-issue-stale: "180"
23+
days-before-pr-close: "-1"
24+
days-before-pr-stale: "45"
25+
operations-per-run: "2000"
26+
stale-issue-message: This issue is stale because it has been open 180 days with no activity. Remove stale label or comment or this will be closed in 7 days.
27+
stale-pr-message: This PR is stale because it has been open 45 days with no activity.

.golangci.yml

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# THIS FILE WAS AUTOMATICALLY GENERATED, PLEASE DO NOT EDIT.
22
#
3-
# Generated on 2025-04-16T13:44:44Z by kres fd5cab0.
3+
# Generated on 2025-08-12T17:37:44Z by kres 79636f7.
44

55
version: "2"
66

@@ -48,6 +48,10 @@ linters:
4848
- protogetter # complains about us using Value field on typed spec, instead of GetValue which has a different signature
4949
- perfsprint # complains about us using fmt.Sprintf in non-performance critical code, updating just kres took too long
5050
- musttag # seems to be broken - goes into imported libraries and reports issues there
51+
- nolintlint # gives false positives - disable until https://github.com/golangci/golangci-lint/issues/3228 is resolved
52+
- wsl # replaced by wsl_v5
53+
- noinlineerr
54+
- embeddedstructfieldcheck # fighting in many places with fieldalignment
5155
# all available settings of specific linters
5256
settings:
5357
cyclop:
@@ -89,11 +93,10 @@ linters:
8993
simple: true
9094
range-loops: true # Report preallocation suggestions on range loops, true by default
9195
for-loops: false # Report preallocation suggestions on for loops, false by default
92-
nolintlint:
93-
allow-unused: false
94-
allow-no-explanation: [ ]
95-
require-explanation: false
96-
require-specific: true
96+
revive:
97+
rules:
98+
- name: var-naming # Complains about package names like "common"
99+
disabled: true
97100
rowserrcheck: { }
98101
testpackage: { }
99102
unparam:

Dockerfile

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
# syntax = docker/dockerfile-upstream:1.14.1-labs
1+
# syntax = docker/dockerfile-upstream:1.17.1-labs
22

33
# THIS FILE WAS AUTOMATICALLY GENERATED, PLEASE DO NOT EDIT.
44
#
5-
# Generated on 2025-04-16T13:44:44Z by kres fd5cab0.
5+
# Generated on 2025-08-12T17:37:44Z by kres 79636f7.
66

77
ARG TOOLCHAIN
88

@@ -14,9 +14,9 @@ FROM ghcr.io/siderolabs/ca-certificates:v1.10.0 AS image-ca-certificates
1414
FROM ghcr.io/siderolabs/fhs:v1.10.0 AS image-fhs
1515

1616
# runs markdownlint
17-
FROM docker.io/oven/bun:1.2.9-alpine AS lint-markdown
17+
FROM docker.io/oven/bun:1.2.18-alpine AS lint-markdown
1818
WORKDIR /src
19-
RUN bun i markdownlint-cli@0.44.0 [email protected]
19+
RUN bun i markdownlint-cli@0.45.0 [email protected]
2020
COPY .markdownlint.json .
2121
COPY ./README.md ./README.md
2222
RUN bunx markdownlint --ignore "CHANGELOG.md" --ignore "**/node_modules/**" --ignore '**/hack/chglog/**' --rules sentences-per-line .
@@ -127,13 +127,13 @@ RUN --mount=type=cache,target=/root/.cache/go-build,id=capi-utils/root/.cache/go
127127
FROM base AS unit-tests-race
128128
WORKDIR /src
129129
ARG TESTPKGS
130-
RUN --mount=type=cache,target=/root/.cache/go-build,id=capi-utils/root/.cache/go-build --mount=type=cache,target=/go/pkg,id=capi-utils/go/pkg --mount=type=cache,target=/tmp,id=capi-utils/tmp CGO_ENABLED=1 go test -v -race -count 1 ${TESTPKGS}
130+
RUN --mount=type=cache,target=/root/.cache/go-build,id=capi-utils/root/.cache/go-build --mount=type=cache,target=/go/pkg,id=capi-utils/go/pkg --mount=type=cache,target=/tmp,id=capi-utils/tmp CGO_ENABLED=1 go test -race ${TESTPKGS}
131131

132132
# runs unit-tests
133133
FROM base AS unit-tests-run
134134
WORKDIR /src
135135
ARG TESTPKGS
136-
RUN --mount=type=cache,target=/root/.cache/go-build,id=capi-utils/root/.cache/go-build --mount=type=cache,target=/go/pkg,id=capi-utils/go/pkg --mount=type=cache,target=/tmp,id=capi-utils/tmp go test -v -covermode=atomic -coverprofile=coverage.txt -coverpkg=${TESTPKGS} -count 1 ${TESTPKGS}
136+
RUN --mount=type=cache,target=/root/.cache/go-build,id=capi-utils/root/.cache/go-build --mount=type=cache,target=/go/pkg,id=capi-utils/go/pkg --mount=type=cache,target=/tmp,id=capi-utils/tmp go test -covermode=atomic -coverprofile=coverage.txt -coverpkg=${TESTPKGS} ${TESTPKGS}
137137

138138
FROM scratch AS capi-darwin-amd64
139139
COPY --from=capi-darwin-amd64-build /capi-darwin-amd64 /capi-darwin-amd64

Makefile

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# THIS FILE WAS AUTOMATICALLY GENERATED, PLEASE DO NOT EDIT.
22
#
3-
# Generated on 2025-04-16T13:44:44Z by kres fd5cab0.
3+
# Generated on 2025-08-12T17:37:44Z by kres 79636f7.
44

55
# common variables
66

@@ -19,14 +19,14 @@ USERNAME ?= siderolabs
1919
REGISTRY_AND_USERNAME ?= $(REGISTRY)/$(USERNAME)
2020
PROTOBUF_GO_VERSION ?= 1.36.6
2121
GRPC_GO_VERSION ?= 1.5.1
22-
GRPC_GATEWAY_VERSION ?= 2.26.3
22+
GRPC_GATEWAY_VERSION ?= 2.27.1
2323
VTPROTOBUF_VERSION ?= 0.6.0
24-
GOIMPORTS_VERSION ?= 0.32.0
25-
GOMOCK_VERSION ?= 0.5.1
24+
GOIMPORTS_VERSION ?= 0.34.0
25+
GOMOCK_VERSION ?= 0.5.2
2626
DEEPCOPY_VERSION ?= v0.5.6
27-
GOLANGCILINT_VERSION ?= v2.1.1
27+
GOLANGCILINT_VERSION ?= v2.2.2
2828
GOFUMPT_VERSION ?= v0.8.0
29-
GO_VERSION ?= 1.24.2
29+
GO_VERSION ?= 1.24.5
3030
GO_BUILDFLAGS ?=
3131
GO_LDFLAGS ?=
3232
CGO_ENABLED ?= 0

0 commit comments

Comments
 (0)