Skip to content

Commit

Permalink
Prepare: install also gitlab-runner-helper-images RPM
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
thozza committed Jan 2, 2025
1 parent a44f336 commit d5e99c4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion prepare
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,9 @@ $SSH "$(sshUser)@${VM_IP}" sudo dnf clean all || true
echo "INFO: Will install gitlab-runner"
for _LOOP_COUNTER in {0..30}; do
set +e
$SSH "$(sshUser)@${VM_IP}" sudo dnf install -y "https://gitlab-runner-downloads.s3.amazonaws.com/latest/rpm/gitlab-runner_$(runnerArch).rpm" || true
$SSH "$(sshUser)@${VM_IP}" sudo dnf install -y \
"https://s3.dualstack.us-east-1.amazonaws.com/gitlab-runner-downloads/latest/rpm/gitlab-runner-helper-images.rpm" \
"https://s3.dualstack.us-east-1.amazonaws.com/gitlab-runner-downloads/latest/rpm/gitlab-runner_$(runnerArch).rpm" || true
set -e

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

0 comments on commit d5e99c4

Please sign in to comment.