Skip to content

Commit 5807833

Browse files
andrewschoenbigjust
authored andcommitted
konflux: add rpms.in.yaml and rpms.repo
Signed-off-by: Andrew Schoen <[email protected]>
1 parent ce0f446 commit 5807833

File tree

4 files changed

+51
-0
lines changed

4 files changed

+51
-0
lines changed

.tekton/grafana-5-3-pull-request.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@ spec:
3434
value: Dockerfile
3535
- name: path-context
3636
value: .
37+
- name: prefetch-input
38+
value: '{"type": "rpm", "path": "."}'
3739
pipelineSpec:
3840
description: |
3941
This pipeline is ideal for building multi-arch container images from a Containerfile while maintaining trust after pipeline customization.
@@ -193,6 +195,8 @@ spec:
193195
value: $(params.output-image).prefetch
194196
- name: ociArtifactExpiresAfter
195197
value: $(params.image-expires-after)
198+
- name: dev-package-managers
199+
value: "true"
196200
runAfter:
197201
- clone-repository
198202
taskRef:

.tekton/grafana-5-3-push.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,8 @@ spec:
3131
value: Dockerfile
3232
- name: path-context
3333
value: .
34+
- name: prefetch-input
35+
value: '{"type": "rpm", "path": "."}'
3436
pipelineSpec:
3537
description: |
3638
This pipeline is ideal for building multi-arch container images from a Containerfile while maintaining trust after pipeline customization.
@@ -190,6 +192,8 @@ spec:
190192
value: $(params.output-image).prefetch
191193
- name: ociArtifactExpiresAfter
192194
value: $(params.image-expires-after)
195+
- name: dev-package-managers
196+
value: "true"
193197
runAfter:
194198
- clone-repository
195199
taskRef:

rpms.in.yaml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
contentOrigin:
2+
repofiles:
3+
- ./rpms.repo
4+
context:
5+
bare: true
6+
7+
arches:
8+
- x86_64
9+
- ppc64le
10+
- s390x
11+
12+
# taken from install package list in Dockerfile
13+
packages:
14+
- ceph-grafana-dashboards
15+
- shadow-utils

rpms.repo

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
[rhceph-5-tools-for-rhel-8-$arch-rpms]
2+
name=rhceph-5-tools-for-rhel-8-$arch-rpms
3+
baseurl=https://rhsm-pulp.corp.redhat.com/content/dist/layered/rhel8/$basearch/rhceph-tools/5/os
4+
enabled=1
5+
gpgcheck=1
6+
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
7+
8+
[rhel-8-for-$arch-baseos-rpms]
9+
name=rhel-8-for-$basearch-baseos-rpms
10+
baseurl=https://rhsm-pulp.corp.redhat.com/content/dist/rhel8/8/$basearch/baseos/os
11+
enabled=1
12+
gpgcheck=1
13+
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
14+
15+
[rhel-8-for-$arch-appstream-rpms]
16+
name=rhel-8-for-$basearch-appstream-rpms
17+
baseurl=https://rhsm-pulp.corp.redhat.com/content/dist/rhel8/8/$basearch/appstream/os
18+
enabled=1
19+
gpgcheck=1
20+
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
21+
22+
#[codeready-builder-for-rhel-9-$basearch-rpms]
23+
#name=codeready-builder-for-rhel-9-$basearch-rpms
24+
#baseurl=https://rhsm-pulp.corp.redhat.com/content/dist/rhel9/9/$basearch/codeready-builder/os
25+
#enabled=1
26+
#gpgcheck=1
27+
#gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
28+

0 commit comments

Comments
 (0)