Skip to content

Commit

Permalink
Merge pull request #346 from ksimon1/fix-pipelineruns
Browse files Browse the repository at this point in the history
fix: fix PipelineRun examples
  • Loading branch information
ksimon1 authored Mar 14, 2024
2 parents 792f4f4 + 1e19f0a commit a1ec6e1
Show file tree
Hide file tree
Showing 9 changed files with 60 additions and 18 deletions.
2 changes: 1 addition & 1 deletion release/pipelines/windows-bios-installer/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ spec:
- name: type
value: artifact
- name: kind
value: task
value: pipeline
- name: name
value: windows-bios-installer
- name: version
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ spec:
- name: type
value: artifact
- name: kind
value: task
value: pipeline
- name: name
value: windows-bios-installer
- name: version
Expand Down
6 changes: 3 additions & 3 deletions release/pipelines/windows-customize/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ spec:
- name: type
value: artifact
- name: kind
value: task
value: pipeline
- name: name
value: windows-customize
- name: version
Expand Down Expand Up @@ -81,7 +81,7 @@ spec:
- name: type
value: artifact
- name: kind
value: task
value: pipeline
- name: name
value: windows-customize
- name: version
Expand Down Expand Up @@ -110,7 +110,7 @@ spec:
- name: type
value: artifact
- name: kind
value: task
value: pipeline
- name: name
value: windows-customize
- name: version
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ spec:
- name: type
value: artifact
- name: kind
value: task
value: pipeline
- name: name
value: windows-customize
- name: version
Expand Down Expand Up @@ -40,7 +40,7 @@ spec:
- name: type
value: artifact
- name: kind
value: task
value: pipeline
- name: name
value: windows-customize
- name: version
Expand All @@ -66,7 +66,7 @@ spec:
- name: type
value: artifact
- name: kind
value: task
value: pipeline
- name: name
value: windows-customize
- name: version
Expand Down
18 changes: 16 additions & 2 deletions release/pipelines/windows-efi-installer/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,12 +78,19 @@ spec:
- name: type
value: artifact
- name: kind
value: task
value: pipeline
- name: name
value: windows-efi-installer
- name: version
value: v0.19.0
resolver: hub
taskRunSpecs:
- pipelineTaskName: modify-windows-iso-file
podTemplate:
securityContext:
fsGroup: 1001
runAsGroup: 1001
runAsUser: 1001
EOF
```
```yaml
Expand Down Expand Up @@ -111,12 +118,19 @@ spec:
- name: type
value: artifact
- name: kind
value: task
value: pipeline
- name: name
value: windows-efi-installer
- name: version
value: v0.19.0
resolver: hub
taskRunSpecs:
- pipelineTaskName: modify-windows-iso-file
podTemplate:
securityContext:
fsGroup: 1001
runAsGroup: 1001
runAsUser: 1001
timeout: 1h0m0s
EOF
```
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,18 @@ spec:
- name: type
value: artifact
- name: kind
value: task
value: pipeline
- name: name
value: windows-efi-installer
- name: version
value: v0.19.0
taskRunSpecs:
- pipelineTaskName: "modify-windows-iso-file"
podTemplate:
securityContext:
runAsUser: 1001
runAsGroup: 1001
fsGroup: 1001
---
apiVersion: tekton.dev/v1
kind: PipelineRun
Expand All @@ -45,9 +52,16 @@ spec:
- name: type
value: artifact
- name: kind
value: task
value: pipeline
- name: name
value: windows-efi-installer
- name: version
value: v0.19.0
taskRunSpecs:
- pipelineTaskName: "modify-windows-iso-file"
podTemplate:
securityContext:
runAsUser: 1001
runAsGroup: 1001
fsGroup: 1001
timeout: 1h0m0s
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ spec:
- name: type
value: {{ catalog_type }}
- name: kind
value: task
value: pipeline
- name: name
value: {{ item.pipeline_name }}
- name: version
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ spec:
- name: type
value: {{ catalog_type }}
- name: kind
value: task
value: pipeline
- name: name
value: {{ item.pipeline_name }}
- name: version
Expand Down Expand Up @@ -40,7 +40,7 @@ spec:
- name: type
value: {{ catalog_type }}
- name: kind
value: task
value: pipeline
- name: name
value: {{ item.pipeline_name }}
- name: version
Expand All @@ -66,7 +66,7 @@ spec:
- name: type
value: {{ catalog_type }}
- name: kind
value: task
value: pipeline
- name: name
value: {{ item.pipeline_name }}
- name: version
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,18 @@ spec:
- name: type
value: {{ catalog_type }}
- name: kind
value: task
value: pipeline
- name: name
value: {{ item.pipeline_name }}
- name: version
value: {{ version }}
taskRunSpecs:
- pipelineTaskName: "modify-windows-iso-file"
podTemplate:
securityContext:
runAsUser: 1001
runAsGroup: 1001
fsGroup: 1001
---
apiVersion: tekton.dev/v1
kind: PipelineRun
Expand All @@ -45,9 +52,16 @@ spec:
- name: type
value: {{ catalog_type }}
- name: kind
value: task
value: pipeline
- name: name
value: {{ item.pipeline_name }}
- name: version
value: {{ version }}
taskRunSpecs:
- pipelineTaskName: "modify-windows-iso-file"
podTemplate:
securityContext:
runAsUser: 1001
runAsGroup: 1001
fsGroup: 1001
timeout: 1h0m0s

0 comments on commit a1ec6e1

Please sign in to comment.