Skip to content

Commit

Permalink
Ensure we're only updating from concurrent = 1
Browse files Browse the repository at this point in the history
  • Loading branch information
rahearn committed Jan 14, 2025
1 parent 048eb1f commit 3f0dba0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion runner-manager/.profile
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +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
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 3f0dba0

Please sign in to comment.