Commit 7b7f3245 authored by Roman Ondráček's avatar Roman Ondráček

GitLab CI: remove Debian 9 Stretch image generation for testing

Signed-off-by: Roman Ondráček's avatarRoman Ondráček <ondracek.roman@centrum.cz>
parent 78fa0154
Pipeline #2130 passed with stages
in 18 minutes and 43 seconds
......@@ -87,14 +87,7 @@ build-docker:tests-buster:
DOCKER_FILE: docker/tests/buster.Dockerfile
DOCKER_TAG: tests-buster
build-docker:tests-stretch:
extends: .docker_template_testing
variables:
DOCKER_FILE: docker/tests/stretch.Dockerfile
DOCKER_TAG: tests-stretch
test:php7.2:
image: iqrftech/iqrf-gateway-webapp:tests-stretch
allow_failure: true
before_script:
- update-alternatives --set php /usr/bin/php7.2
......@@ -113,6 +106,15 @@ test:php7.3:
- 'for i in $(find ./tests -name \*.actual); do echo "--- $i"; cat $i; echo; echo; done'
<<: *test_template
test:php7.4:
before_script:
- update-alternatives --set php /usr/bin/php7.4
- composer install --no-progress
script:
- vendor/bin/tester -p phpdbg7.4 -c ./tests/php.ini -s ./tests
- 'for i in $(find ./tests -name \*.actual); do echo "--- $i"; cat $i; echo; echo; done'
<<: *test_template
coverage:
before_script:
- update-alternatives --set php /usr/bin/php7.3
......
......@@ -3,11 +3,16 @@ FROM debian:buster
ENV DEBIAN_FRONTEND noninteractive
RUN apt-get update \
&& apt-get install --no-install-recommends -y apt-transport-https build-essential ca-certificates composer curl debhelper devscripts \
graphviz fakeroot git git-buildpackage lsb-release openssh-client python3-recommonmark python3-sphinx pkg-php-tools rsync unzip wget zip \
&& apt-get install --no-install-recommends -y lsb-release ca-certificates curl git wget zip unzip \
&& wget -O /etc/apt/trusted.gpg.d/php.gpg https://packages.sury.org/php/apt.gpg \
&& sh -c 'echo "deb https://packages.sury.org/php/ $(lsb_release -sc) main" > /etc/apt/sources.list.d/php.list' \
&& apt-get update \
&& apt-get install --no-install-recommends -y apt-transport-https build-essential composer debhelper devscripts \
dh-apache2 graphviz fakeroot git-buildpackage openssh-client python3-recommonmark python3-sphinx pkg-php-tools rsync \
php7.2 php7.2-common php7.2-cgi php7.2-cli php7.2-curl php7.2-json php7.2-phpdbg php7.2-mbstring php7.2-sqlite3 php7.2-xml php7.2-zip \
php7.3 php7.3-common php7.3-cgi php7.3-cli php7.3-curl php7.3-json php7.3-phpdbg php7.3-mbstring php7.3-sqlite3 php7.3-xml php7.3-zip \
php php-common php-cgi php-cli php-curl php-json php-phpdbg php-mbstring php-sqlite3 php-xml php-zip python3-pip dh-apache2 \
&& pip3 install setuptools \
php7.4 php7.4-common php7.4-cgi php7.4-cli php7.4-curl php7.4-json php7.4-phpdbg php7.4-mbstring php7.4-sqlite3 php7.4-xml php7.4-zip \
php php-common php-cgi php-cli php-curl php-json php-phpdbg php-mbstring php-sqlite3 php-xml php-zip python3-pip python3-setuptools \
&& pip3 install sphinx-corlab-theme \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*
FROM debian:stretch
MAINTAINER Roman Ondráček <roman.ondracek@iqrf.com>
LABEL maintainer="roman.ondracek@iqrf.com"
ENV DEBIAN_FRONTEND noninteractive
RUN apt-get update \
&& apt-get install --no-install-recommends -y apt-transport-https lsb-release ca-certificates curl git wget zip unzip \
&& wget -O /etc/apt/trusted.gpg.d/php.gpg https://packages.sury.org/php/apt.gpg \
&& sh -c 'echo "deb https://packages.sury.org/php/ $(lsb_release -sc) main" > /etc/apt/sources.list.d/php.list' \
&& apt-get update \
&& apt-get install --no-install-recommends -y apt-transport-https build-essential ca-certificates composer curl debhelper devscripts \
graphviz fakeroot git git-buildpackage lsb-release openssh-client python3-recommonmark python3-sphinx pkg-php-tools rsync unzip wget zip \
php7.0 php7.0-common php7.0-cgi php7.0-cli php7.0-curl php7.0-json php7.0-phpdbg php7.0-mbstring php7.0-sqlite3 php7.0-xml php7.0-zip \
php7.1 php7.1-common php7.1-cgi php7.1-cli php7.1-curl php7.1-json php7.1-phpdbg php7.1-mbstring php7.1-sqlite3 php7.1-xml php7.1-zip \
php7.2 php7.2-common php7.2-cgi php7.2-cli php7.2-curl php7.2-json php7.2-phpdbg php7.2-mbstring php7.2-sqlite3 php7.2-xml php7.2-zip \
php php-common php-cgi php-cli php-curl php-json php-phpdbg php-mbstring php-sqlite3 php-xml php-zip \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*
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