compose-id,id and version-id labels

This commit is contained in:
Liora Milbaum 2024-01-31 13:04:37 +02:00
parent 93e5229da8
commit 86e8e3dd83
7 changed files with 34 additions and 0 deletions

View File

@ -29,6 +29,8 @@ spec:
value: . value: .
- name: revision - name: revision
value: "{{revision}}" value: "{{revision}}"
- name: config-file
value: "centos-bootc-config.json"
pipelineRef: pipelineRef:
name: ostree-build name: ostree-build
workspaces: workspaces:

View File

@ -29,6 +29,8 @@ spec:
value: . value: .
- name: revision - name: revision
value: "{{revision}}" value: "{{revision}}"
- name: config-file
value: "centos-bootc-config.json"
pipelineRef: pipelineRef:
name: ostree-build name: ostree-build
workspaces: workspaces:

View File

@ -29,6 +29,8 @@ spec:
value: . value: .
- name: revision - name: revision
value: "{{revision}}" value: "{{revision}}"
- name: config-file
value: "fedora-bootc-config.json"
pipelineRef: pipelineRef:
name: ostree-build name: ostree-build
workspaces: workspaces:

View File

@ -29,6 +29,8 @@ spec:
value: . value: .
- name: revision - name: revision
value: "{{revision}}" value: "{{revision}}"
- name: config-file
value: "fedora-bootc-config.json"
pipelineRef: pipelineRef:
name: ostree-build name: ostree-build
workspaces: workspaces:

View File

@ -74,6 +74,10 @@ spec:
Image tag expiration time, time values could be something like Image tag expiration time, time values could be something like
1h, 2d, 3w for hours, days, and weeks, respectively. 1h, 2d, 3w for hours, days, and weeks, respectively.
name: image-expires-after name: image-expires-after
- name: config-file
description: config file to use for rpm-ostree tool
type: string
default: ""
results: results:
- description: "" - description: ""
name: IMAGE_URL name: IMAGE_URL
@ -232,6 +236,8 @@ spec:
value: linux/amd64 value: linux/amd64
- name: BUILDER_IMAGE - name: BUILDER_IMAGE
value: quay.io/centos-bootc/builder:latest value: quay.io/centos-bootc/builder:latest
- name: CONFIG_FILE
value: $(params.config-file)
runAfter: runAfter:
- clone-repository - clone-repository
taskRef: taskRef:
@ -267,6 +273,8 @@ spec:
value: linux/arm64 value: linux/arm64
- name: BUILDER_IMAGE - name: BUILDER_IMAGE
value: quay.io/centos-bootc/builder:latest value: quay.io/centos-bootc/builder:latest
- name: CONFIG_FILE
value: $(params.config-file)
runAfter: runAfter:
- clone-repository-arm64 - clone-repository-arm64
taskRef: taskRef:
@ -302,6 +310,8 @@ spec:
value: linux/s390x value: linux/s390x
- name: BUILDER_IMAGE - name: BUILDER_IMAGE
value: quay.io/centos-bootc/builder:latest value: quay.io/centos-bootc/builder:latest
- name: CONFIG_FILE
value: $(params.config-file)
runAfter: runAfter:
- clone-repository-s390x - clone-repository-s390x
taskRef: taskRef:
@ -337,6 +347,8 @@ spec:
value: linux/ppc64le value: linux/ppc64le
- name: BUILDER_IMAGE - name: BUILDER_IMAGE
value: quay.io/centos-bootc/builder:latest value: quay.io/centos-bootc/builder:latest
- name: CONFIG_FILE
value: $(params.config-file)
runAfter: runAfter:
- clone-repository-ppc64le - clone-repository-ppc64le
taskRef: taskRef:

7
centos-bootc-config.json Normal file
View File

@ -0,0 +1,7 @@
{
"Labels": {
"redhat.compose-id": "CentOS-Stream-9-20240131.d.0",
"redhat.id": "centos",
"redhat.version-id": "9"
}
}

7
fedora-bootc-config.json Normal file
View File

@ -0,0 +1,7 @@
{
"Labels": {
"redhat.compose-id": "Fedora-ELN-20240131.1",
"redhat.id": "fedora",
"redhat.version-id": "ELN"
}
}