From 39c785a4a0045c887e2be8fd965270f40fd32f62 Mon Sep 17 00:00:00 2001 From: Chmouel Boudjnah Date: Thu, 20 Mar 2025 18:20:48 +0100 Subject: [PATCH 1/2] add tekton Signed-off-by: Chmouel Boudjnah --- .tekton/pr-noop.yaml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .tekton/pr-noop.yaml diff --git a/.tekton/pr-noop.yaml b/.tekton/pr-noop.yaml new file mode 100644 index 0000000..6e2ca89 --- /dev/null +++ b/.tekton/pr-noop.yaml @@ -0,0 +1,19 @@ +--- +apiVersion: tekton.dev/v1beta1 +kind: PipelineRun +metadata: + name: pr-most-simple + annotations: + pipelinesascode.tekton.dev/on-event: "pull_request" + pipelinesascode.tekton.dev/on-target-branch: "main" + # pipelinesascode.tekton.dev/max-keep-runs: "5" +spec: + pipelineSpec: + tasks: + - name: noop-task + taskSpec: + steps: + - name: noop-task + image: registry.access.redhat.com/ubi8/ubi-micro:8.4 + script: | + exit 0 From d5419df877e86252c66460b8909f0fd1e3e50b91 Mon Sep 17 00:00:00 2001 From: Chmouel Boudjnah Date: Thu, 20 Mar 2025 18:42:23 +0100 Subject: [PATCH 2/2] add repo Signed-off-by: Chmouel Boudjnah --- repo.yaml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 repo.yaml diff --git a/repo.yaml b/repo.yaml new file mode 100644 index 0000000..cec820e --- /dev/null +++ b/repo.yaml @@ -0,0 +1,15 @@ +--- +apiVersion: v1 +kind: Namespace +metadata: + name: public-scratchtest + +--- +apiVersion: "pipelinesascode.tekton.dev/v1alpha1" +kind: Repository +metadata: + name: public-scratchtest + namespace: public-scratchtest +spec: + url: "https://github.com/chmoutest/public" + # concurrency_limit: 10