Skip to content
Snippets Groups Projects
Commit 6dccf877 authored by Benedikt's avatar Benedikt
Browse files

Update .gitlab-ci.yml file to use *%&$%&//&%&/* Proxy

parent 721304df
Branches
Tags
No related merge requests found
Pipeline #27355 failed
...@@ -4,8 +4,12 @@ stages: ...@@ -4,8 +4,12 @@ stages:
pytest: pytest:
stage: test stage: test
image: python:3.11 image: python:3.11
before_script:
- export HTTP_PROXY="http://webproxy.bs.ptb.de:8080"
- export HTTPS_PROXY="http://webproxy.bs.ptb.de:8080"
- export NO_PROXY="*.ptb.de"
script: script:
- pip install --proxy http://webproxy.bs.ptb.de:8080 -r requirements.txt - pip install --proxy -r requirements.txt
- pytest --junitxml=junit.xml - pytest --junitxml=junit.xml
artifacts: artifacts:
reports: reports:
...@@ -14,8 +18,12 @@ pytest: ...@@ -14,8 +18,12 @@ pytest:
pages: pages:
stage: test stage: test
image: python:3.11 image: python:3.11
before_script:
- export HTTP_PROXY="http://webproxy.bs.ptb.de:8080"
- export HTTPS_PROXY="http://webproxy.bs.ptb.de:8080"
- export NO_PROXY="*.ptb.de"
script: script:
- http_proxy=http://webproxy.bs.ptb.de:8080 apt-get update && apt-get install -y allure - apt-get update && apt-get install -y allure
- allure generate --clean -o allure-report ./allure-results - allure generate --clean -o allure-report ./allure-results
artifacts: artifacts:
paths: paths:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment