File tree Expand file tree Collapse file tree 3 files changed +22
-4
lines changed
images/scorecard-test-kuttl Expand file tree Collapse file tree 3 files changed +22
-4
lines changed Original file line number Diff line number Diff line change
1
+ # entries is a list of entries to include in
2
+ # release notes and/or the migration guide
3
+ entries :
4
+ - description : >
5
+ Update kuttl to v0.15.0 in the scorecard-test-kuttl image
6
+
7
+ # kind is one of:
8
+ # - addition
9
+ # - change
10
+ # - deprecation
11
+ # - removal
12
+ # - bugfix
13
+ kind: "change"
14
+
15
+ # Is this a breaking change?
16
+ breaking: false
Original file line number Diff line number Diff line change @@ -18,8 +18,8 @@ COPY . .
18
18
RUN GOOS=linux GOARCH=$TARGETARCH make build/scorecard-test-kuttl
19
19
20
20
# Final image.
21
- # FROM kudobuilder/kuttl@sha256:924a709a1d2c6bede8815415ea5d5be640b506ec5aeaddc68acb443ae8ee7926
22
- FROM kudobuilder/kuttl:v0.12.1
21
+ # FROM kudobuilder/kuttl@sha256:8d4dad161521450db95f88fe0e62487cc6587c5818df2a4e750fb9e54c082170
22
+ FROM kudobuilder/kuttl:v0.15.0
23
23
24
24
ENV HOME=/opt/scorecard-test-kuttl \
25
25
USER_NAME=scorecard-test-kuttl \
@@ -29,6 +29,8 @@ ENV HOME=/opt/scorecard-test-kuttl \
29
29
RUN echo "${USER_NAME}:x:${USER_UID}:0:${USER_NAME} user:${HOME}:/sbin/nologin" >> /etc/passwd
30
30
31
31
WORKDIR ${HOME}
32
+ # kuttl writes a kubeconfig file in the current working directory
33
+ RUN chmod g+w "${HOME}"
32
34
33
35
COPY --from=builder /workspace/build/scorecard-test-kuttl /usr/local/bin/scorecard-test-kuttl
34
36
COPY --from=builder /workspace/images/scorecard-test-kuttl/entrypoint /usr/local/bin/entrypoint
Original file line number Diff line number Diff line change @@ -31,10 +31,10 @@ import (
31
31
// scorecard v1alpha3.TestStatus json format.
32
32
//
33
33
// The kuttl output is expected to be produced by kubectl-kuttl
34
- // at /tmp/kuttl-test .json.
34
+ // at /tmp/kuttl-report .json.
35
35
func main () {
36
36
37
- jsonFile , err := os .Open ("/tmp/kuttl-test .json" )
37
+ jsonFile , err := os .Open ("/tmp/kuttl-report .json" )
38
38
if err != nil {
39
39
printErrorStatus (fmt .Errorf ("could not open kuttl report %v" , err ))
40
40
return
You can’t perform that action at this time.
0 commit comments