Commit 66708d9b authored by Kamil Trzciński's avatar Kamil Trzciński 🔴

Fixed rpm start job

parent 3a142842
v 0.1.14
- Use custom kardianos/service with enhanced service scripts
- Remove all system specific packages and use universal for package manager
v 0.1.13
- Added abstraction over shells
- Moved all bash specific stuff to shells/bash.go
......
......@@ -7,9 +7,11 @@ if ! id -u "$USER" >/dev/null 2>/dev/null; then
useradd --comment 'GitLab CI Multi Runner' --create-home $USER
fi
usermod -aG docker $USER || true
touch ~$USER/config.toml
chown $USER:$USER ~$USER/config.toml
chmod 0600 ~$USER/config.toml
eval HOMEDIR=~$USER
cd $HOMEDIR
touch config.toml
chown $USER:$USER config.toml
chmod 0600 config.toml
gitlab-ci-multi-runner install --user=$USER
service gitlab-ci-multi-runner start || :
exit 0
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment