mirror of
https://github.com/ovh/the-bastion.git
synced 2025-01-29 11:11:18 +08:00
chore: remove CentOS 8 from tests (EOL)
This commit is contained in:
parent
0f4893df82
commit
982f21a950
4 changed files with 3 additions and 30 deletions
2
.github/workflows/tests.yml
vendored
2
.github/workflows/tests.yml
vendored
|
@ -34,7 +34,7 @@ jobs:
|
|||
name: Full
|
||||
strategy:
|
||||
matrix:
|
||||
platform: [centos7, centos8, rockylinux8, debian9, debian10, debian11, 'opensuse15@opensuse/leap:15.3', ubuntu1604, ubuntu1804, ubuntu2004]
|
||||
platform: [centos7, rockylinux8, debian9, debian10, debian11, 'opensuse15@opensuse/leap:15.3', ubuntu1604, ubuntu1804, ubuntu2004]
|
||||
runs-on: ubuntu-latest
|
||||
if: contains(github.event.pull_request.labels.*.name, 'tests:full')
|
||||
steps:
|
||||
|
|
|
@ -73,7 +73,7 @@ Also don't forget to customize your `bastion.conf` file, which can be found in `
|
|||
Linux distros below are tested with each release, but as this is a security product, you are **warmly** advised to run it on the latest up-to-date stable version of your favorite OS:
|
||||
|
||||
- Debian 11 (Bullseye), Debian 10 (Buster), 9 (Stretch)
|
||||
- RHEL/CentOS 8.x, 7.x
|
||||
- CentOS 7.x
|
||||
- RockyLinux 8.x
|
||||
- Ubuntu LTS 20.04, 18.04, 16.04
|
||||
- OpenSUSE Leap 15.3\*
|
||||
|
|
|
@ -33,7 +33,7 @@ The following Linux distros are tested with each release, but as this is a secur
|
|||
you are *warmly* advised to run it on the latest up-to-date stable version of your favorite OS:
|
||||
|
||||
- Debian 11 (Bullseye), Debian 10 (Buster), 9 (Stretch)
|
||||
- RHEL/CentOS 8.x, 7.x
|
||||
- CentOS 7.x
|
||||
- RockyLinux 8.x
|
||||
- Ubuntu LTS 20.04, 18.04, 16.04
|
||||
- OpenSUSE Leap 15.3\*
|
||||
|
|
|
@ -1,27 +0,0 @@
|
|||
FROM centos:8
|
||||
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","-r"]
|
||||
RUN ["/opt/bastion/bin/admin/install-yubico-piv-checker.sh","-r"]
|
||||
|
||||
# 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
|
Loading…
Reference in a new issue