ghorg/scripts/local-gitlab
2022-08-19 13:24:34 -07:00
..
clone.sh Fix gitlab cloud nested output dir (#229) 2022-08-08 17:45:22 -07:00
get_credentials.sh Update get_credentials.sh 2022-08-19 12:05:49 -07:00
README.md Change default behavior of gitlab repo name collisions (#239) 2022-08-17 23:21:32 -07:00
run-ee.sh Update gitlab local setup (#227) 2022-08-07 15:57:44 -07:00
seed.sh Update seed.sh 2022-08-19 13:24:34 -07:00
start-ee.sh Fix gitlab cloud nested output dir (#229) 2022-08-08 17:45:22 -07:00

Local GitLab

Allows you to spin up GitLab locally with Docker to test cloning. Would eventually like to turn these into integration tests.

For enterprise GitLab, start docker then run ./scripts/local-gitlab/start-ee.sh false from the root of the repo

TODO: Do the same for the community edition of GitLab

If running locally you'll also need to update your /etc/hosts

echo "127.0.0.1 gitlab.example.com" >> /etc/hosts

Once github is running you can vist

http://gitlab.example.com in your browser

You can get the root token by running

docker exec -it gitlab grep 'Password:' /etc/gitlab/initial_root_password | awk '{print $2}'