Skip to content
Merged

fix #227

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions .tekton/linkingtestcomp-pull-request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
9 changes: 9 additions & 0 deletions .tekton/linkingtestcomp-push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
28 changes: 28 additions & 0 deletions .tekton/rcerven-test.yaml
Original file line number Diff line number Diff line change
@@ -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"