redhatqe / ocp-gitlab-runner Goto Github PK
View Code? Open in Web Editor NEWOpenShift template for GitLab Runner with Kubernetes executor
License: Apache License 2.0
OpenShift template for GitLab Runner with Kubernetes executor
License: Apache License 2.0
Running the template as:
oc process -f https://raw.githubusercontent.com/RedHatQE/ocp-gitlab-runner/latest/ocp-gitlab-runner-template.yaml
-p NAME="gitlab-runner"
-p GITLAB_RUNNER_VERSION="v13.9.0"
-p GITLAB_HOST="gitlab.xxxxx.com"
-p REGISTRATION_TOKEN="$(echo -n xxxxxxxxxxxxxx | base64)"
-p CONCURRENT="2" | oc create -f -
The build fails with the output:
Pulling image registry.access.redhat.com/ubi8-minimal:8.3 ...
Pulling image registry.access.redhat.com/ubi8:8.3 ...
--> FROM registry.access.redhat.com/ubi8:8.3 as builder
--> ARG GITLAB_RUNNER_VERSION
--> ENV GITLAB_RUNNER_VERSION=${GITLAB_RUNNER_VERSION:-"master"} GITLAB_REPO=https://gitlab.com/gitlab-org/gitlab-runner.git PATH=$PATH:/root/go/bin/
--> RUN dnf install -y git-core make go && git clone --depth=1 --branch=${GITLAB_RUNNER_VERSION} ${GITLAB_REPO} && cd gitlab-runner && make helper-bin-host && chmod a+x out/binaries/gitlab-runner-helper/gitlab-runner-helper.x86_64 && out/binaries/gitlab-runner-helper/gitlab-runner-helper.x86_64 --version
Updating Subscription Management repositories.
Unable to read consumer identity
Subscription Manager is operating in container mode.
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
Red Hat Universal Base Image 8 (RPMs) - BaseOS 4.4 MB/s | 775 kB 00:00
Red Hat Universal Base Image 8 (RPMs) - AppStre 25 MB/s | 5.1 MB 00:00
Red Hat Universal Base Image 8 (RPMs) - CodeRea 105 kB/s | 13 kB 00:00
Dependencies resolved.
============================================================================================
Package Arch Version Repository Size
============================================================================================
Installing:
git-core x86_64 2.27.0-1.el8 ubi-8-appstream 5.7 M
golang x86_64 1.14.12-1.module+el8.3.0+8784+380394dc ubi-8-appstream 703 k
make x86_64 1:4.2.1-10.el8 ubi-8-baseos 498 k
Installing dependencies:
binutils x86_64 2.30-79.el8 ubi-8-baseos 5.7 M
cpp x86_64 8.3.1-5.1.el8 ubi-8-appstream 10 M
gcc x86_64 8.3.1-5.1.el8 ubi-8-appstream 23 M
glibc-devel x86_64 2.28-127.el8_3.2 ubi-8-baseos 1.0 M
glibc-headers x86_64 2.28-127.el8_3.2 ubi-8-baseos 476 k
golang-bin x86_64 1.14.12-1.module+el8.3.0+8784+380394dc ubi-8-appstream 91 M
golang-src noarch 1.14.12-1.module+el8.3.0+8784+380394dc ubi-8-appstream 7.6 M
isl x86_64 0.16.1-6.el8 ubi-8-appstream 841 k
kernel-headers x86_64 4.18.0-240.15.1.el8_3 ubi-8-baseos 5.6 M
keyutils-libs-devel x86_64 1.5.10-6.el8 ubi-8-baseos 48 k
krb5-devel x86_64 1.18.2-5.el8 ubi-8-baseos 558 k
less x86_64 530-1.el8 ubi-8-baseos 164 k
libcom_err-devel x86_64 1.45.6-1.el8 ubi-8-baseos 38 k
libedit x86_64 3.1-23.20170329cvs.el8 ubi-8-baseos 102 k
libgomp x86_64 8.3.1-5.1.el8 ubi-8-baseos 204 k
libkadm5 x86_64 1.18.2-5.el8 ubi-8-baseos 185 k
libmpc x86_64 1.0.2-9.el8 ubi-8-appstream 59 k
libpkgconf x86_64 1.4.2-1.el8 ubi-8-baseos 35 k
libselinux-devel x86_64 2.9-4.el8_3 ubi-8-baseos 199 k
libsepol-devel x86_64 2.9-1.el8 ubi-8-baseos 86 k
libverto-devel x86_64 0.3.0-5.el8 ubi-8-baseos 18 k
libxcrypt-devel x86_64 4.1.1-4.el8 ubi-8-baseos 25 k
openssh x86_64 8.0p1-5.el8 ubi-8-baseos 520 k
openssh-clients x86_64 8.0p1-5.el8 ubi-8-baseos 666 k
openssl-devel x86_64 1:1.1.1g-12.el8_3 ubi-8-baseos 2.3 M
pcre2-devel x86_64 10.32-2.el8 ubi-8-baseos 605 k
pcre2-utf16 x86_64 10.32-2.el8 ubi-8-baseos 229 k
pcre2-utf32 x86_64 10.32-2.el8 ubi-8-baseos 220 k
pkgconf x86_64 1.4.2-1.el8 ubi-8-baseos 38 k
pkgconf-m4 noarch 1.4.2-1.el8 ubi-8-baseos 17 k
pkgconf-pkg-config x86_64 1.4.2-1.el8 ubi-8-baseos 15 k
zlib-devel x86_64 1.2.11-16.el8_2 ubi-8-baseos 57 k
Enabling module streams:
go-toolset rhel8
Transaction Summary
============================================================================================
Install 35 Packages
Total download size: 158 M
Installed size: 485 M
Downloading Packages:
(1/35): less-530-1.el8.x86_64.rpm 2.3 MB/s | 164 kB 00:00
(2/35): openssh-8.0p1-5.el8.x86_64.rpm 6.0 MB/s | 520 kB 00:00
(3/35): libselinux-devel-2.9-4.el8_3.x86_64.rpm 13 MB/s | 199 kB 00:00
(4/35): glibc-headers-2.28-127.el8_3.2.x86_64.r 13 MB/s | 476 kB 00:00
(5/35): libedit-3.1-23.20170329cvs.el8.x86_64.r 9.2 MB/s | 102 kB 00:00
(6/35): libverto-devel-0.3.0-5.el8.x86_64.rpm 854 kB/s | 18 kB 00:00
(7/35): openssl-devel-1.1.1g-12.el8_3.x86_64.rp 16 MB/s | 2.3 MB 00:00
(8/35): glibc-devel-2.28-127.el8_3.2.x86_64.rpm 24 MB/s | 1.0 MB 00:00
(9/35): libpkgconf-1.4.2-1.el8.x86_64.rpm 1.3 MB/s | 35 kB 00:00
(10/35): krb5-devel-1.18.2-5.el8.x86_64.rpm 20 MB/s | 558 kB 00:00
(11/35): zlib-devel-1.2.11-16.el8_2.x86_64.rpm 3.2 MB/s | 57 kB 00:00
(12/35): keyutils-libs-devel-1.5.10-6.el8.x86_6 2.4 MB/s | 48 kB 00:00
(13/35): make-4.2.1-10.el8.x86_64.rpm 29 MB/s | 498 kB 00:00
(14/35): libsepol-devel-2.9-1.el8.x86_64.rpm 8.2 MB/s | 86 kB 00:00
(15/35): pcre2-utf16-10.32-2.el8.x86_64.rpm 5.5 MB/s | 229 kB 00:00
(16/35): pkgconf-m4-1.4.2-1.el8.noarch.rpm 1.5 MB/s | 17 kB 00:00
(17/35): libcom_err-devel-1.45.6-1.el8.x86_64.r 2.5 MB/s | 38 kB 00:00
(18/35): pkgconf-1.4.2-1.el8.x86_64.rpm 1.5 MB/s | 38 kB 00:00
(19/35): pcre2-utf32-10.32-2.el8.x86_64.rpm 15 MB/s | 220 kB 00:00
(20/35): libkadm5-1.18.2-5.el8.x86_64.rpm 14 MB/s | 185 kB 00:00
(21/35): pkgconf-pkg-config-1.4.2-1.el8.x86_64. 1.9 MB/s | 15 kB 00:00
(22/35): pcre2-devel-10.32-2.el8.x86_64.rpm 24 MB/s | 605 kB 00:00
(23/35): libgomp-8.3.1-5.1.el8.x86_64.rpm 15 MB/s | 204 kB 00:00
(24/35): openssh-clients-8.0p1-5.el8.x86_64.rpm 14 MB/s | 666 kB 00:00
(25/35): binutils-2.30-79.el8.x86_64.rpm 33 MB/s | 5.7 MB 00:00
(26/35): libxcrypt-devel-4.1.1-4.el8.x86_64.rpm 873 kB/s | 25 kB 00:00
(27/35): libmpc-1.0.2-9.el8.x86_64.rpm 6.5 MB/s | 59 kB 00:00
(28/35): isl-0.16.1-6.el8.x86_64.rpm 29 MB/s | 841 kB 00:00
(29/35): kernel-headers-4.18.0-240.15.1.el8_3.x 35 MB/s | 5.6 MB 00:00
(30/35): git-core-2.27.0-1.el8.x86_64.rpm 33 MB/s | 5.7 MB 00:00
(31/35): cpp-8.3.1-5.1.el8.x86_64.rpm 38 MB/s | 10 MB 00:00
(32/35): golang-1.14.12-1.module+el8.3.0+8784+3 30 MB/s | 703 kB 00:00
(33/35): golang-src-1.14.12-1.module+el8.3.0+87 33 MB/s | 7.6 MB 00:00
(34/35): gcc-8.3.1-5.1.el8.x86_64.rpm 34 MB/s | 23 MB 00:00
(35/35): golang-bin-1.14.12-1.module+el8.3.0+87 70 MB/s | 91 MB 00:01
--------------------------------------------------------------------------------
Total 77 MB/s | 158 MB 00:02
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
Running scriptlet: golang-1.14.12-1.module+el8.3.0+8784+380394dc.x86_64 1/1
Preparing : 1/1
Installing : libmpc-1.0.2-9.el8.x86_64 1/35
Running scriptlet: libmpc-1.0.2-9.el8.x86_64 1/35
Installing : cpp-8.3.1-5.1.el8.x86_64 2/35
Running scriptlet: cpp-8.3.1-5.1.el8.x86_64 2/35
Installing : golang-src-1.14.12-1.module+el8.3.0+8784+380394dc. 3/35
Installing : isl-0.16.1-6.el8.x86_64 4/35
Running scriptlet: isl-0.16.1-6.el8.x86_64 4/35
Installing : kernel-headers-4.18.0-240.15.1.el8_3.x86_64 5/35
Running scriptlet: glibc-headers-2.28-127.el8_3.2.x86_64 6/35
Installing : glibc-headers-2.28-127.el8_3.2.x86_64 6/35
Installing : libgomp-8.3.1-5.1.el8.x86_64 7/35
Running scriptlet: libgomp-8.3.1-5.1.el8.x86_64 7/35
Installing : libkadm5-1.18.2-5.el8.x86_64 8/35
Installing : pcre2-utf32-10.32-2.el8.x86_64 9/35
Installing : pkgconf-m4-1.4.2-1.el8.noarch 10/35
Installing : binutils-2.30-79.el8.x86_64 11/35
Running scriptlet: binutils-2.30-79.el8.x86_64 11/35
Installing : pcre2-utf16-10.32-2.el8.x86_64 12/35
Installing : keyutils-libs-devel-1.5.10-6.el8.x86_64 13/35
Installing : libpkgconf-1.4.2-1.el8.x86_64 14/35
Installing : pkgconf-1.4.2-1.el8.x86_64 15/35
Installing : pkgconf-pkg-config-1.4.2-1.el8.x86_64 16/35
Installing : libverto-devel-0.3.0-5.el8.x86_64 17/35
Installing : zlib-devel-1.2.11-16.el8_2.x86_64 18/35
Installing : libsepol-devel-2.9-1.el8.x86_64 19/35
Installing : libcom_err-devel-1.45.6-1.el8.x86_64 20/35
Installing : pcre2-devel-10.32-2.el8.x86_64 21/35
Installing : libselinux-devel-2.9-4.el8_3.x86_64 22/35
Installing : krb5-devel-1.18.2-5.el8.x86_64 23/35
Installing : openssl-devel-1:1.1.1g-12.el8_3.x86_64 24/35
Installing : glibc-devel-2.28-127.el8_3.2.x86_64 25/35
Running scriptlet: glibc-devel-2.28-127.el8_3.2.x86_64 25/35
Installing : libxcrypt-devel-4.1.1-4.el8.x86_64 26/35
Installing : gcc-8.3.1-5.1.el8.x86_64 27/35
Running scriptlet: gcc-8.3.1-5.1.el8.x86_64 27/35
Installing : golang-bin-1.14.12-1.module+el8.3.0+8784+380394dc. 28/35
Installing : golang-1.14.12-1.module+el8.3.0+8784+380394dc.x86_ 29/35
Installing : libedit-3.1-23.20170329cvs.el8.x86_64 30/35
Installing : less-530-1.el8.x86_64 31/35
Running scriptlet: openssh-8.0p1-5.el8.x86_64 32/35
Installing : openssh-8.0p1-5.el8.x86_64 32/35
Installing : openssh-clients-8.0p1-5.el8.x86_64 33/35
Installing : git-core-2.27.0-1.el8.x86_64 34/35
Installing : make-1:4.2.1-10.el8.x86_64 35/35
Running scriptlet: make-1:4.2.1-10.el8.x86_64 35/35
Verifying : openssl-devel-1:1.1.1g-12.el8_3.x86_64 1/35
Verifying : openssh-8.0p1-5.el8.x86_64 2/35
Verifying : less-530-1.el8.x86_64 3/35
Verifying : glibc-headers-2.28-127.el8_3.2.x86_64 4/35
Verifying : libselinux-devel-2.9-4.el8_3.x86_64 5/35
Verifying : libedit-3.1-23.20170329cvs.el8.x86_64 6/35
Verifying : libverto-devel-0.3.0-5.el8.x86_64 7/35
Verifying : glibc-devel-2.28-127.el8_3.2.x86_64 8/35
Verifying : libpkgconf-1.4.2-1.el8.x86_64 9/35
Verifying : krb5-devel-1.18.2-5.el8.x86_64 10/35
Verifying : keyutils-libs-devel-1.5.10-6.el8.x86_64 11/35
Verifying : zlib-devel-1.2.11-16.el8_2.x86_64 12/35
Verifying : pcre2-utf16-10.32-2.el8.x86_64 13/35
Verifying : binutils-2.30-79.el8.x86_64 14/35
Verifying : make-1:4.2.1-10.el8.x86_64 15/35
Verifying : libsepol-devel-2.9-1.el8.x86_64 16/35
Verifying : pkgconf-m4-1.4.2-1.el8.noarch 17/35
Verifying : pkgconf-1.4.2-1.el8.x86_64 18/35
Verifying : libcom_err-devel-1.45.6-1.el8.x86_64 19/35
Verifying : pcre2-utf32-10.32-2.el8.x86_64 20/35
Verifying : libkadm5-1.18.2-5.el8.x86_64 21/35
Verifying : pcre2-devel-10.32-2.el8.x86_64 22/35
Verifying : pkgconf-pkg-config-1.4.2-1.el8.x86_64 23/35
Verifying : libgomp-8.3.1-5.1.el8.x86_64 24/35
Verifying : openssh-clients-8.0p1-5.el8.x86_64 25/35
Verifying : kernel-headers-4.18.0-240.15.1.el8_3.x86_64 26/35
Verifying : libxcrypt-devel-4.1.1-4.el8.x86_64 27/35
Verifying : libmpc-1.0.2-9.el8.x86_64 28/35
Verifying : isl-0.16.1-6.el8.x86_64 29/35
Verifying : gcc-8.3.1-5.1.el8.x86_64 30/35
Verifying : git-core-2.27.0-1.el8.x86_64 31/35
Verifying : cpp-8.3.1-5.1.el8.x86_64 32/35
Verifying : golang-src-1.14.12-1.module+el8.3.0+8784+380394dc. 33/35
Verifying : golang-1.14.12-1.module+el8.3.0+8784+380394dc.x86_ 34/35
Verifying : golang-bin-1.14.12-1.module+el8.3.0+8784+380394dc. 35/35
Installed products updated.
Installed:
binutils-2.30-79.el8.x86_64
cpp-8.3.1-5.1.el8.x86_64
gcc-8.3.1-5.1.el8.x86_64
git-core-2.27.0-1.el8.x86_64
glibc-devel-2.28-127.el8_3.2.x86_64
glibc-headers-2.28-127.el8_3.2.x86_64
golang-1.14.12-1.module+el8.3.0+8784+380394dc.x86_64
golang-bin-1.14.12-1.module+el8.3.0+8784+380394dc.x86_64
golang-src-1.14.12-1.module+el8.3.0+8784+380394dc.noarch
isl-0.16.1-6.el8.x86_64
kernel-headers-4.18.0-240.15.1.el8_3.x86_64
keyutils-libs-devel-1.5.10-6.el8.x86_64
krb5-devel-1.18.2-5.el8.x86_64
less-530-1.el8.x86_64
libcom_err-devel-1.45.6-1.el8.x86_64
libedit-3.1-23.20170329cvs.el8.x86_64
libgomp-8.3.1-5.1.el8.x86_64
libkadm5-1.18.2-5.el8.x86_64
libmpc-1.0.2-9.el8.x86_64
libpkgconf-1.4.2-1.el8.x86_64
libselinux-devel-2.9-4.el8_3.x86_64
libsepol-devel-2.9-1.el8.x86_64
libverto-devel-0.3.0-5.el8.x86_64
libxcrypt-devel-4.1.1-4.el8.x86_64
make-1:4.2.1-10.el8.x86_64
openssh-8.0p1-5.el8.x86_64
openssh-clients-8.0p1-5.el8.x86_64
openssl-devel-1:1.1.1g-12.el8_3.x86_64
pcre2-devel-10.32-2.el8.x86_64
pcre2-utf16-10.32-2.el8.x86_64
pcre2-utf32-10.32-2.el8.x86_64
pkgconf-1.4.2-1.el8.x86_64
pkgconf-m4-1.4.2-1.el8.noarch
pkgconf-pkg-config-1.4.2-1.el8.x86_64
zlib-devel-1.2.11-16.el8_2.x86_64
Complete!
Cloning into 'gitlab-runner'...
Note: switching to '2ebc4dc45bd6065afa304a5bfdb846334981529e'.
You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by switching back to a branch.
If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -c with the switch command. Example:
git switch -c <new-branch-name>
Or undo this operation with:
git switch -
Turn off this advice by setting config variable advice.detachedHead to false
make: tput: Command not found
make: tput: Command not found
make: tput: Command not found
make: tput: Command not found
go get github.com/mitchellh/gox
go: downloading github.com/mitchellh/gox v1.0.1
go: downloading github.com/mitchellh/iochan v1.0.0
go: downloading github.com/hashicorp/go-version v1.2.0
gox -osarch=linux/amd64 -ldflags "-X gitlab.com/gitlab-org/gitlab-runner/common.NAME=gitlab-runner -X gitlab.com/gitlab-org/gitlab-runner/common.VERSION=13.9.0 -X gitlab.com/gitlab-org/gitlab-runner/common.REVISION=2ebc4dc4 -X gitlab.com/gitlab-org/gitlab-runner/common.BUILT=2021-02-24T07:45:01+0000 -X gitlab.com/gitlab-org/gitlab-runner/common.BRANCH= -s -w" -output=out/binaries/gitlab-runner-helper/gitlab-runner-helper.x86_64 gitlab.com/gitlab-org/gitlab-runner/apps/gitlab-runner-helper
Number of parallel builds: 15
--> linux/amd64: gitlab.com/gitlab-org/gitlab-runner/apps/gitlab-runner-helper
Version: 13.9.0
Git revision: 2ebc4dc4
Git branch:
GO version: go1.14.12
Built: 2021-02-24T07:45:01+0000
OS/Arch: linux/amd64
--> FROM registry.access.redhat.com/ubi8-minimal:8.3 as 1
--> COPY --from=builder /gitlab-runner/out/binaries/gitlab-runner-helper/gitlab-runner-helper.x86_64 /usr/bin/gitlab-runner-helper
--> COPY --from=builder /gitlab-runner/dockerfiles/runner-helper/scripts/ /usr/bin
--> ENV HOME=/home/workspace
--> WORKDIR $HOME
--> RUN microdnf --disableplugin=subscription-manager install -y git-core git-lfs perl-interpreter --nodocs && microdnf clean all && chgrp -R 0 $HOME && chmod -R g=u $HOME
/bin/sh: line 0: cd: /home/workspace: No such file or directory
error: build error: running 'microdnf --disableplugin=subscription-manager install -y git-core git-lfs perl-interpreter --nodocs && microdnf clean all && chgrp -R 0 $HOME && chmod -R g=u $HOME' failed with exit code 1
hi,
i am not able to proceed with the 2 dockerfiles for the runner and the helper because i received this error :
Errors during downloading metadata for repository 'ubi-8-baseos':
i tried to run the command : dnf install -y git make go inside the ubi8:8.2 image but it is the same.
i cleaned the cache, dnf but the issue is still present
i cannot unregister and register the subscription because it is disabled inside a container
can you help me about this issue ?
thanks a lot
ludo
Running the template as:
oc process -f https://raw.githubusercontent.com/RedHatQE/ocp-gitlab-runner/latest/ocp-gitlab-runner-template.yaml
-p NAME="gitlab-runner"
-p GITLAB_RUNNER_VERSION="v13.9.0"
-p GITLAB_HOST="gitlab.xxxxx.com"
-p REGISTRATION_TOKEN="$(echo -n xxxxxxxxxxxxxx | base64)"
-p CONCURRENT="2" | oc create -f -
The build fails with the output:
Pulling image registry.access.redhat.com/ubi8-minimal:8.3 ...
Pulled 2/2 layers, 100% complete
Extracting
Pulling image registry.access.redhat.com/ubi8:8.3 ...
Pulled 1/2 layers, 88% complete
Pulled 2/2 layers, 100% complete
Extracting
--> FROM registry.access.redhat.com/ubi8:8.3 as builder
--> ARG GITLAB_RUNNER_VERSION
--> ENV GITLAB_RUNNER_VERSION=${GITLAB_RUNNER_VERSION:-"master"} GITLAB_REPO=https://gitlab.com/gitlab-org/gitlab-runner.git PATH=$PATH:/root/go/bin/
--> RUN dnf install -y git-core make go && git clone --depth=1 --branch=${GITLAB_RUNNER_VERSION} ${GITLAB_REPO} && cd gitlab-runner && make runner-bin-host && chmod a+x out/binaries/gitlab-runner && out/binaries/gitlab-runner --version
Updating Subscription Management repositories.
Unable to read consumer identity
Subscription Manager is operating in container mode.
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
Red Hat Universal Base Image 8 (RPMs) - BaseOS 4.7 MB/s | 775 kB 00:00
Red Hat Universal Base Image 8 (RPMs) - AppStre 27 MB/s | 5.1 MB 00:00
Red Hat Universal Base Image 8 (RPMs) - CodeRea 131 kB/s | 13 kB 00:00
Dependencies resolved.
============================================================================================
Package Arch Version Repository Size
============================================================================================
Installing:
git-core x86_64 2.27.0-1.el8 ubi-8-appstream 5.7 M
golang x86_64 1.14.12-1.module+el8.3.0+8784+380394dc ubi-8-appstream 703 k
make x86_64 1:4.2.1-10.el8 ubi-8-baseos 498 k
Installing dependencies:
binutils x86_64 2.30-79.el8 ubi-8-baseos 5.7 M
cpp x86_64 8.3.1-5.1.el8 ubi-8-appstream 10 M
gcc x86_64 8.3.1-5.1.el8 ubi-8-appstream 23 M
glibc-devel x86_64 2.28-127.el8_3.2 ubi-8-baseos 1.0 M
glibc-headers x86_64 2.28-127.el8_3.2 ubi-8-baseos 476 k
golang-bin x86_64 1.14.12-1.module+el8.3.0+8784+380394dc ubi-8-appstream 91 M
golang-src noarch 1.14.12-1.module+el8.3.0+8784+380394dc ubi-8-appstream 7.6 M
isl x86_64 0.16.1-6.el8 ubi-8-appstream 841 k
kernel-headers x86_64 4.18.0-240.15.1.el8_3 ubi-8-baseos 5.6 M
keyutils-libs-devel x86_64 1.5.10-6.el8 ubi-8-baseos 48 k
krb5-devel x86_64 1.18.2-5.el8 ubi-8-baseos 558 k
less x86_64 530-1.el8 ubi-8-baseos 164 k
libcom_err-devel x86_64 1.45.6-1.el8 ubi-8-baseos 38 k
libedit x86_64 3.1-23.20170329cvs.el8 ubi-8-baseos 102 k
libgomp x86_64 8.3.1-5.1.el8 ubi-8-baseos 204 k
libkadm5 x86_64 1.18.2-5.el8 ubi-8-baseos 185 k
libmpc x86_64 1.0.2-9.el8 ubi-8-appstream 59 k
libpkgconf x86_64 1.4.2-1.el8 ubi-8-baseos 35 k
libselinux-devel x86_64 2.9-4.el8_3 ubi-8-baseos 199 k
libsepol-devel x86_64 2.9-1.el8 ubi-8-baseos 86 k
libverto-devel x86_64 0.3.0-5.el8 ubi-8-baseos 18 k
libxcrypt-devel x86_64 4.1.1-4.el8 ubi-8-baseos 25 k
openssh x86_64 8.0p1-5.el8 ubi-8-baseos 520 k
openssh-clients x86_64 8.0p1-5.el8 ubi-8-baseos 666 k
openssl-devel x86_64 1:1.1.1g-12.el8_3 ubi-8-baseos 2.3 M
pcre2-devel x86_64 10.32-2.el8 ubi-8-baseos 605 k
pcre2-utf16 x86_64 10.32-2.el8 ubi-8-baseos 229 k
pcre2-utf32 x86_64 10.32-2.el8 ubi-8-baseos 220 k
pkgconf x86_64 1.4.2-1.el8 ubi-8-baseos 38 k
pkgconf-m4 noarch 1.4.2-1.el8 ubi-8-baseos 17 k
pkgconf-pkg-config x86_64 1.4.2-1.el8 ubi-8-baseos 15 k
zlib-devel x86_64 1.2.11-16.el8_2 ubi-8-baseos 57 k
Enabling module streams:
go-toolset rhel8
Transaction Summary
============================================================================================
Install 35 Packages
Total download size: 158 M
Installed size: 485 M
Downloading Packages:
(1/35): openssh-8.0p1-5.el8.x86_64.rpm 5.5 MB/s | 520 kB 00:00
(2/35): less-530-1.el8.x86_64.rpm 1.7 MB/s | 164 kB 00:00
(3/35): glibc-headers-2.28-127.el8_3.2.x86_64.r 19 MB/s | 476 kB 00:00
(4/35): libselinux-devel-2.9-4.el8_3.x86_64.rpm 8.1 MB/s | 199 kB 00:00
(5/35): libedit-3.1-23.20170329cvs.el8.x86_64.r 8.7 MB/s | 102 kB 00:00
(6/35): libverto-devel-0.3.0-5.el8.x86_64.rpm 1.4 MB/s | 18 kB 00:00
(7/35): openssl-devel-1.1.1g-12.el8_3.x86_64.rp 15 MB/s | 2.3 MB 00:00
(8/35): libpkgconf-1.4.2-1.el8.x86_64.rpm 1.3 MB/s | 35 kB 00:00
(9/35): glibc-devel-2.28-127.el8_3.2.x86_64.rpm 23 MB/s | 1.0 MB 00:00
(10/35): keyutils-libs-devel-1.5.10-6.el8.x86_6 2.4 MB/s | 48 kB 00:00
(11/35): krb5-devel-1.18.2-5.el8.x86_64.rpm 18 MB/s | 558 kB 00:00
(12/35): zlib-devel-1.2.11-16.el8_2.x86_64.rpm 4.4 MB/s | 57 kB 00:00
(13/35): pcre2-utf16-10.32-2.el8.x86_64.rpm 16 MB/s | 229 kB 00:00
(14/35): make-4.2.1-10.el8.x86_64.rpm 19 MB/s | 498 kB 00:00
(15/35): pkgconf-m4-1.4.2-1.el8.noarch.rpm 1.7 MB/s | 17 kB 00:00
(16/35): libsepol-devel-2.9-1.el8.x86_64.rpm 2.2 MB/s | 86 kB 00:00
(17/35): pkgconf-1.4.2-1.el8.x86_64.rpm 4.1 MB/s | 38 kB 00:00
(18/35): libcom_err-devel-1.45.6-1.el8.x86_64.r 2.4 MB/s | 38 kB 00:00
(19/35): pcre2-utf32-10.32-2.el8.x86_64.rpm 13 MB/s | 220 kB 00:00
(20/35): libkadm5-1.18.2-5.el8.x86_64.rpm 13 MB/s | 185 kB 00:00
(21/35): pkgconf-pkg-config-1.4.2-1.el8.x86_64. 1.9 MB/s | 15 kB 00:00
(22/35): pcre2-devel-10.32-2.el8.x86_64.rpm 29 MB/s | 605 kB 00:00
(23/35): libgomp-8.3.1-5.1.el8.x86_64.rpm 16 MB/s | 204 kB 00:00
(24/35): binutils-2.30-79.el8.x86_64.rpm 45 MB/s | 5.7 MB 00:00
(25/35): openssh-clients-8.0p1-5.el8.x86_64.rpm 14 MB/s | 666 kB 00:00
(26/35): libxcrypt-devel-4.1.1-4.el8.x86_64.rpm 2.2 MB/s | 25 kB 00:00
(27/35): libmpc-1.0.2-9.el8.x86_64.rpm 6.5 MB/s | 59 kB 00:00
(28/35): isl-0.16.1-6.el8.x86_64.rpm 27 MB/s | 841 kB 00:00
(29/35): kernel-headers-4.18.0-240.15.1.el8_3.x 32 MB/s | 5.6 MB 00:00
(30/35): git-core-2.27.0-1.el8.x86_64.rpm 31 MB/s | 5.7 MB 00:00
(31/35): cpp-8.3.1-5.1.el8.x86_64.rpm 37 MB/s | 10 MB 00:00
(32/35): golang-1.14.12-1.module+el8.3.0+8784+3 23 MB/s | 703 kB 00:00
(33/35): golang-src-1.14.12-1.module+el8.3.0+87 28 MB/s | 7.6 MB 00:00
(34/35): gcc-8.3.1-5.1.el8.x86_64.rpm 35 MB/s | 23 MB 00:00
(35/35): golang-bin-1.14.12-1.module+el8.3.0+87 58 MB/s | 91 MB 00:01
--------------------------------------------------------------------------------
Total 67 MB/s | 158 MB 00:02
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
Running scriptlet: golang-1.14.12-1.module+el8.3.0+8784+380394dc.x86_64 1/1
Preparing : 1/1
Installing : libmpc-1.0.2-9.el8.x86_64 1/35
Running scriptlet: libmpc-1.0.2-9.el8.x86_64 1/35
Installing : cpp-8.3.1-5.1.el8.x86_64 2/35
Running scriptlet: cpp-8.3.1-5.1.el8.x86_64 2/35
Installing : golang-src-1.14.12-1.module+el8.3.0+8784+380394dc. 3/35
Installing : isl-0.16.1-6.el8.x86_64 4/35
Running scriptlet: isl-0.16.1-6.el8.x86_64 4/35
Installing : kernel-headers-4.18.0-240.15.1.el8_3.x86_64 5/35
Running scriptlet: glibc-headers-2.28-127.el8_3.2.x86_64 6/35
Installing : glibc-headers-2.28-127.el8_3.2.x86_64 6/35
Installing : libgomp-8.3.1-5.1.el8.x86_64 7/35
Running scriptlet: libgomp-8.3.1-5.1.el8.x86_64 7/35
Installing : libkadm5-1.18.2-5.el8.x86_64 8/35
Installing : pcre2-utf32-10.32-2.el8.x86_64 9/35
Installing : pkgconf-m4-1.4.2-1.el8.noarch 10/35
Installing : binutils-2.30-79.el8.x86_64 11/35
Running scriptlet: binutils-2.30-79.el8.x86_64 11/35
Installing : pcre2-utf16-10.32-2.el8.x86_64 12/35
Installing : keyutils-libs-devel-1.5.10-6.el8.x86_64 13/35
Installing : libpkgconf-1.4.2-1.el8.x86_64 14/35
Installing : pkgconf-1.4.2-1.el8.x86_64 15/35
Installing : pkgconf-pkg-config-1.4.2-1.el8.x86_64 16/35
Installing : libverto-devel-0.3.0-5.el8.x86_64 17/35
Installing : zlib-devel-1.2.11-16.el8_2.x86_64 18/35
Installing : libsepol-devel-2.9-1.el8.x86_64 19/35
Installing : libcom_err-devel-1.45.6-1.el8.x86_64 20/35
Installing : pcre2-devel-10.32-2.el8.x86_64 21/35
Installing : libselinux-devel-2.9-4.el8_3.x86_64 22/35
Installing : krb5-devel-1.18.2-5.el8.x86_64 23/35
Installing : openssl-devel-1:1.1.1g-12.el8_3.x86_64 24/35
Installing : glibc-devel-2.28-127.el8_3.2.x86_64 25/35
Running scriptlet: glibc-devel-2.28-127.el8_3.2.x86_64 25/35
Installing : libxcrypt-devel-4.1.1-4.el8.x86_64 26/35
Installing : gcc-8.3.1-5.1.el8.x86_64 27/35
Running scriptlet: gcc-8.3.1-5.1.el8.x86_64 27/35
Installing : golang-bin-1.14.12-1.module+el8.3.0+8784+380394dc. 28/35
Installing : golang-1.14.12-1.module+el8.3.0+8784+380394dc.x86_ 29/35
Installing : libedit-3.1-23.20170329cvs.el8.x86_64 30/35
Installing : less-530-1.el8.x86_64 31/35
Running scriptlet: openssh-8.0p1-5.el8.x86_64 32/35
Installing : openssh-8.0p1-5.el8.x86_64 32/35
Installing : openssh-clients-8.0p1-5.el8.x86_64 33/35
Installing : git-core-2.27.0-1.el8.x86_64 34/35
Installing : make-1:4.2.1-10.el8.x86_64 35/35
Running scriptlet: make-1:4.2.1-10.el8.x86_64 35/35
Verifying : openssl-devel-1:1.1.1g-12.el8_3.x86_64 1/35
Verifying : openssh-8.0p1-5.el8.x86_64 2/35
Verifying : less-530-1.el8.x86_64 3/35
Verifying : glibc-headers-2.28-127.el8_3.2.x86_64 4/35
Verifying : libselinux-devel-2.9-4.el8_3.x86_64 5/35
Verifying : libedit-3.1-23.20170329cvs.el8.x86_64 6/35
Verifying : libverto-devel-0.3.0-5.el8.x86_64 7/35
Verifying : glibc-devel-2.28-127.el8_3.2.x86_64 8/35
Verifying : libpkgconf-1.4.2-1.el8.x86_64 9/35
Verifying : krb5-devel-1.18.2-5.el8.x86_64 10/35
Verifying : keyutils-libs-devel-1.5.10-6.el8.x86_64 11/35
Verifying : zlib-devel-1.2.11-16.el8_2.x86_64 12/35
Verifying : pcre2-utf16-10.32-2.el8.x86_64 13/35
Verifying : binutils-2.30-79.el8.x86_64 14/35
Verifying : make-1:4.2.1-10.el8.x86_64 15/35
Verifying : libsepol-devel-2.9-1.el8.x86_64 16/35
Verifying : pkgconf-m4-1.4.2-1.el8.noarch 17/35
Verifying : pkgconf-1.4.2-1.el8.x86_64 18/35
Verifying : libcom_err-devel-1.45.6-1.el8.x86_64 19/35
Verifying : pcre2-utf32-10.32-2.el8.x86_64 20/35
Verifying : libkadm5-1.18.2-5.el8.x86_64 21/35
Verifying : pcre2-devel-10.32-2.el8.x86_64 22/35
Verifying : pkgconf-pkg-config-1.4.2-1.el8.x86_64 23/35
Verifying : libgomp-8.3.1-5.1.el8.x86_64 24/35
Verifying : openssh-clients-8.0p1-5.el8.x86_64 25/35
Verifying : kernel-headers-4.18.0-240.15.1.el8_3.x86_64 26/35
Verifying : libxcrypt-devel-4.1.1-4.el8.x86_64 27/35
Verifying : libmpc-1.0.2-9.el8.x86_64 28/35
Verifying : isl-0.16.1-6.el8.x86_64 29/35
Verifying : gcc-8.3.1-5.1.el8.x86_64 30/35
Verifying : git-core-2.27.0-1.el8.x86_64 31/35
Verifying : cpp-8.3.1-5.1.el8.x86_64 32/35
Verifying : golang-src-1.14.12-1.module+el8.3.0+8784+380394dc. 33/35
Verifying : golang-1.14.12-1.module+el8.3.0+8784+380394dc.x86_ 34/35
Verifying : golang-bin-1.14.12-1.module+el8.3.0+8784+380394dc. 35/35
Installed products updated.
Installed:
binutils-2.30-79.el8.x86_64
cpp-8.3.1-5.1.el8.x86_64
gcc-8.3.1-5.1.el8.x86_64
git-core-2.27.0-1.el8.x86_64
glibc-devel-2.28-127.el8_3.2.x86_64
glibc-headers-2.28-127.el8_3.2.x86_64
golang-1.14.12-1.module+el8.3.0+8784+380394dc.x86_64
golang-bin-1.14.12-1.module+el8.3.0+8784+380394dc.x86_64
golang-src-1.14.12-1.module+el8.3.0+8784+380394dc.noarch
isl-0.16.1-6.el8.x86_64
kernel-headers-4.18.0-240.15.1.el8_3.x86_64
keyutils-libs-devel-1.5.10-6.el8.x86_64
krb5-devel-1.18.2-5.el8.x86_64
less-530-1.el8.x86_64
libcom_err-devel-1.45.6-1.el8.x86_64
libedit-3.1-23.20170329cvs.el8.x86_64
libgomp-8.3.1-5.1.el8.x86_64
libkadm5-1.18.2-5.el8.x86_64
libmpc-1.0.2-9.el8.x86_64
libpkgconf-1.4.2-1.el8.x86_64
libselinux-devel-2.9-4.el8_3.x86_64
libsepol-devel-2.9-1.el8.x86_64
libverto-devel-0.3.0-5.el8.x86_64
libxcrypt-devel-4.1.1-4.el8.x86_64
make-1:4.2.1-10.el8.x86_64
openssh-8.0p1-5.el8.x86_64
openssh-clients-8.0p1-5.el8.x86_64
openssl-devel-1:1.1.1g-12.el8_3.x86_64
pcre2-devel-10.32-2.el8.x86_64
pcre2-utf16-10.32-2.el8.x86_64
pcre2-utf32-10.32-2.el8.x86_64
pkgconf-1.4.2-1.el8.x86_64
pkgconf-m4-1.4.2-1.el8.noarch
pkgconf-pkg-config-1.4.2-1.el8.x86_64
zlib-devel-1.2.11-16.el8_2.x86_64
Complete!
Cloning into 'gitlab-runner'...
Note: switching to '2ebc4dc45bd6065afa304a5bfdb846334981529e'.
You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by switching back to a branch.
If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -c with the switch command. Example:
git switch -c <new-branch-name>
Or undo this operation with:
git switch -
Turn off this advice by setting config variable advice.detachedHead to false
make: tput: Command not found
make: tput: Command not found
make: tput: Command not found
make: tput: Command not found
# Building gitlab-runner in version 13.9.0 for host platform
make runner-bin BUILD_PLATFORMS="-osarch=linux/amd64"
make[1]: Entering directory '/gitlab-runner'
make[1]: tput: Command not found
make[1]: tput: Command not found
make[1]: tput: Command not found
make[1]: tput: Command not found
go get github.com/mitchellh/gox
go: downloading github.com/mitchellh/gox v1.0.1
go: downloading github.com/mitchellh/iochan v1.0.0
go: downloading github.com/hashicorp/go-version v1.2.0
# Building gitlab-runner in version 13.9.0 for -osarch=linux/amd64
gox -osarch=linux/amd64 \
-ldflags "-X gitlab.com/gitlab-org/gitlab-runner/common.NAME=gitlab-runner -X gitlab.com/gitlab-org/gitlab-runner/common.VERSION=13.9.0 -X gitlab.com/gitlab-org/gitlab-runner/common.REVISION=2ebc4dc4 -X gitlab.com/gitlab-org/gitlab-runner/common.BUILT=2021-02-24T07:45:20+0000 -X gitlab.com/gitlab-org/gitlab-runner/common.BRANCH= -s -w" \
-output="out/binaries/gitlab-runner-{{.OS}}-{{.Arch}}" \
gitlab.com/gitlab-org/gitlab-runner
Number of parallel builds: 15
--> linux/amd64: gitlab.com/gitlab-org/gitlab-runner
make[1]: Leaving directory '/gitlab-runner'
cp -f "out/binaries/gitlab-runner-linux-amd64" out/binaries/gitlab-runner
Version: 13.9.0
Git revision: 2ebc4dc4
Git branch:
GO version: go1.14.12
Built: 2021-02-24T07:45:20+0000
OS/Arch: linux/amd64
--> FROM registry.access.redhat.com/ubi8-minimal:8.3 as 1
--> COPY --from=builder /gitlab-runner/out/binaries/gitlab-runner /usr/bin
--> ENV HOME=/home/gitlab-runner
--> WORKDIR $HOME
--> RUN chgrp -R 0 $HOME && chmod -R g=u $HOME
/bin/sh: line 0: cd: /home/gitlab-runner: No such file or directory
error: build error: running 'chgrp -R 0 $HOME && chmod -R g=u $HOME' failed with exit code 1
hi,
i received an error when i want to build the helper image :
STEP 5: FROM registry.access.redhat.com/ubi8-minimal:8.2
STEP 6: COPY --from=builder /gitlab-runner/out/binaries/gitlab-runner-helper/gitlab-runner-helper.x86_64 /usr/bin/gitlab-runner-helper
--> d0f8c133285
STEP 7: COPY --from=builder /gitlab-runner/dockerfiles/build/scripts /usr/bin
Error: error building at STEP "COPY --from=builder /gitlab-runner/dockerfiles/build/scripts /usr/bin": no files found matching "/var/lib/containers/storage/overlay/163403595bd78810a8fa7d153a1c7e601bfe61f1c18a2ba3b32bc978e9beb92e/merged/gitlab-runner/dockerfiles/build/scripts": no such file or directory
i tried to reproduce the issue locally and the directory build does not exists !
in /gitlab-runner/dockerfiles/, there is only ci, runner and runner-helper
can you help me ?
thanks a lot
ludo
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.