Skip to content
This repository has been archived by the owner on May 24, 2024. It is now read-only.

Commit

Permalink
Merge pull request #237 from lmilbaum/labels
Browse files Browse the repository at this point in the history
compose-id,id and version-id labels
  • Loading branch information
lmilbaum authored Jan 31, 2024
2 parents 5373e9e + 86e8e3d commit 4a01677
Show file tree
Hide file tree
Showing 7 changed files with 34 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .tekton/centos-bootc-pull-request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ spec:
value: .
- name: revision
value: "{{revision}}"
- name: config-file
value: "centos-bootc-config.json"
pipelineRef:
name: ostree-build
workspaces:
Expand Down
2 changes: 2 additions & 0 deletions .tekton/centos-bootc-push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ spec:
value: .
- name: revision
value: "{{revision}}"
- name: config-file
value: "centos-bootc-config.json"
pipelineRef:
name: ostree-build
workspaces:
Expand Down
2 changes: 2 additions & 0 deletions .tekton/fedora-bootc-pull-request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ spec:
value: .
- name: revision
value: "{{revision}}"
- name: config-file
value: "fedora-bootc-config.json"
pipelineRef:
name: ostree-build
workspaces:
Expand Down
2 changes: 2 additions & 0 deletions .tekton/fedora-bootc-push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ spec:
value: .
- name: revision
value: "{{revision}}"
- name: config-file
value: "fedora-bootc-config.json"
pipelineRef:
name: ostree-build
workspaces:
Expand Down
12 changes: 12 additions & 0 deletions .tekton/ostree-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,10 @@ spec:
Image tag expiration time, time values could be something like
1h, 2d, 3w for hours, days, and weeks, respectively.
name: image-expires-after
- name: config-file
description: config file to use for rpm-ostree tool
type: string
default: ""
results:
- description: ""
name: IMAGE_URL
Expand Down Expand Up @@ -232,6 +236,8 @@ spec:
value: linux/amd64
- name: BUILDER_IMAGE
value: quay.io/centos-bootc/builder:latest
- name: CONFIG_FILE
value: $(params.config-file)
runAfter:
- clone-repository
taskRef:
Expand Down Expand Up @@ -267,6 +273,8 @@ spec:
value: linux/arm64
- name: BUILDER_IMAGE
value: quay.io/centos-bootc/builder:latest
- name: CONFIG_FILE
value: $(params.config-file)
runAfter:
- clone-repository-arm64
taskRef:
Expand Down Expand Up @@ -302,6 +310,8 @@ spec:
value: linux/s390x
- name: BUILDER_IMAGE
value: quay.io/centos-bootc/builder:latest
- name: CONFIG_FILE
value: $(params.config-file)
runAfter:
- clone-repository-s390x
taskRef:
Expand Down Expand Up @@ -337,6 +347,8 @@ spec:
value: linux/ppc64le
- name: BUILDER_IMAGE
value: quay.io/centos-bootc/builder:latest
- name: CONFIG_FILE
value: $(params.config-file)
runAfter:
- clone-repository-ppc64le
taskRef:
Expand Down
7 changes: 7 additions & 0 deletions centos-bootc-config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"Labels": {
"redhat.compose-id": "CentOS-Stream-9-20240131.d.0",
"redhat.id": "centos",
"redhat.version-id": "9"
}
}
7 changes: 7 additions & 0 deletions fedora-bootc-config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"Labels": {
"redhat.compose-id": "Fedora-ELN-20240131.1",
"redhat.id": "fedora",
"redhat.version-id": "ELN"
}
}

0 comments on commit 4a01677

Please sign in to comment.