Skip to content

Commit

Permalink
Add OracleLinux 9 to AMAUATs test matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
replaceafill committed May 22, 2024
1 parent 5b9bf71 commit 49768cc
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/archivematica-acceptance-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,9 @@ jobs:
- name: "almalinux"
tag: "9"
label: "alma9"
- name: "oraclelinux"
tag: "9"
label: "oracle9"
- name: "ubuntu"
tag: "22.04"
label: "jammy"
Expand Down Expand Up @@ -200,7 +203,7 @@ jobs:
run: |
podman-compose exec --user root archivematica bash -c 'cp -r /var/log/{archivematica,mysql,elasticsearch,gearman-job-server,clamav,nginx} /tmp/logs'
- name: "Save logs on failure"
if: "${{ (matrix.docker_image.name == 'rockylinux' || matrix.docker_image.name == 'almalinux') && ((failure() && steps.amauat-run.outcome == 'failure') || (cancelled() && steps.amauat-run.outcome == 'cancelled')) }}"
if: "${{ matrix.docker_image.name != 'ubuntu' && ((failure() && steps.amauat-run.outcome == 'failure') || (cancelled() && steps.amauat-run.outcome == 'cancelled')) }}"
working-directory: "${{ github.workspace }}/tests/archivematica-acceptance-tests"
run: |
podman-compose exec --user root archivematica bash -c 'journalctl -u mysqld --no-pager > /tmp/logs/journalctl/mysql'
Expand Down
12 changes: 12 additions & 0 deletions tests/archivematica-acceptance-tests/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,18 @@ RUN set -ex \
sudo \
&& dnf clean all

FROM oraclelinux:9 AS install_oraclelinux_9

RUN set -ex \
&& dnf -y update \
&& dnf -y install coreutils --allowerasing \
&& dnf -y install \
glibc-langpack-en \
openssh-server \
python-unversioned-command \
sudo \
&& dnf clean all

FROM install_${DOCKER_IMAGE_NAME}_${DOCKER_IMAGE_TAG} as server

RUN useradd --home-dir /home/ubuntu --system ubuntu
Expand Down

0 comments on commit 49768cc

Please sign in to comment.