Skip to content

Commit a93c1e2

Browse files
committed
release(v0.5.0): prepare release
This is the official v0.5.0 release. Signed-off-by: Dmitrii Sharshakov <[email protected]>
1 parent dafc274 commit a93c1e2

File tree

13 files changed

+345
-237
lines changed

13 files changed

+345
-237
lines changed

.github/renovate.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
{
1313
"customType": "regex",
1414
"versioningTemplate": "{{#if versioning}}{{versioning}}{{else}}semver{{/if}}",
15-
"fileMatch": [
16-
"internal/pkg/constants/build.go"
15+
"managerFilePatterns": [
16+
"/internal/pkg/constants/build.go/"
1717
],
1818
"matchStrings": [
1919
"\\/\\/\\s+renovate: datasource=(?<datasource>.*?)(?:\\s+extractVersion=(?<extractVersion>.+?))?(?:\\s+versioning=(?<versioning>.+?))?\\s+depName=(?<depName>.+?)?\\s.*Image\\s+=\\s+\\\"docker.io\\/alpine:(?<currentValue>.+?)\\\""

.github/workflows/ci.yaml

Lines changed: 2 additions & 2 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 2024-12-18T18:57:15Z by kres fcff05e.
3+
# Generated on 2025-07-09T13:01:51Z by kres 1700045.
44

55
name: default
66
concurrency:
@@ -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-07-09T13:01:51Z by kres 1700045.
4+
5+
name: Lock old issues
6+
"on":
7+
schedule:
8+
- cron: 0 2 * * *
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

.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-07-09T13:01:51Z by kres 1700045.
4+
5+
name: Close stale issues and PRs
6+
"on":
7+
schedule:
8+
- cron: 30 1 * * *
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: 107 additions & 101 deletions
Original file line numberDiff line numberDiff line change
@@ -1,116 +1,32 @@
11
# THIS FILE WAS AUTOMATICALLY GENERATED, PLEASE DO NOT EDIT.
22
#
3-
# Generated on 2025-03-21T11:28:29Z by kres ec5ec04.
3+
# Generated on 2025-07-09T13:01:51Z by kres 1700045.
4+
5+
version: "2"
46

57
# options for analysis running
68
run:
7-
timeout: 10m
9+
modules-download-mode: readonly
810
issues-exit-code: 1
911
tests: true
10-
build-tags: [ ]
11-
modules-download-mode: readonly
1212

1313
# output configuration options
1414
output:
1515
formats:
16-
- format: colored-line-number
16+
text:
1717
path: stdout
18-
print-issued-lines: true
19-
print-linter-name: true
18+
print-issued-lines: true
19+
print-linter-name: true
2020
path-prefix: ""
2121

22-
# all available settings of specific linters
23-
linters-settings:
24-
dogsled:
25-
max-blank-identifiers: 2
26-
dupl:
27-
threshold: 150
28-
errcheck:
29-
check-type-assertions: true
30-
check-blank: true
31-
exhaustive:
32-
default-signifies-exhaustive: false
33-
gci:
34-
sections:
35-
- standard # Standard section: captures all standard packages.
36-
- default # Default section: contains all imports that could not be matched to another section type.
37-
- localmodule # Imports from the same module.
38-
gocognit:
39-
min-complexity: 30
40-
nestif:
41-
min-complexity: 5
42-
goconst:
43-
min-len: 3
44-
min-occurrences: 3
45-
gocritic:
46-
disabled-checks: [ ]
47-
gocyclo:
48-
min-complexity: 20
49-
godot:
50-
scope: declarations
51-
gofmt:
52-
simplify: true
53-
gomodguard: { }
54-
govet:
55-
enable-all: true
56-
lll:
57-
line-length: 200
58-
tab-width: 4
59-
misspell:
60-
locale: US
61-
ignore-words: [ ]
62-
nakedret:
63-
max-func-lines: 30
64-
prealloc:
65-
simple: true
66-
range-loops: true # Report preallocation suggestions on range loops, true by default
67-
for-loops: false # Report preallocation suggestions on for loops, false by default
68-
nolintlint:
69-
allow-unused: false
70-
allow-no-explanation: [ ]
71-
require-explanation: false
72-
require-specific: true
73-
rowserrcheck: { }
74-
testpackage: { }
75-
unparam:
76-
check-exported: false
77-
unused:
78-
local-variables-are-used: false
79-
whitespace:
80-
multi-if: false # Enforces newlines (or comments) after every multi-line if statement
81-
multi-func: false # Enforces newlines (or comments) after every multi-line function signature
82-
wsl:
83-
strict-append: true
84-
allow-assign-and-call: true
85-
allow-multiline-assign: true
86-
allow-cuddle-declarations: false
87-
allow-trailing-comment: false
88-
force-case-trailing-whitespace: 0
89-
force-err-cuddling: false
90-
allow-separated-leading-comment: false
91-
gofumpt:
92-
extra-rules: false
93-
cyclop:
94-
# the maximal code complexity to report
95-
max-complexity: 20
96-
depguard:
97-
rules:
98-
prevent_unmaintained_packages:
99-
list-mode: lax # allow unless explicitly denied
100-
files:
101-
- $all
102-
deny:
103-
- pkg: io/ioutil
104-
desc: "replaced by io and os packages since Go 1.16: https://tip.golang.org/doc/go1.16#ioutil"
10522

10623
linters:
107-
enable-all: true
108-
disable-all: false
109-
fast: false
24+
default: all
11025
disable:
11126
- exhaustruct
11227
- err113
11328
- forbidigo
29+
- funcorder
11430
- funlen
11531
- gochecknoglobals
11632
- gochecknoinits
@@ -131,19 +47,109 @@ linters:
13147
- testifylint # complains about our assert recorder and has a number of false positives for assert.Greater(t, thing, 1)
13248
- protogetter # complains about us using Value field on typed spec, instead of GetValue which has a different signature
13349
- perfsprint # complains about us using fmt.Sprintf in non-performance critical code, updating just kres took too long
134-
- goimports # same as gci
13550
- 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+
# all available settings of specific linters
53+
settings:
54+
cyclop:
55+
# the maximal code complexity to report
56+
max-complexity: 20
57+
dogsled:
58+
max-blank-identifiers: 2
59+
dupl:
60+
threshold: 150
61+
errcheck:
62+
check-type-assertions: true
63+
check-blank: true
64+
exhaustive:
65+
default-signifies-exhaustive: false
66+
gocognit:
67+
min-complexity: 30
68+
nestif:
69+
min-complexity: 5
70+
goconst:
71+
min-len: 3
72+
min-occurrences: 3
73+
gocritic:
74+
disabled-checks: [ ]
75+
gocyclo:
76+
min-complexity: 20
77+
godot:
78+
scope: declarations
79+
gomodguard: { }
80+
govet:
81+
enable-all: true
82+
lll:
83+
line-length: 200
84+
tab-width: 4
85+
misspell:
86+
locale: US
87+
nakedret:
88+
max-func-lines: 30
89+
prealloc:
90+
simple: true
91+
range-loops: true # Report preallocation suggestions on range loops, true by default
92+
for-loops: false # Report preallocation suggestions on for loops, false by default
93+
rowserrcheck: { }
94+
testpackage: { }
95+
unparam:
96+
check-exported: false
97+
unused:
98+
local-variables-are-used: false
99+
whitespace:
100+
multi-if: false # Enforces newlines (or comments) after every multi-line if statement
101+
multi-func: false # Enforces newlines (or comments) after every multi-line function signature
102+
wsl:
103+
strict-append: true
104+
allow-assign-and-call: true
105+
allow-multiline-assign: true
106+
allow-trailing-comment: false
107+
force-case-trailing-whitespace: 0
108+
allow-separated-leading-comment: false
109+
allow-cuddle-declarations: false
110+
force-err-cuddling: false
111+
depguard:
112+
rules:
113+
prevent_unmaintained_packages:
114+
list-mode: lax # allow unless explicitly denied
115+
files:
116+
- $all
117+
deny:
118+
- pkg: io/ioutil
119+
desc: "replaced by io and os packages since Go 1.16: https://tip.golang.org/doc/go1.16#ioutil"
136120

121+
exclusions:
122+
generated: lax
123+
paths:
124+
- third_party$
125+
- builtin$
126+
- examples$
137127
issues:
138-
exclude: [ ]
139-
exclude-rules: [ ]
140-
exclude-use-default: false
141-
exclude-case-sensitive: false
142128
max-issues-per-linter: 10
143129
max-same-issues: 3
144-
new: false
145130
uniq-by-line: true
131+
new: false
146132

147133
severity:
148-
default-severity: error
149-
case-sensitive: false
134+
default: error
135+
formatters:
136+
enable:
137+
- gci
138+
- gofmt
139+
- gofumpt
140+
settings:
141+
gci:
142+
sections:
143+
- standard
144+
- default
145+
- localmodule
146+
gofmt:
147+
simplify: true
148+
gofumpt:
149+
extra-rules: false
150+
exclusions:
151+
generated: lax
152+
paths:
153+
- third_party$
154+
- builtin$
155+
- examples$

.kres.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ kind: common.Renovate
105105
spec:
106106
customManagers:
107107
- customType: regex
108-
fileMatch:
108+
managerFilePatterns:
109109
- internal/pkg/constants/build.go
110110
matchStrings:
111111
- '\/\/\s+renovate: datasource=(?<datasource>.*?)(?:\s+extractVersion=(?<extractVersion>.+?))?(?:\s+versioning=(?<versioning>.+?))?\s+depName=(?<depName>.+?)?\s.*Image\s+=\s+\"docker.io\/alpine:(?<currentValue>.+?)\"'

CHANGELOG.md

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,55 @@
1+
## [bldr 0.5.0](https://github.com/siderolabs/bldr/releases/tag/v0.5.0) (2025-07-09)
2+
3+
Welcome to the v0.5.0 release of bldr!
4+
5+
6+
7+
Please try out the release binaries and report any issues at
8+
https://github.com/siderolabs/bldr/issues.
9+
10+
### Contributors
11+
12+
* Dmitrii Sharshakov
13+
* Artem Chernyshev
14+
* Andrey Smirnov
15+
* Dmitriy Matrenichev
16+
* Utku Ozdemir
17+
18+
### Changes
19+
<details><summary>4 commits</summary>
20+
<p>
21+
22+
* [`dafc274`](https://github.com/siderolabs/bldr/commit/dafc274b9454472233f7e4788195d5fc47a6c57f) fix: make SBOM generation work in a multi-step build
23+
* [`38d5691`](https://github.com/siderolabs/bldr/commit/38d5691bb40874088e734aa4c22862166017ca9f) fix: sbom: do not append arch
24+
* [`e45241d`](https://github.com/siderolabs/bldr/commit/e45241de914f4be03ee8311005e1f2d380b1fa2f) feat: add SBOM support
25+
* [`d09e69c`](https://github.com/siderolabs/bldr/commit/d09e69caf574060feb26ae8ead006b9161da8e5c) feat: update dependencies
26+
</p>
27+
</details>
28+
29+
### Changes from siderolabs/gen
30+
<details><summary>4 commits</summary>
31+
<p>
32+
33+
* [`dcb2b74`](https://github.com/siderolabs/gen/commit/dcb2b7417879f230a569ce834dad5c89bd09d6bf) feat: add `panicsafe` package
34+
* [`b36ee43`](https://github.com/siderolabs/gen/commit/b36ee43f667a7a56b340a3e769868ff2a609bb5b) feat: make `xyaml.CheckUnknownKeys` public
35+
* [`3e319e7`](https://github.com/siderolabs/gen/commit/3e319e7e52c5a74d1730be8e47952b3d16d91148) feat: implement `xyaml.UnmarshalStrict`
36+
* [`7c0324f`](https://github.com/siderolabs/gen/commit/7c0324fee9a7cfbdd117f43702fa273689f0db97) chore: future-proof HashTrieMap
37+
</p>
38+
</details>
39+
40+
### Dependency Changes
41+
42+
* **github.com/anchore/syft** v1.27.1 **_new_**
43+
* **github.com/emicklei/dot** v1.6.4 -> v1.8.0
44+
* **github.com/moby/buildkit** v0.19.0 -> v0.23.0
45+
* **github.com/opencontainers/image-spec** v1.1.0 -> v1.1.1
46+
* **github.com/siderolabs/gen** v0.8.0 -> v0.8.4
47+
* **github.com/spf13/cobra** v1.8.1 -> v1.9.1
48+
* **golang.org/x/oauth2** v0.26.0 -> v0.30.0
49+
* **golang.org/x/sync** v0.11.0 -> v0.15.0
50+
51+
Previous release can be found at [v0.4.1](https://github.com/siderolabs/bldr/releases/tag/v0.4.1)
52+
153
## [bldr 0.4.1](https://github.com/siderolabs/bldr/releases/tag/v0.4.1) (2025-02-06)
254

355
Welcome to the v0.4.1 release of bldr!

0 commit comments

Comments
 (0)