Skip to content

Commit cd6a28e

Browse files
authored
Merge branch 'master' into psav/fix-dup-name
2 parents 8144714 + d98fe47 commit cd6a28e

File tree

224 files changed

+8401
-1902
lines changed

Some content is hidden

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

224 files changed

+8401
-1902
lines changed

.github/workflows/lint.yml

Lines changed: 5 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,6 @@ on:
99

1010
permissions:
1111
contents: read
12-
# Optional: allow read access to pull request. Use with 'only-new-issues' option.
13-
# pull-requests: read
1412
jobs:
1513
golangci:
1614
name: Lint
@@ -19,47 +17,18 @@ jobs:
1917
- name: Display build environment
2018
run: printenv
2119

22-
- uses: actions/setup-go@v4
20+
- uses: actions/setup-go@v5
2321
name: Set up Go 1.x
2422
with:
25-
go-version: "1.22.7"
23+
go-version: "1.24.4"
2624
env:
2725
GO111MODULE: off
2826

29-
- uses: actions/checkout@v3
27+
- uses: actions/checkout@v4
3028
name: Checkout clowder
3129

3230
- name: golangci-lint
33-
uses: golangci/golangci-lint-action@v3
31+
uses: golangci/golangci-lint-action@v8
3432
with:
35-
# Optional: version of golangci-lint to use in form of v1.2 or v1.2.3 or `latest` to use the latest version
36-
version: latest
33+
version: v2.3
3734

38-
args: >
39-
--enable=errcheck,gocritic,gofmt,goimports,gosec,gosimple,govet,ineffassign,revive,staticcheck,typecheck,unused,bodyclose
40-
--fix=false
41-
--max-same-issues=20
42-
--out-${NO_FUTURE}format=colored-line-number
43-
--print-issued-lines=true
44-
--print-linter-name=true
45-
--sort-results=true
46-
--timeout=5m0s
47-
--uniq-by-line=false
48-
# Optional: working directory, useful for monorepos
49-
# working-directory: somedir
50-
51-
# Optional: golangci-lint command line arguments.
52-
# args: --issues-exit-code=0
53-
54-
# Optional: show only new issues if it's a pull request. The default value is `false`.
55-
only-new-issues: false
56-
57-
# Optional: if set to true then the all caching functionality will be complete disabled,
58-
# takes precedence over all other caching options.
59-
# skip-cache: true
60-
61-
# Optional: if set to true then the action don't cache or restore ~/go/pkg.
62-
# skip-pkg-cache: true
63-
64-
# Optional: if set to true then the action don't cache or restore ~/.cache/go-build.
65-
# skip-build-cache: true

.golangci.yml

Lines changed: 23 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,34 @@
1-
issues:
2-
exclude-rules:
3-
- linters:
4-
- staticcheck
5-
text: "web.Config.WebPort is deprecated"
6-
- linters:
7-
- staticcheck
8-
text: "broker.Sasl.SecurityProtocol is deprecated"
9-
- path: apis/cloud.redhat.com/v1alpha1/groupversion_info.go
10-
linters:
11-
- gofmt
12-
- goimports
13-
exclude:
14-
- "G108: Profiling endpoint is automatically"
1+
version: "2"
2+
153
linters:
164
enable:
175
- errcheck
186
- gocritic
19-
- gofmt
20-
- goimports
217
- gosec
22-
- gosimple
238
- govet
249
- ineffassign
2510
- revive
2611
- staticcheck
27-
- typecheck
2812
- unused
2913
- bodyclose
14+
settings:
15+
staticcheck:
16+
checks:
17+
- all
18+
- '-ST1003' # ignore naming
19+
20+
formatters:
21+
enable:
22+
- gofmt
23+
- goimports
24+
25+
issues:
26+
max-same-issues: 20
27+
28+
run:
29+
timeout: 5m
30+
31+
output:
32+
formats:
33+
text:
34+
colors: false

.tekton/clowder-pull-request.yaml

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ spec:
3232
- name: path-context
3333
value: .
3434
- name: prefetch-input
35-
value: '[{"path":".","type":"gomod"},{"path":"./deps/controller-gen","type":"gomod"},{"path":"./deps/kustomize","type":"gomod"}]'
35+
value: '[{"path":".","type":"gomod"}]'
3636
pipelineSpec:
3737
description: |
3838
This pipeline is ideal for building container images from a Containerfile while maintaining trust after pipeline customization.
@@ -49,7 +49,7 @@ spec:
4949
- name: name
5050
value: show-sbom
5151
- name: bundle
52-
value: quay.io/konflux-ci/tekton-catalog/task-show-sbom:0.1@sha256:86c069cac0a669797e8049faa8aa4088e70ff7fcd579d5bdc37626a9e0488a05
52+
value: quay.io/konflux-ci/tekton-catalog/task-show-sbom:0.1@sha256:beb0616db051952b4b861dd8c3e00fa1c0eccbd926feddf71194d3bb3ace9ce7
5353
- name: kind
5454
value: task
5555
resolver: bundles
@@ -137,7 +137,7 @@ spec:
137137
- name: name
138138
value: init
139139
- name: bundle
140-
value: quay.io/konflux-ci/tekton-catalog/task-init:0.2@sha256:1d8221c84f91b923d89de50bf16481ea729e3b68ea04a9a7cbe8485ddbb27ee6
140+
value: quay.io/konflux-ci/tekton-catalog/task-init:0.2@sha256:ded314206f09712b2116deb050b774ae7efef9ab243794334c8e616871a3ffa5
141141
- name: kind
142142
value: task
143143
resolver: bundles
@@ -158,7 +158,7 @@ spec:
158158
- name: name
159159
value: git-clone-oci-ta
160160
- name: bundle
161-
value: quay.io/konflux-ci/tekton-catalog/task-git-clone-oci-ta:0.1@sha256:d35e5d501cb5f5f88369511f76249857cb5ac30250e1dcf086939321964ff6b9
161+
value: quay.io/konflux-ci/tekton-catalog/task-git-clone-oci-ta:0.1@sha256:4a601aeec58a1dd89c271e728fd8f0d84777825b46940c3aec27f15bab3edacf
162162
- name: kind
163163
value: task
164164
resolver: bundles
@@ -187,7 +187,7 @@ spec:
187187
- name: name
188188
value: prefetch-dependencies-oci-ta
189189
- name: bundle
190-
value: quay.io/konflux-ci/tekton-catalog/task-prefetch-dependencies-oci-ta:0.2@sha256:092491ac0f6e1009d10c58a1319d1029371bf637cc1293cceba53c6da5314ed1
190+
value: quay.io/konflux-ci/tekton-catalog/task-prefetch-dependencies-oci-ta:0.2@sha256:29869c64ff27e964e26a8a7ea2c882a2ed5424210bd0603be45a07e2ebf308cc
191191
- name: kind
192192
value: task
193193
resolver: bundles
@@ -228,7 +228,7 @@ spec:
228228
- name: name
229229
value: buildah-oci-ta
230230
- name: bundle
231-
value: quay.io/konflux-ci/tekton-catalog/task-buildah-oci-ta:0.4@sha256:9e9bac2044d6231b44114046b9d528c135388699365f0f210ee810c01bd4d702
231+
value: quay.io/konflux-ci/tekton-catalog/task-buildah-oci-ta:0.4@sha256:5194b17407c4951fb9169c00e4c8c54d01dba4bac01c48441220a4fbc6eb898e
232232
- name: kind
233233
value: task
234234
resolver: bundles
@@ -263,7 +263,7 @@ spec:
263263
image: quay.io/redhat-appstudio/build-trusted-artifacts:latest@sha256:9b180776a41d9a22a1c51539f1647c60defbbd55b44bbebdd4130e33512d8b0d
264264
name: use-trusted-artifact
265265
- computeResources: {}
266-
image: registry.access.redhat.com/ubi9/go-toolset:1.24.4-1752083840
266+
image: registry.access.redhat.com/ubi9/go-toolset:1.24.4-1755074415
267267
name: unit-tests
268268
script: set -xe && git config --global --add safe.directory /var/workdir/source && ls -l && pwd && make -dn test
269269
workingDir: /var/workdir/source
@@ -301,7 +301,7 @@ spec:
301301
value: /tmp/bin
302302
- name: IMG
303303
value: $(tasks.build-container.results.IMAGE_URL)@$(tasks.build-container.results.IMAGE_DIGEST)
304-
image: registry.access.redhat.com/ubi9/go-toolset:1.24.4-1752083840
304+
image: registry.access.redhat.com/ubi9/go-toolset:1.24.4-1755074415
305305
name: make-template
306306
script: |
307307
set -xe && cp /var/workdir/source/* /opt/app-root/src -Rv && make release && make build-template-kustomize && cp manifest.yaml /var/workdir/ && cp deploy-kustomize.yaml /var/workdir/
@@ -310,7 +310,7 @@ spec:
310310
env:
311311
- name: LOCALBIN
312312
value: /tmp/bin
313-
image: registry.access.redhat.com/ubi8/ubi:8.10-1752733233
313+
image: registry.access.redhat.com/ubi8/ubi:8.10-1756195303
314314
name: test-template
315315
script: |
316316
set -xe && cp /var/workdir/source/* /opt/app-root/src -Rv && cp /var/workdir/manifest.yaml . && cp /var/workdir/deploy-kustomize.yaml . && dnf install make python3.12 diffutils -y && make build-template && make test-template
@@ -337,7 +337,7 @@ spec:
337337
secretKeyRef:
338338
key: MINIKUBE_ROOTDIR
339339
name: minikube-ssh-key
340-
image: registry.access.redhat.com/ubi8/ubi:8.10-1752733233
340+
image: registry.access.redhat.com/ubi8/ubi:8.10-1756195303
341341
name: e2e-tests
342342
script: set -ex && dnf install -y git openssh-clients python3.12 make jq diffutils && ci/konflux_minikube_e2e_tests.sh
343343
workingDir: /var/workdir/source
@@ -365,7 +365,7 @@ spec:
365365
- name: name
366366
value: build-image-index
367367
- name: bundle
368-
value: quay.io/konflux-ci/tekton-catalog/task-build-image-index:0.1@sha256:3499772af90aad0d3935629be6d37dd9292195fb629e6f43ec839c7f545a0faa
368+
value: quay.io/konflux-ci/tekton-catalog/task-build-image-index:0.1@sha256:3bf6e4e83f911066430041534a69eec51dbd0f52f34a9bf41c6f3a24ec2ffb22
369369
- name: kind
370370
value: task
371371
resolver: bundles
@@ -391,7 +391,7 @@ spec:
391391
- name: name
392392
value: source-build-oci-ta
393393
- name: bundle
394-
value: quay.io/konflux-ci/tekton-catalog/task-source-build-oci-ta:0.3@sha256:b1eb49583b41872b27356fee20d5f0eb6ff7f5cdeacde7ffb39655f031104728
394+
value: quay.io/konflux-ci/tekton-catalog/task-source-build-oci-ta:0.3@sha256:f1c0743939fe246b19e9e268a3b96b22b724096dcf946548c3d60e184136e32f
395395
- name: kind
396396
value: task
397397
resolver: bundles
@@ -417,7 +417,7 @@ spec:
417417
- name: name
418418
value: deprecated-image-check
419419
- name: bundle
420-
value: quay.io/konflux-ci/tekton-catalog/task-deprecated-image-check:0.5@sha256:3c8b81fa868e27c6266e7660a4bfb4c822846dcf4304606e71e20893b0d3e515
420+
value: quay.io/konflux-ci/tekton-catalog/task-deprecated-image-check:0.5@sha256:1d07d16810c26713f3d875083924d93697900147364360587ccb5a63f2c31012
421421
- name: kind
422422
value: task
423423
resolver: bundles
@@ -439,7 +439,7 @@ spec:
439439
- name: name
440440
value: clair-scan
441441
- name: bundle
442-
value: quay.io/konflux-ci/tekton-catalog/task-clair-scan:0.2@sha256:417f44117f8d87a4a62fea6589b5746612ac61640b454dbd88f74892380411f2
442+
value: quay.io/konflux-ci/tekton-catalog/task-clair-scan:0.2@sha256:893ffa3ce26b061e21bb4d8db9ef7ed4ddd4044fe7aa5451ef391034da3ff759
443443
- name: kind
444444
value: task
445445
resolver: bundles
@@ -459,7 +459,7 @@ spec:
459459
- name: name
460460
value: ecosystem-cert-preflight-checks
461461
- name: bundle
462-
value: quay.io/konflux-ci/tekton-catalog/task-ecosystem-cert-preflight-checks:0.2@sha256:f99d2bdb02f13223d494077a2cde31418d09369f33c02134a8e7e5fad2f61eda
462+
value: quay.io/konflux-ci/tekton-catalog/task-ecosystem-cert-preflight-checks:0.2@sha256:1f151e00f7fc427654b7b76045a426bb02fe650d192ffe147a304d2184787e38
463463
- name: kind
464464
value: task
465465
resolver: bundles
@@ -561,7 +561,7 @@ spec:
561561
- name: name
562562
value: clamav-scan
563563
- name: bundle
564-
value: quay.io/konflux-ci/tekton-catalog/task-clamav-scan:0.2@sha256:7749146f7e4fe530846f1b15c9366178ec9f44776ef1922a60d3e7e2b8c6426b
564+
value: quay.io/konflux-ci/tekton-catalog/task-clamav-scan:0.3@sha256:b0bd59748cda4a7abf311e4f448e6c1d00c6b6d8c0ecc1c2eb33e08dc0e0b802
565565
- name: kind
566566
value: task
567567
resolver: bundles
@@ -583,7 +583,7 @@ spec:
583583
- name: name
584584
value: apply-tags
585585
- name: bundle
586-
value: quay.io/konflux-ci/tekton-catalog/task-apply-tags:0.2@sha256:517a51e260c0b59654a9d7b842e1ab07d76bce15ca7ce9c8fd2489a19be6463d
586+
value: quay.io/konflux-ci/tekton-catalog/task-apply-tags:0.2@sha256:e0de426d492e195f59c99d2ea1ca0df7bfb8c689f5d1468fe7f70eb8684b8d02
587587
- name: kind
588588
value: task
589589
resolver: bundles
@@ -606,7 +606,7 @@ spec:
606606
- name: name
607607
value: push-dockerfile-oci-ta
608608
- name: bundle
609-
value: quay.io/konflux-ci/tekton-catalog/task-push-dockerfile-oci-ta:0.1@sha256:8c75c4a747e635e5f3e12266a3bb6e5d3132bf54e37eaa53d505f89897dd8eca
609+
value: quay.io/konflux-ci/tekton-catalog/task-push-dockerfile-oci-ta:0.1@sha256:235ef6e835de8171c07b8a7f8947d0b40bfcff999e1ff3cb6ddd9acc65c48430
610610
- name: kind
611611
value: task
612612
resolver: bundles

0 commit comments

Comments
 (0)