We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 85b0878 commit 8f909b6Copy full SHA for 8f909b6
.gitlab-ci.yml
@@ -18,8 +18,12 @@ pytest:
18
- apt-get install --no-install-recommends -q -y libsnmp-dev build-essential git
19
- pip install --no-cache-dir pipenv
20
- pipenv install --dev
21
+ - docker run -d --net=host -p 127.0.0.1:6379:6379 --name redis redis:5-alpine
22
script:
23
+ - export REDIS_HOST="127.0.0.1"
24
- pipenv run pytest -x test_snmpcollector.py
25
+ after_script:
26
+ - docker rm -f redis
27
28
deploy to docker hub:
29
stage: deploy
0 commit comments