Debian Codegraph @

author/setup-test-container

raw symbols SCIP
1 #!/bin/shscip-shell filesystem . . `/bin/sh`.
2
3 #docker stop test-gitlab-api-v4
4
5 sleepscip-shell system . . sleep. 5
6
7 #docker run -d --rm \
8 # -p 80:80 \
9 # --name test-gitlab-api-v4 \
10 # gitlab/gitlab-ce:16.0.3-ce.0
11
12 echoscip-shell system . . echo. 1. Open you browser to: http://localhost \(it may take several minutes for it to respond\)
13 echoscip-shell system . . echo. 2. Get the root password with: sudo docker exec -it test-gitlab-api-v4 grep 'Password:' /etc/gitlab/initial_root_passwordscip-shell filesystem . . `/etc/gitlab/initial_root_password`.
14 echoscip-shell system . . echo. 3. Then login and goto: http://localhost/-/profile/personal_access_tokens
15 echoscip-shell system . . echo. 4. Create a new private token \(use this token below\).
16 echoscip-shell system . . echo. 5. Then set the following env vars:
17 echoscip-shell system . . echo. export GITLAB_API_V4_URL=http://localhost/api/v4
18 echoscip-shell system . . echo. export GITLAB_API_V4_PRIVATE_TOKEN=
19 echoscip-shell system . . echo. export GITLAB_API_V4_ROOT_PASSWORD=
20 echoscip-shell system . . echo. 6. You should now be able to run: t/regression.t