Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
authz-mediator
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
infrastructure
authz-mediator
Merge requests
!74
Improvements and fixes to the LAVA docker-compose setup
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Improvements and fixes to the LAVA docker-compose setup
wip/em/lava-docker-compose
into
main
Overview
4
Commits
10
Pipelines
15
Changes
3
Merged
Emanuele Aina
requested to merge
wip/em/lava-docker-compose
into
main
1 year ago
Overview
3
Commits
10
Pipelines
15
Changes
3
Expand
1
0
Merge request reports
Compare
main
version 15
58d7790c
1 year ago
version 14
82c3040e
1 year ago
version 13
7b5e2d2f
1 year ago
version 12
7b5e2d2f
1 year ago
version 11
76621004
1 year ago
version 10
687dc743
1 year ago
version 9
04d685cd
1 year ago
version 8
5efd9ffd
1 year ago
version 7
85c644c8
1 year ago
version 6
3cf49a36
1 year ago
version 5
cab8dbf6
1 year ago
version 4
a4e7c6f9
1 year ago
version 3
a759584c
1 year ago
version 2
33f91350
1 year ago
version 1
8f017d0c
1 year ago
main (base)
and
latest version
latest version
d8b2d89c
10 commits,
5 months ago
version 15
58d7790c
11 commits,
1 year ago
version 14
82c3040e
12 commits,
1 year ago
version 13
7b5e2d2f
11 commits,
1 year ago
version 12
7b5e2d2f
11 commits,
1 year ago
version 11
76621004
11 commits,
1 year ago
version 10
687dc743
11 commits,
1 year ago
version 9
04d685cd
11 commits,
1 year ago
version 8
5efd9ffd
11 commits,
1 year ago
version 7
85c644c8
11 commits,
1 year ago
version 6
3cf49a36
10 commits,
1 year ago
version 5
cab8dbf6
11 commits,
1 year ago
version 4
a4e7c6f9
10 commits,
1 year ago
version 3
a759584c
10 commits,
1 year ago
version 2
33f91350
10 commits,
1 year ago
version 1
8f017d0c
10 commits,
1 year ago
3 files
+
75
−
43
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
3
Search (e.g. *.vue) (Ctrl+P)
.gitlab-ci.yml
+
20
−
18
Options
@@ -77,6 +77,7 @@ gitlab-integration-test:
DOCKER_HOST
:
tcp://docker:2375
DOCKER_TLS_CERTDIR
:
"
"
AUTHZ_MEDIATOR_IMAGE
:
$CI_REGISTRY_IMAGE/authz-mediator:$TAG_SHA
GITLAB_EXTERNAL_URL
:
http://docker:8000
GITLAB_SECRET
:
5h0uLd{8E}-4u709EneR47Ed
before_script
:
-
apt update && apt install -y --no-install-recommends
@@ -94,27 +95,28 @@ gitlab-integration-test:
python3-pytest
python3-selenium
python3-gitlab
wait-for-it
-
pip3 install pytest-selenium==4.0.0 selenium==4.9.1
-
wait-for-it docker:8000 --timeout=180 -- echo "The GitLab frontend is up"
-
|
timeout 300s bash <<EOF
echo "Wait for the GitLab backend"
while ! curl -o /dev/null --no-progress-meter --fail http://docker:8000/
do
sleep 10s
done
python3 - <<EOF
import os, sys, time
import gitlab
globals().update(os.environ) # import all env vars
results = None
print(f'Waiting for {GITLAB_EXTERNAL_URL} to be ready')
for i in range(1, 61):
try:
gl = gitlab.Gitlab(GITLAB_EXTERNAL_URL, private_token=GITLAB_SECRET)
results = gl.users.list()
except Exception as e:
delay = 10
print(f'Round {i:2}: got "{e}", will try again in {delay}s')
time.sleep(delay)
if results:
print(f'Ready, got {len(results)} results')
else:
print(f'Not ready after {i} attempts')
sys.exit(1)
EOF
-
curl -v --fail --no-progress-meter http://docker:8000/
-
|
timeout 300s bash <<EOF
echo "Wait for the GitLab API"
while ! python3 -c "import os; import gitlab; gl = gitlab.Gitlab('http://docker:8000', private_token=os.environ['GITLAB_SECRET']); print(gl.users.list())" >/dev/null 2>&1
do
sleep 10s
done
EOF
-
python3 -c "import os; import gitlab; gl = gitlab.Gitlab('http://docker:8000', private_token=os.environ['GITLAB_SECRET']); print(gl.users.list())"
-
pytest-3 -v --capture=no --color=yes
--driver Remote --capability browserName firefox
--selenium-host docker --selenium-port
4444
Loading