Skip to content

Commit

Permalink
Merge pull request #17 from ch007m/new-generated-pipelines-2024-08-09
Browse files Browse the repository at this point in the history
New resources generated and SCENARIO.md file updated - 2024-08-09
  • Loading branch information
cmoulliard authored Aug 9, 2024
2 parents 93a2c87 + 4dcea89 commit 1c5966a
Show file tree
Hide file tree
Showing 4 changed files with 78 additions and 19 deletions.
51 changes: 41 additions & 10 deletions SCENARIO.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,15 +48,15 @@ apiVersion: "tekton.dev/v1"
kind: "PipelineRun"
metadata:
annotations:
build.appstudio.openshift.io/repo: "https://github.com/ch007m/new-quarkus-app-1?rev={{revision}}"
pipelinesascode.tekton.dev/max-keep-runs: "3"
build.appstudio.redhat.com/commit_sha: "{{revision}}"
build.appstudio.redhat.com/target_branch: "{{target_branch}}"
pipelinesascode.tekton.dev/on-cel-expression: "event == 'push' && target_branch\
\ == 'main'"
build.appstudio.redhat.com/target_branch: "{{target_branch}}"
build.appstudio.redhat.com/commit_sha: "{{revision}}"
pipelinesascode.tekton.dev/max-keep-runs: "3"
build.appstudio.openshift.io/repo: "https://github.com/ch007m/new-quarkus-app-1?rev={{revision}}"
labels:
pipelines.openshift.io/strategy: "build"
pipelines.openshift.io/runtime: "java"
pipelines.openshift.io/strategy: "build"
pipelines.openshift.io/used-by: "build-cloud"
name: "my-quarkus-1"
spec:
Expand Down Expand Up @@ -441,16 +441,16 @@ apiVersion: "tekton.dev/v1"
kind: "Pipeline"
metadata:
annotations:
pipelinesascode.tekton.dev/max-keep-runs: "3"
build.appstudio.openshift.io/repo: "https://github.com/paketo-community/builder-ubi-base?rev={{revision}}"
pipelinesascode.tekton.dev/on-cel-expression: "event == 'push' && target_branch\
\ == 'main'"
build.appstudio.redhat.com/target_branch: "{{target_branch}}"
build.appstudio.redhat.com/commit_sha: "{{revision}}"
pipelinesascode.tekton.dev/max-keep-runs: "3"
build.appstudio.openshift.io/repo: "https://github.com/paketo-community/builder-ubi-base?rev={{revision}}"
labels:
pipelines.openshift.io/used-by: "build-cloud"
pipelines.openshift.io/runtime: "java"
pipelines.openshift.io/strategy: "buildpack"
pipelines.openshift.io/used-by: "build-cloud"
name: "buildpack-builder"
spec:
finally:
Expand Down Expand Up @@ -840,7 +840,7 @@ job:
- packCmdBuilderFlags:
- -v
- --publish
# All to workspaces will be mounted for each action except when the action overrides them
# The workspaces declared here will be mounted for each action except if an action overrides it to use a different name
workspaces:
- name: pack-workspace
volumeClaimTemplate:
Expand All @@ -860,6 +860,9 @@ job:
params:
- url: "$(params.git-url)"
- subdirectory: "."
workspaces:
- name: output
workspace: source-dir
- name: fetch-packconfig-registrysecret
ref: bundle://quay.io/ch007m/tekton-bundle:latest@sha256:af13b94347457df001742f8449de9edb381e90b0d174da598ddd15cf493e340f
- name: list-source-workspace
Expand All @@ -886,9 +889,9 @@ apiVersion: "tekton.dev/v1"
kind: "PipelineRun"
metadata:
annotations:
tekton.dev/displayName: "This Pipeline builds a builder image using the pack CLI."
tekton.dev/platforms: "linux/amd64"
tekton.dev/pipelines.minVersion: "0.40.0"
tekton.dev/displayName: "This Pipeline builds a builder image using the pack CLI."
labels:
app.kubernetes.io/version: "0.2"
name: "pack-builder-push"
Expand Down Expand Up @@ -920,6 +923,13 @@ spec:
- name: "kind"
value: "task"
resolver: "bundles"
workspaces:
- name: "pack-workspace"
workspace: "pack-workspace"
- name: "data-store"
workspace: "data-store"
- name: "output"
workspace: "source-dir"
- name: "fetch-packconfig-registrysecret"
taskRef:
params:
Expand All @@ -930,6 +940,13 @@ spec:
- name: "kind"
value: "task"
resolver: "bundles"
workspaces:
- name: "pack-workspace"
workspace: "pack-workspace"
- name: "source-dir"
workspace: "source-dir"
- name: "data-store"
workspace: "data-store"
- name: "list-source-workspace"
taskRef:
params:
Expand All @@ -940,6 +957,13 @@ spec:
- name: "kind"
value: "task"
resolver: "bundles"
workspaces:
- name: "pack-workspace"
workspace: "pack-workspace"
- name: "source-dir"
workspace: "source-dir"
- name: "data-store"
workspace: "data-store"
- name: "pack-builder"
taskRef:
params:
Expand All @@ -950,6 +974,13 @@ spec:
- name: "kind"
value: "task"
resolver: "bundles"
workspaces:
- name: "pack-workspace"
workspace: "pack-workspace"
- name: "source-dir"
workspace: "source-dir"
- name: "data-store"
workspace: "data-store"
workspaces:
- name: "pack-workspace"
volumeClaimTemplate:
Expand Down
10 changes: 5 additions & 5 deletions generated/konflux/build/pipelinerun-my-quarkus-1.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@ apiVersion: "tekton.dev/v1"
kind: "PipelineRun"
metadata:
annotations:
build.appstudio.openshift.io/repo: "https://github.com/ch007m/new-quarkus-app-1?rev={{revision}}"
pipelinesascode.tekton.dev/max-keep-runs: "3"
build.appstudio.redhat.com/commit_sha: "{{revision}}"
build.appstudio.redhat.com/target_branch: "{{target_branch}}"
pipelinesascode.tekton.dev/on-cel-expression: "event == 'push' && target_branch\
\ == 'main'"
build.appstudio.redhat.com/target_branch: "{{target_branch}}"
build.appstudio.redhat.com/commit_sha: "{{revision}}"
pipelinesascode.tekton.dev/max-keep-runs: "3"
build.appstudio.openshift.io/repo: "https://github.com/ch007m/new-quarkus-app-1?rev={{revision}}"
labels:
pipelines.openshift.io/strategy: "build"
pipelines.openshift.io/runtime: "java"
pipelines.openshift.io/strategy: "build"
pipelines.openshift.io/used-by: "build-cloud"
name: "my-quarkus-1"
spec:
Expand Down
6 changes: 3 additions & 3 deletions generated/konflux/buildpack/pipeline-buildpack-builder.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,16 @@ apiVersion: "tekton.dev/v1"
kind: "Pipeline"
metadata:
annotations:
pipelinesascode.tekton.dev/max-keep-runs: "3"
build.appstudio.openshift.io/repo: "https://github.com/paketo-community/builder-ubi-base?rev={{revision}}"
pipelinesascode.tekton.dev/on-cel-expression: "event == 'push' && target_branch\
\ == 'main'"
build.appstudio.redhat.com/target_branch: "{{target_branch}}"
build.appstudio.redhat.com/commit_sha: "{{revision}}"
pipelinesascode.tekton.dev/max-keep-runs: "3"
build.appstudio.openshift.io/repo: "https://github.com/paketo-community/builder-ubi-base?rev={{revision}}"
labels:
pipelines.openshift.io/used-by: "build-cloud"
pipelines.openshift.io/runtime: "java"
pipelines.openshift.io/strategy: "buildpack"
pipelines.openshift.io/used-by: "build-cloud"
name: "buildpack-builder"
spec:
finally:
Expand Down
30 changes: 29 additions & 1 deletion generated/tekton/buildpack/pipelinerun-pack-builder-push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ apiVersion: "tekton.dev/v1"
kind: "PipelineRun"
metadata:
annotations:
tekton.dev/displayName: "This Pipeline builds a builder image using the pack CLI."
tekton.dev/platforms: "linux/amd64"
tekton.dev/pipelines.minVersion: "0.40.0"
tekton.dev/displayName: "This Pipeline builds a builder image using the pack CLI."
labels:
app.kubernetes.io/version: "0.2"
name: "pack-builder-push"
Expand Down Expand Up @@ -37,6 +37,13 @@ spec:
- name: "kind"
value: "task"
resolver: "bundles"
workspaces:
- name: "pack-workspace"
workspace: "pack-workspace"
- name: "data-store"
workspace: "data-store"
- name: "output"
workspace: "source-dir"
- name: "fetch-packconfig-registrysecret"
taskRef:
params:
Expand All @@ -47,6 +54,13 @@ spec:
- name: "kind"
value: "task"
resolver: "bundles"
workspaces:
- name: "pack-workspace"
workspace: "pack-workspace"
- name: "source-dir"
workspace: "source-dir"
- name: "data-store"
workspace: "data-store"
- name: "list-source-workspace"
taskRef:
params:
Expand All @@ -57,6 +71,13 @@ spec:
- name: "kind"
value: "task"
resolver: "bundles"
workspaces:
- name: "pack-workspace"
workspace: "pack-workspace"
- name: "source-dir"
workspace: "source-dir"
- name: "data-store"
workspace: "data-store"
- name: "pack-builder"
taskRef:
params:
Expand All @@ -67,6 +88,13 @@ spec:
- name: "kind"
value: "task"
resolver: "bundles"
workspaces:
- name: "pack-workspace"
workspace: "pack-workspace"
- name: "source-dir"
workspace: "source-dir"
- name: "data-store"
workspace: "data-store"
workspaces:
- name: "pack-workspace"
volumeClaimTemplate:
Expand Down

0 comments on commit 1c5966a

Please sign in to comment.