Skip to content

Commit

Permalink
Update concurrent setting of gitlab-runner to 10 on startup
Browse files Browse the repository at this point in the history
  • Loading branch information
rahearn committed Jan 14, 2025
1 parent b03495f commit 048eb1f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions runner-manager/.profile
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ if pgrep 'gitlab-runner' > /dev/null ; then
else
echo "Registering GitLab Runner with name $RUNNER_NAME"
if gitlab-runner register; then
sed -e 's/concurrent = 1/concurrent = 10/' -i.bak .gitlab-runner/config.toml
echo "GitLab Runner successfully registered"
else
exit_with_failure "GitLab Runner not registered"
Expand Down

0 comments on commit 048eb1f

Please sign in to comment.