Skip to content

Commit 329859a

Browse files
committed
Update rpm for git-init for 1-18
Signed-off-by: savitaashture <[email protected]>
1 parent f6be75d commit 329859a

File tree

2,689 files changed

+2641
-978857
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

2,689 files changed

+2641
-978857
lines changed

.konflux/README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# `konflux-ci` manifests
2+
3+
This folder contains [`konflux-ci`](konfluxci) configuration that is synced with the downstream `tenants-config`.
4+
5+
[konfluxci]: https://konflux-ci.dev/
6+
Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
ARG GO_BUILDER=brew.registry.redhat.io/rh-osbs/openshift-golang-builder:v1.23
2+
ARG RUNTIME=registry.access.redhat.com/ubi9/ubi-minimal@sha256:ac61c96b93894b9169221e87718733354dd3765dd4a62b275893c7ff0d876869
3+
4+
FROM $GO_BUILDER AS builder
5+
6+
WORKDIR /go/src/github.com/tektoncd-catalog/git-clone
7+
COPY upstream .
8+
COPY .konflux/patches patches/
9+
RUN set -e; for f in patches/*.patch; do echo ${f}; [[ -f ${f} ]] || continue; git apply ${f}; done
10+
COPY head HEAD
11+
ENV GODEBUG="http2server=0"
12+
ENV GOEXPERIMENT=strictfipsruntime
13+
RUN cd image/git-init && go build -ldflags="-X 'knative.dev/pkg/changeset.rev=$(cat HEAD)'" -mod=vendor -tags disable_gcp -tags strictfipsruntime -v -o /tmp/tektoncd-catalog-git-clone
14+
15+
FROM $RUNTIME
16+
ARG VERSION=git-init-1.18.1
17+
18+
ENV BINARY=git-init \
19+
KO_APP=/ko-app \
20+
KO_DATA_PATH=/kodata
21+
22+
RUN dnf install -y openssh-clients git git-lfs shadow-utils
23+
24+
COPY --from=builder /tmp/tektoncd-catalog-git-clone ${KO_APP}/${BINARY}
25+
COPY head ${KO_DATA_PATH}/HEAD
26+
RUN chgrp -R 0 ${KO_APP} && \
27+
chmod -R g+rwX ${KO_APP}
28+
29+
LABEL \
30+
com.redhat.component="openshift-pipelines-git-init-rhel9-container" \
31+
name="openshift-pipelines/pipelines-git-init-rhel9" \
32+
version=$VERSION \
33+
summary="Red Hat OpenShift Pipelines Git-init" \
34+
maintainer="[email protected]" \
35+
description="Red Hat OpenShift Pipelines Git-init" \
36+
io.k8s.display-name="Red Hat OpenShift Pipelines Git-init" \
37+
io.k8s.description="git-init is a binary that makes it easy to clone a repository from a Tekton Task. It is usually used via the git-clone Tasks." \
38+
io.openshift.tags="pipelines,tekton,openshift"
39+
40+
RUN groupadd -r -g 65532 nonroot && useradd --no-log-init -r -u 65532 -g nonroot -d /home/git -m nonroot
41+
USER 65532
42+
43+
ENTRYPOINT ["/ko-app/git-init"]

.konflux/patches/.placeholder

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+

.konflux/rpms/rpms.in.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
contentOrigin:
2+
repofiles:
3+
- ./ubi.repo
4+
packages: [openssh-clients, git, git-lfs, shadow-utils, expat]
5+
arches:
6+
# The list of architectures
7+
- aarch64
8+
- x86_64
9+
- ppc64le
10+
- s390x

.konflux/rpms/rpms.lock.yaml

Lines changed: 2519 additions & 0 deletions
Large diffs are not rendered by default.

.konflux/rpms/ubi.repo

Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
[ubi-9-for-$basearch-baseos-rpms]
2+
name = Red Hat Universal Base Image 9 (RPMs) - BaseOS
3+
baseurl = https://cdn-ubi.redhat.com/content/public/ubi/dist/ubi9/9/$basearch/baseos/os
4+
enabled = 1
5+
gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
6+
gpgcheck = 1
7+
8+
[ubi-9-for-$basearch-baseos-debug-rpms]
9+
name = Red Hat Universal Base Image 9 (Debug RPMs) - BaseOS
10+
baseurl = https://cdn-ubi.redhat.com/content/public/ubi/dist/ubi9/9/$basearch/baseos/debug
11+
enabled = 0
12+
gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
13+
gpgcheck = 1
14+
15+
[ubi-9-for-$basearch-baseos-source-rpms]
16+
name = Red Hat Universal Base Image 9 (Source RPMs) - BaseOS
17+
baseurl = https://cdn-ubi.redhat.com/content/public/ubi/dist/ubi9/9/$basearch/baseos/source/SRPMS
18+
enabled = 0
19+
gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
20+
gpgcheck = 1
21+
22+
[ubi-9-for-$basearch-appstream-rpms]
23+
name = Red Hat Universal Base Image 9 (RPMs) - AppStream
24+
baseurl = https://cdn-ubi.redhat.com/content/public/ubi/dist/ubi9/9/$basearch/appstream/os
25+
enabled = 1
26+
gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
27+
gpgcheck = 1
28+
29+
[ubi-9-for-$basearch-appstream-debug-rpms]
30+
name = Red Hat Universal Base Image 9 (Debug RPMs) - AppStream
31+
baseurl = https://cdn-ubi.redhat.com/content/public/ubi/dist/ubi9/9/$basearch/appstream/debug
32+
enabled = 0
33+
gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
34+
gpgcheck = 1
35+
36+
[ubi-9-for-$basearch-appstream-source-rpms]
37+
name = Red Hat Universal Base Image 9 (Source RPMs) - AppStream
38+
baseurl = https://cdn-ubi.redhat.com/content/public/ubi/dist/ubi9/9/$basearch/appstream/source/SRPMS
39+
enabled = 0
40+
gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
41+
gpgcheck = 1
42+
43+
[ubi-9-for-$basearch-codeready-builder-rpms]
44+
name = Red Hat Universal Base Image 9 (RPMs) - CodeReady Builder
45+
baseurl = https://cdn-ubi.redhat.com/content/public/ubi/dist/ubi9/9/$basearch/codeready-builder/os
46+
enabled = 1
47+
gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
48+
gpgcheck = 1
49+
50+
[ubi-9-for-$basearch-codeready-builder-debug-rpms]
51+
name = Red Hat Universal Base Image 9 (Debug RPMs) - CodeReady Builder
52+
baseurl = https://cdn-ubi.redhat.com/content/public/ubi/dist/ubi9/9/$basearch/codeready-builder/debug
53+
enabled = 0
54+
gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
55+
gpgcheck = 1
56+
57+
[ubi-9-for-$basearch-codeready-builder-source-rpms]
58+
name = Red Hat Universal Base Image 9 (Source RPMs) - CodeReady Builder
59+
baseurl = https://cdn-ubi.redhat.com/content/public/ubi/dist/ubi9/9/$basearch/codeready-builder/source/SRPMS
60+
enabled = 0
61+
gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
62+
gpgcheck = 1

image/git-init/.ko.yaml

Lines changed: 0 additions & 5 deletions
This file was deleted.

0 commit comments

Comments
 (0)