Skip to content

Commit d5e99c4

Browse files
committed
Prepare: install also gitlab-runner-helper-images RPM
Update the manual installation of the gitlab-runner based on the official documentation [0]. Specifically: - Update repo URLs - Also install the gitlab-runner-helper-images RPM, which is a dependency of gitlab-runner RPM. [0] https://docs.gitlab.com/runner/install/linux-manually.html#download Signed-off-by: Tomáš Hozza <[email protected]>
1 parent a44f336 commit d5e99c4

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

prepare

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,9 @@ $SSH "$(sshUser)@${VM_IP}" sudo dnf clean all || true
124124
echo "INFO: Will install gitlab-runner"
125125
for _LOOP_COUNTER in {0..30}; do
126126
set +e
127-
$SSH "$(sshUser)@${VM_IP}" sudo dnf install -y "https://gitlab-runner-downloads.s3.amazonaws.com/latest/rpm/gitlab-runner_$(runnerArch).rpm" || true
127+
$SSH "$(sshUser)@${VM_IP}" sudo dnf install -y \
128+
"https://s3.dualstack.us-east-1.amazonaws.com/gitlab-runner-downloads/latest/rpm/gitlab-runner-helper-images.rpm" \
129+
"https://s3.dualstack.us-east-1.amazonaws.com/gitlab-runner-downloads/latest/rpm/gitlab-runner_$(runnerArch).rpm" || true
128130
set -e
129131

130132
if $SSH "$(sshUser)@${VM_IP}" "rpm -q gitlab-runner"; then

0 commit comments

Comments
 (0)