initial commit
This commit is contained in:
4
dev/tekton/examples/buildah/medium/helloallard/Dockerfile
Executable file
4
dev/tekton/examples/buildah/medium/helloallard/Dockerfile
Executable file
@@ -0,0 +1,4 @@
|
||||
FROM alpine
|
||||
|
||||
ENTRYPOINT echo hallo Allard Krings
|
||||
#
|
||||
32
dev/tekton/examples/buildah/medium/pipeline.yaml
Executable file
32
dev/tekton/examples/buildah/medium/pipeline.yaml
Executable file
@@ -0,0 +1,32 @@
|
||||
apiVersion: tekton.dev/v1beta1
|
||||
kind: Pipeline
|
||||
metadata:
|
||||
name: tutorial-pipeline
|
||||
spec:
|
||||
workspaces:
|
||||
- name: myworkspace
|
||||
tasks:
|
||||
- name: fetch-repository
|
||||
taskRef:
|
||||
name: git-clone
|
||||
workspaces:
|
||||
- name: output
|
||||
workspace: myworkspace
|
||||
params:
|
||||
- name: url
|
||||
value: https://github.com/AllardKrings/helloallard.git
|
||||
- name: deleteExisting
|
||||
value: "true"
|
||||
- name: build
|
||||
taskRef:
|
||||
name: buildah
|
||||
runAfter:
|
||||
- fetch-repository
|
||||
params:
|
||||
- name: IMAGE
|
||||
value: harbor.alldcs.nl/allard/helloallard
|
||||
- name: IMAGE_PUSH_SECRET_NAME
|
||||
value: harbor-credentials
|
||||
workspaces:
|
||||
- name: source
|
||||
workspace: myworkspace
|
||||
16
dev/tekton/examples/buildah/medium/pipelinerun.yaml
Executable file
16
dev/tekton/examples/buildah/medium/pipelinerun.yaml
Executable file
@@ -0,0 +1,16 @@
|
||||
apiVersion: tekton.dev/v1beta1
|
||||
kind: PipelineRun
|
||||
metadata:
|
||||
generateName: tutorial-pipeline-
|
||||
spec:
|
||||
pipelineRef:
|
||||
name: tutorial-pipeline
|
||||
workspaces:
|
||||
- name: myworkspace
|
||||
volumeClaimTemplate:
|
||||
spec:
|
||||
accessModes:
|
||||
- ReadWriteOnce
|
||||
resources:
|
||||
requests:
|
||||
storage: 50Mi
|
||||
Reference in New Issue
Block a user