diff --git a/.tekton/linkingtestcomp-pull-request.yaml b/.tekton/linkingtestcomp-pull-request.yaml index 68926449da..e7508b0002 100644 --- a/.tekton/linkingtestcomp-pull-request.yaml +++ b/.tekton/linkingtestcomp-pull-request.yaml @@ -156,6 +156,15 @@ spec: - name: kind value: task resolver: bundles + - name: rcerven-test + taskRef: + kind: Task + name: rcerven-test + runAfter: + - init + workspaces: + - name: source + workspace: workspace - name: clone-repository params: - name: url diff --git a/.tekton/linkingtestcomp-push.yaml b/.tekton/linkingtestcomp-push.yaml index d9cd7f561e..3639488902 100644 --- a/.tekton/linkingtestcomp-push.yaml +++ b/.tekton/linkingtestcomp-push.yaml @@ -153,6 +153,15 @@ spec: - name: kind value: task resolver: bundles + - name: rcerven-test + taskRef: + kind: Task + name: rcerven-test + runAfter: + - init + workspaces: + - name: source + workspace: workspace - name: clone-repository params: - name: url diff --git a/.tekton/rcerven-test.yaml b/.tekton/rcerven-test.yaml new file mode 100644 index 0000000000..b7af4c2f13 --- /dev/null +++ b/.tekton/rcerven-test.yaml @@ -0,0 +1,28 @@ +--- +apiVersion: tekton.dev/v1beta1 +kind: Task +metadata: + labels: + app.kubernetes.io/version: "0.1" + annotations: + tekton.dev/pipelines.minVersion: "0.12.1" + tekton.dev/tags: "konflux" + name: rcerven-test +spec: + description: >- + Inspects and analyzes manifest data of the container's source image, and its base image (if available) using Skopeo. + An image's manifest data contains information about the layers that make up the image, the platforms for which the image is intended, and other metadata about the image. + workspaces: + - name: source + steps: + - name: inspect-image + image: quay.io/redhat-appstudio/konflux-test:v1.4.3@sha256:75d3e0ada1d07511e6b9342398929fe2690367b33142bf99ecad7dc3bccc3847 + workingDir: $(workspaces.source.path)/hacbs/$(context.task.name) + securityContext: + runAsUser: 0 + capabilities: + add: + - SETFCAP + script: | + #!/usr/bin/env bash + echo "my test"