Skip to content
Snippets Groups Projects

Grafana

Merged Martin Weise requested to merge 460-grafana-random-redirects into dev
1 file
+ 3
0
Compare changes
  • Side-by-side
  • Inline
+ 3
0
@@ -2,6 +2,7 @@ variables:
@@ -2,6 +2,7 @@ variables:
BUILD_VERSION: ""
BUILD_VERSION: ""
HOSTALIASES: "./hosts"
HOSTALIASES: "./hosts"
DOCKER_HOST: "unix:///var/run/dind/docker.sock"
DOCKER_HOST: "unix:///var/run/dind/docker.sock"
 
TESTCONTAINERS_DOCKER_SOCKET_OVERRIDE: "/var/run/dind/docker.sock"
DOCKER_VERSION: "27"
DOCKER_VERSION: "27"
ALPINE_VERSION: "3.21"
ALPINE_VERSION: "3.21"
PYTHON_VERSION: "3.11"
PYTHON_VERSION: "3.11"
@@ -171,6 +172,7 @@ test-dashboard-service:
@@ -171,6 +172,7 @@ test-dashboard-service:
- "cp -r ./dbrepo-dashboard-service/init/tests/rsa ./dbrepo-dashboard-service/tests"
- "cp -r ./dbrepo-dashboard-service/init/tests/rsa ./dbrepo-dashboard-service/tests"
- "cp -r ./dbrepo-dashboard-service/init/tests/conftest.py ./dbrepo-dashboard-service/tests"
- "cp -r ./dbrepo-dashboard-service/init/tests/conftest.py ./dbrepo-dashboard-service/tests"
script:
script:
 
- echo "${TESTCONTAINERS_DOCKER_SOCKET_OVERRIDE}"
- "pip install pipenv"
- "pip install pipenv"
- "pipenv install gunicorn && pipenv install --dev --system --deploy"
- "pipenv install gunicorn && pipenv install --dev --system --deploy"
- cd ./dbrepo-dashboard-service/ && coverage run --rcfile=.coveragerc -m pytest tests/test_integration_app.py && coverage html && coverage xml && coverage report > ./coverage.txt
- cd ./dbrepo-dashboard-service/ && coverage run --rcfile=.coveragerc -m pytest tests/test_integration_app.py && coverage html && coverage xml && coverage report > ./coverage.txt
@@ -198,6 +200,7 @@ test-dashboard-service-init:
@@ -198,6 +200,7 @@ test-dashboard-service-init:
dependencies:
dependencies:
- build-dashboard-service
- build-dashboard-service
script:
script:
 
- echo "${TESTCONTAINERS_DOCKER_SOCKET_OVERRIDE}"
- "pip install pipenv"
- "pip install pipenv"
- "pipenv install gunicorn && pipenv install --dev --system --deploy"
- "pipenv install gunicorn && pipenv install --dev --system --deploy"
- cd ./dbrepo-dashboard-service/init/ && coverage run --rcfile=.coveragerc -m pytest tests/test_app.py tests/test_integration_dashboard.py && coverage html && coverage xml && coverage report > ./coverage.txt
- cd ./dbrepo-dashboard-service/init/ && coverage run --rcfile=.coveragerc -m pytest tests/test_app.py tests/test_integration_dashboard.py && coverage html && coverage xml && coverage report > ./coverage.txt
Loading