Commit 85dba590 authored by Adrien Dorsaz's avatar Adrien Dorsaz

Merge branch 'add-tag-to-gitlab-jobs' into 'master'

gitlab-ci: update dockerfile and use tags to use runner with good image

See merge request !15
parents fd206fbc 7859c613
Pipeline #242 failed with stage
in 7 minutes and 36 seconds
FROM debian:jessie-slim
RUN apt-get update
RUN apt-get upgrade -y
# Minimal tools required by acme-dns-tiny CI
RUN apt-get install -y --no-install-recommends \
python3-dnspython \
python3-coverage \
python3-pip
RUN apt-get update \
&& apt-get install -y --no-install-recommends \
python3-dnspython \
python3-coverage \
python3-pip \
&& apt-get clean
# Allows run python3-coverage with same command than manual install by pip
RUN update-alternatives --install \
......
FROM debian:stretch-slim
RUN apt-get update
RUN apt-get upgrade -y
# Minimal tools required by acme-dns-tiny CI
RUN apt-get install -y --no-install-recommends \
python3-dnspython \
python3-coverage \
python3-configargparse \
python3-pip
RUN apt-get update \
&& apt-get install -y --no-install-recommends \
python3-dnspython \
python3-coverage \
python3-configargparse \
python3-pip
# Allows run python3-coverage with same command than manual install by pip
RUN update-alternatives --install \
......
jessie:
image: adt-jessie
tags:
- jessie
before_script:
- pip3 install --upgrade -r tests/requirements.txt
script:
......@@ -8,7 +9,8 @@ jessie:
- coverage html
stretch:
image: adt-stretch
tags:
- stretch
before_script:
- pip3 install --upgrade -r tests/requirements.txt
script:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment