Skip to content

Commit f03d083

Browse files
authored
Merge branch 'main' into kr/helm-sync
Signed-off-by: Jan Schoone <[email protected]>
2 parents 8509443 + 60e88ff commit f03d083

File tree

1,140 files changed

+148204
-15163
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,140 files changed

+148204
-15163
lines changed

.builder-image-version.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.1.19
1+
1.1.22

.github/actions/setup-go/action.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ runs:
66
- name: Install go
77
uses: actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7 # v5.0.1
88
with:
9+
go-version: "1.22"
910
go-version-file: "go.mod"
1011
cache: true
1112
cache-dependency-path: go.sum

.github/renovate/golang.json5

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
},
55
// https://docs.renovatebot.com/configuration-options/#constraints
66
"constraints": {
7-
"go": "1.21"
7+
"go": "1.22"
88
},
99
packageRules: [
1010
{

.github/workflows/pr-lint.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
if: github.event_name != 'pull_request' || !github.event.pull_request.draft
2222
runs-on: ubuntu-latest
2323
container:
24-
image: ghcr.io/sovereigncloudstack/cso-builder:1.1.19
24+
image: ghcr.io/sovereigncloudstack/cso-builder:1.1.22
2525
credentials:
2626
username: ${{ github.actor }}
2727
password: ${{ secrets.github_token }}
@@ -31,6 +31,8 @@ jobs:
3131
with:
3232
ref: ${{ github.event.pull_request.head.sha }}
3333

34+
- uses: ./.github/actions/setup-go
35+
3436
- name: Fixup git permissions
3537
# https://github.com/actions/checkout/issues/766
3638
shell: bash

.github/workflows/release.yml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -139,12 +139,8 @@ jobs:
139139
with:
140140
fetch-depth: 0
141141

142-
- name: Install go
143-
uses: actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7 # v5.0.1
144-
with:
145-
go-version-file: "go.mod"
146-
cache: true
147-
cache-dependency-path: go.sum
142+
143+
- uses: ./.github/actions/setup-go
148144

149145
- name: install kustomize
150146
run: |

.github/workflows/schedule-scan-image.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
name: Trivy
1010
runs-on: ubuntu-latest
1111
container:
12-
image: ghcr.io/sovereigncloudstack/cso-builder:1.1.19
12+
image: ghcr.io/sovereigncloudstack/cso-builder:1.1.22
1313
credentials:
1414
username: ${{ github.actor }}
1515
password: ${{ secrets.github_token }}

.github/workflows/test.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,3 +69,19 @@ jobs:
6969
GO111MODULE: "on"
7070
GIT_ACCESS_TOKEN: ${{ secrets.GIT_ACCESS_TOKEN }}
7171
run: make test-integration-workloadcluster
72+
73+
- name: Running integration tests github
74+
env:
75+
GIT_PROVIDER: github
76+
GIT_ORG_NAME: SovereignCloudStack
77+
GIT_REPOSITORY_NAME: cluster-stacks
78+
GO111MODULE: "on"
79+
GIT_ACCESS_TOKEN: ${{ secrets.GIT_ACCESS_TOKEN }}
80+
run: make test-integration-github
81+
82+
# - name: Running integration tests oci
83+
# env:
84+
# OCI_REGISTRY: registry.scs.community
85+
# OCI_REPOSITORY: registry.scs.community/csctl-oci/docker
86+
# GO111MODULE: "on"
87+
# run: make test-integration-oci

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,3 +82,6 @@ main
8282
*.tgz.yaml
8383
*.build.yaml
8484
.release
85+
86+
# .config/go/telemetry/local/
87+
.config

.golangci.yaml

Lines changed: 7 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ linters:
1212
- errname
1313
- errorlint
1414
- exhaustive
15-
- exportloopref
15+
- copyloopvar
1616
- forcetypeassert
1717
- gci
1818
- goconst
@@ -86,10 +86,7 @@ linters-settings:
8686
allow-unused: false
8787
allow-leading-space: false
8888
require-specific: true
89-
staticcheck:
90-
go: "1.21"
9189
stylecheck:
92-
go: "1.21"
9390
checks: ["all", "-ST1006"]
9491
dot-import-whitelist:
9592
- "github.com/onsi/gomega"
@@ -101,6 +98,9 @@ linters-settings:
10198
- performance
10299
- experimental
103100
- opinionated
101+
settings:
102+
hugeParam:
103+
sizeThreshold: 120
104104
revive:
105105
enable-all-rules: true
106106
rules:
@@ -223,8 +223,6 @@ linters-settings:
223223
# https://github.com/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#struct-tag
224224
- name: struct-tag
225225
disabled: true
226-
unused:
227-
go: "1.21"
228226
usestdlibvars:
229227
# Suggest the use of http.MethodXX.
230228
# Default: true
@@ -247,9 +245,6 @@ linters-settings:
247245
# Suggest the use of rpc.DefaultXXPath.
248246
# Default: false
249247
default-rpc-path: true
250-
# Suggest the use of os.DevNull.
251-
# Default: false
252-
os-dev-null: true
253248
# Suggest the use of sql.LevelXX.String().
254249
# Default: false
255250
sql-isolation-level: true
@@ -259,9 +254,6 @@ linters-settings:
259254
# Suggest the use of constant.Kind.String().
260255
# Default: false
261256
constant-kind: true
262-
# Suggest the use of syslog.Priority.
263-
# Default: false
264-
syslog-priority: true
265257
wrapcheck:
266258
ignoreSigs:
267259
- status.Error(
@@ -285,11 +277,10 @@ issues:
285277
- linters:
286278
- wrapcheck
287279
path: _test\.go
280+
exclude-dirs:
281+
- vendor$
288282
run:
289283
timeout: 10m
290-
go: "1.21"
284+
go: "1.22"
291285
allow-parallel-runners: true
292286
modules-download-mode: vendor
293-
skip-dirs:
294-
- vendor$
295-
- test/vendor$

.yamllint.yaml

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,18 @@ rules:
1717
min-spaces-from-content: 1
1818

1919
yaml-files:
20-
- '*.yaml'
21-
- '*.yml'
20+
- "*.yaml"
21+
- "*.yml"
2222

2323
ignore:
24-
- '**/vendor/**'
25-
- '.cache'
24+
- "**/vendor/**"
25+
- ".cache"
2626
- _artifacts
2727
- config/crd/**/*.yaml
2828
- config/rbac/**/*.yaml
2929
- config/webhook/**/*.yaml
30+
- test/releases/**
31+
- test/cluster-stacks/**
32+
- .release/**
33+
- .cluster.yaml
34+
- .clusterstack.yaml

0 commit comments

Comments
 (0)