-
Configure host (firewall)
sudo ./server/setup.sh
-
Configure GitLab
sudo mkdir -p /opt/gitlab/config cp ./server/gitlab.rb /opt/gitlab/config/ # update credentials
-
Run GitLab Server
./server/run.sh
-
Obtain registration token
Navigate to http://${GITLAB_HOST}:${GITLAB_PORT}/admin/runners and obtain registration token.
-
Configure GitLab Runner
./runner/register.sh # set privileged mode to allow building docker images sed -i -E 's|([ ]*)privileged[ ]*=.*|\1privileged = true|' /opt/gitlab-runner/config/config.toml
When asked enter following configuration parameters:
- executor: docker
- default Docker image: docker:dind
-
Start GitLab Runner
./runner/run.sh
-
Notifications
You must be signed in to change notification settings - Fork 0
rkusmierek/javaci-gitlab
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published