From 5f4832d2036a3969773b6ecc381e72bc4aaaf45e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Lesimple?= Date: Wed, 31 May 2023 15:32:32 +0000 Subject: [PATCH] chg: remove Debian 9 tests and dockerfile --- .github/workflows/tests.yml | 2 +- docker/Dockerfile.debian9 | 30 ------------------------------ 2 files changed, 1 insertion(+), 31 deletions(-) delete mode 100644 docker/Dockerfile.debian9 diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index c645838..d1ba21c 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -34,7 +34,7 @@ jobs: name: Full strategy: matrix: - platform: [centos7, rockylinux8, rockylinux9, debian9, debian10, debian11, debian12, 'opensuse15@opensuse/leap:15.4', ubuntu1604, ubuntu1804, ubuntu2004, ubuntu2204] + platform: [centos7, rockylinux8, rockylinux9, debian10, debian11, debian12, 'opensuse15@opensuse/leap:15.4', ubuntu1604, ubuntu1804, ubuntu2004, ubuntu2204] runs-on: ubuntu-latest if: contains(github.event.pull_request.labels.*.name, 'tests:full') steps: diff --git a/docker/Dockerfile.debian9 b/docker/Dockerfile.debian9 deleted file mode 100644 index 4a9db82..0000000 --- a/docker/Dockerfile.debian9 +++ /dev/null @@ -1,30 +0,0 @@ -FROM debian:stretch -LABEL maintainer="stephane.lesimple+bastion@ovhcloud.com" - -# cache builds efficiently: just copy the scripts to install packages first -COPY bin/admin/install-ttyrec.sh bin/admin/install-yubico-piv-checker.sh bin/admin/packages-check.sh /opt/bastion/bin/admin/ -COPY lib/shell /opt/bastion/lib/shell/ -RUN ["/opt/bastion/bin/admin/packages-check.sh","-i","-d","-s"] -RUN ["/opt/bastion/bin/admin/install-ttyrec.sh","-d"] -RUN ["/opt/bastion/bin/admin/install-yubico-piv-checker.sh","-d"] - -# handle locales -RUN echo "en_US.UTF-8 UTF-8" >> /etc/locale.gen && locale-gen - -# disable /dev/kmsg handling by syslog-ng and explicitly enable /dev/log -RUN test -e /etc/syslog-ng/syslog-ng.conf && \ - sed -i -re 's=system\(\);=unix-stream("/dev/log");=' /etc/syslog-ng/syslog-ng.conf - -# at each modification of our code, we'll start from here thanks to build cache -COPY . /opt/bastion - -# tests that the environment works -RUN ["/opt/bastion/bin/dev/perl-check.sh"] - -# setup ssh/sshd config and setup bastion install -RUN ["/opt/bastion/bin/admin/install","--new-install"] - -# start at entrypoint -ENTRYPOINT /opt/bastion/docker/entrypoint.sh - -# TESTOPT --has-mfa=1 --has-pamtester=1 --has-piv=1