Skip to content

Commit

Permalink
Merge pull request shipwright-io#1108 from SaschaSchwarze0/sascha-upd…
Browse files Browse the repository at this point in the history
…ate-strategy-tools

Update BuildAh, Kaniko, Trivy, Crane, UBI in sample build strategies
  • Loading branch information
openshift-merge-robot authored Sep 5, 2022
2 parents 6052a2c + 4d3cec2 commit 64f18e8
Show file tree
Hide file tree
Showing 9 changed files with 18 additions and 18 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ To find out more on what's the best strategy or what else can Shipwright do for
### Platform support
We are building container images of the Shipwright Build controller for all platforms supported by the base image that we are using which is [registry.access.redhat.com/ubi8/ubi-minimal](https://catalog.redhat.com/software/containers/ubi8/ubi-minimal/5c359a62bed8bd75a2c3fba8). Those are:
We are building container images of the Shipwright Build controller for all platforms supported by the base image that we are using which is [registry.access.redhat.com/ubi9/ubi-minimal](https://catalog.redhat.com/software/containers/ubi9/ubi-minimal/615bd9b4075b022acc111bf5). Those are:
- linux/amd64
- linux/arm64
Expand Down
6 changes: 3 additions & 3 deletions docs/buildstrategies.md
Original file line number Diff line number Diff line change
Expand Up @@ -567,7 +567,7 @@ metadata:
spec:
buildSteps:
- name: build-and-push
image: gcr.io/kaniko-project/executor:v1.8.1
image: gcr.io/kaniko-project/executor:v1.9.0
workingDir: $(params.shp-source-root)
securityContext:
runAsUser: 0
Expand Down Expand Up @@ -611,7 +611,7 @@ metadata:
spec:
buildSteps:
- name: build-and-push
image: gcr.io/kaniko-project/executor:v1.8.1
image: gcr.io/kaniko-project/executor:v1.9.0
workingDir: $(params.shp-source-root)
securityContext:
runAsUser: 0
Expand Down Expand Up @@ -906,7 +906,7 @@ metadata:
spec:
buildSteps:
- name: build
image: quay.io/containers/buildah:v1.26.0
image: quay.io/containers/buildah:v1.27.0
workingDir: $(params.shp-source-root)
command:
- buildah
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ metadata:
spec:
buildSteps:
- name: build-and-push
image: quay.io/containers/buildah:v1.26.0
image: quay.io/containers/buildah:v1.27.0
workingDir: $(params.shp-source-root)
securityContext:
privileged: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ spec:
emptyDir: {}
buildSteps:
- name: kaniko-build
image: gcr.io/kaniko-project/executor:v1.8.1
image: gcr.io/kaniko-project/executor:v1.9.0
workingDir: $(params.shp-source-root)
securityContext:
runAsUser: 0
Expand Down Expand Up @@ -61,7 +61,7 @@ spec:
cpu: 250m
memory: 65Mi
- name: trivy-scan
image: docker.io/aquasec/trivy:0.28.1
image: docker.io/aquasec/trivy:0.31.3
volumeMounts:
- mountPath: /image/
name: tar
Expand All @@ -84,7 +84,7 @@ spec:
cpu: 250m
memory: 65Mi
- name: crane-push
image: gcr.io/go-containerregistry/crane:v0.9.0
image: gcr.io/go-containerregistry/crane:v0.11.0
securityContext:
runAsUser: 0
volumeMounts:
Expand All @@ -100,7 +100,7 @@ spec:
- name: HOME
value: /tekton/home
- name: results
image: registry.access.redhat.com/ubi8/ubi-minimal
image: registry.access.redhat.com/ubi9/ubi-minimal
command:
- /bin/bash
args:
Expand Down
4 changes: 2 additions & 2 deletions samples/buildstrategy/kaniko/buildstrategy_kaniko_cr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ spec:
emptyDir: {}
buildSteps:
- name: build-and-push
image: gcr.io/kaniko-project/executor:v1.8.1
image: gcr.io/kaniko-project/executor:v1.9.0
workingDir: $(params.shp-source-root)
securityContext:
runAsUser: 0
Expand Down Expand Up @@ -54,7 +54,7 @@ spec:
- name: layout
mountPath: /kaniko/oci-image-layout
- name: results
image: registry.access.redhat.com/ubi8/ubi-minimal
image: registry.access.redhat.com/ubi9/ubi-minimal
command:
- /bin/bash
args:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ spec:
- name: s2i
mountPath: /s2i
- name: buildah
image: quay.io/containers/buildah:v1.26.0
image: quay.io/containers/buildah:v1.27.0
workingDir: /s2i
securityContext:
privileged: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ spec:
value: NOT_SET
- name: AWS_SECRET_KEY
value: NOT_SET
image: gcr.io/kaniko-project/executor:v1.8.1
image: gcr.io/kaniko-project/executor:v1.9.0
name: build-and-push
securityContext:
runAsUser: 0
Expand All @@ -65,7 +65,7 @@ spec:
mountPath: /kaniko/oci-image-layout
workingDir: /gen-source
- name: results
image: registry.access.redhat.com/ubi8/ubi-minimal
image: registry.access.redhat.com/ubi9/ubi-minimal
command:
- /bin/bash
args:
Expand Down
6 changes: 3 additions & 3 deletions test/clusterbuildstrategy_samples.go
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ metadata:
spec:
buildSteps:
- name: step-build-and-push
image: gcr.io/kaniko-project/executor:v1.8.1
image: gcr.io/kaniko-project/executor:v1.9.0
workingDir: $(params.shp-source-root)
securityContext:
runAsUser: 0
Expand Down Expand Up @@ -180,7 +180,7 @@ metadata:
spec:
buildSteps:
- name: step-build-and-push
image: gcr.io/kaniko-project/executor:v1.8.1
image: gcr.io/kaniko-project/executor:v1.9.0
workingDir: $(params.shp-source-root)
securityContext:
runAsUser: 0
Expand Down Expand Up @@ -298,7 +298,7 @@ metadata:
spec:
buildSteps:
- name: step-build-and-push
image: gcr.io/kaniko-project/executor:v1.8.1
image: gcr.io/kaniko-project/executor:v1.9.0
workingDir: $(params.shp-source-root)
securityContext:
runAsUser: 0
Expand Down
2 changes: 1 addition & 1 deletion test/e2e/e2e_params_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ var _ = Describe("For a Kubernetes cluster with Tekton and build installed", fun
ForBuild(build).
Name(testID).
GenerateServiceAccount().
StringParamValue("image", "registry.access.redhat.com/ubi8/ubi-minimal").
StringParamValue("image", "registry.access.redhat.com/ubi9/ubi-minimal").
StringParamValueFromSecret("env3", "a-secret", "number2", nil).
ArrayParamValueFromSecret("args", "a-secret", "number3", pointer.String("${SECRET_VALUE}9")).
ArrayParamValue("args", "47").
Expand Down

0 comments on commit 64f18e8

Please sign in to comment.