Skip to content

Commit

Permalink
Merge branch 'main' into 4.7 to include docker-slurm updates.
Browse files Browse the repository at this point in the history
  • Loading branch information
neilmunday committed Nov 23, 2023
2 parents 71193c1 + 013fefa commit c30fb9f
Show file tree
Hide file tree
Showing 7 changed files with 22 additions and 15 deletions.
2 changes: 1 addition & 1 deletion tests/integration/docker-slurm/Dockerfile.el7
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ LABEL org.opencontainers.image.source="https://github.com/neilmunday/slurm-mail"
org.opencontainers.image.title="centos7-slurm" \
maintainer="Neil Munday"

ARG SLURM_VER=23.02.6
ARG SLURM_VER=23.11.0

# download, build, install and clean-up
RUN yum update -y && \
Expand Down
2 changes: 1 addition & 1 deletion tests/integration/docker-slurm/Dockerfile.el8
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ LABEL org.opencontainers.image.source="https://github.com/neilmunday/slurm-mail"
org.opencontainers.image.title="rocky8-slurm" \
maintainer="Neil Munday"

ARG SLURM_VER=23.02.6
ARG SLURM_VER=23.11.0

# download, build, install and clean-up
RUN dnf install -y dnf-plugins-core && \
Expand Down
2 changes: 1 addition & 1 deletion tests/integration/docker-slurm/Dockerfile.el9
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ LABEL org.opencontainers.image.source="https://github.com/neilmunday/slurm-mail"
org.opencontainers.image.title="rocky9-slurm" \
maintainer="Neil Munday"

ARG SLURM_VER=23.02.6
ARG SLURM_VER=23.11.0

# download, build, install and clean-up
RUN dnf install -y dnf-plugins-core && \
Expand Down
25 changes: 16 additions & 9 deletions tests/integration/docker-slurm/Dockerfile.sl15
Original file line number Diff line number Diff line change
@@ -1,18 +1,23 @@
FROM opensuse/leap:15.4
FROM opensuse/leap:15.5

LABEL org.opencontainers.image.source="https://github.com/neilmunday/slurm-mail" \
org.opencontainers.image.description="A OpenSuSE 15 Slurm container intended for testing Slurm-Mail" \
org.opencontainers.image.title="opensuse8-slurm" \
maintainer="Neil Munday"

ARG SLURM_VER=23.02.6
ARG SLURM_VER=23.11.0
ARG MARIADB_VER=11.3

RUN zypper install -y \
RUN zypper update -y && \
rpm --import https://yum.mariadb.org/RPM-GPG-KEY-MariaDB && \
zypper addrepo --gpgcheck --refresh https://yum.mariadb.org/${MARIADB_VER}/sles/15/x86_64 mariadb && \
zypper --gpg-auto-import-keys refresh && \
zypper install -y \
gcc \
MariaDB-devel \
MariaDB-client \
MariaDB-server \
mailx \
libmariadb-devel \
mariadb \
mariadb-client \
munge-devel \
pam-devel \
perl \
Expand All @@ -33,7 +38,7 @@ RUN zypper install -y \
/usr/src/packages/RPMS/x86_64/slurm-slurmdbd-${SLURM_VER}*.x86_64.rpm && \
zypper remove -y \
gcc \
libmariadb-devel \
MariaDB-devel \
make \
munge-devel \
pam-devel \
Expand All @@ -58,9 +63,11 @@ RUN MAJOR_VER=`echo ${SLURM_VER} | egrep -o "^[0-9]+"` && \
mv /etc/slurm/slurm.${MAJOR_VER}.conf /etc/slurm/slurm.conf && \
rm -f /etc/slurm/slurm.*.conf && \
chmod 600 /etc/slurm/slurm*.conf && \
/usr/bin/mysql_install_db --user=mysql && \
/usr/bin/mariadb-install-db --user=mysql && \
ln -s /tini /usr/bin/tini && \
ln -s /var/log/supervisord /var/log/supervisor
ln -s /var/log/supervisord /var/log/supervisor && \
ln -s /usr/bin/mariadb /usr/bin/mysql && \
ln -s /usr/bin/mariadbd-safe /usr/bin/mysqld_safe

ENTRYPOINT ["/usr/bin/tini", "--", "/usr/local/sbin/entrypoint.sh"]
CMD ["tail -f /dev/null"]
2 changes: 1 addition & 1 deletion tests/integration/docker-slurm/Dockerfile.ub20
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ LABEL org.opencontainers.image.source="https://github.com/neilmunday/slurm-mail"
org.opencontainers.image.title="ubuntu20-slurm" \
maintainer="Neil Munday"

ARG SLURM_VER=23.02.6
ARG SLURM_VER=23.11.0

RUN apt-get update

Expand Down
2 changes: 1 addition & 1 deletion tests/integration/docker-slurm/Dockerfile.ub22
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ LABEL org.opencontainers.image.source="https://github.com/neilmunday/slurm-mail"
org.opencontainers.image.title="ubuntu22-slurm" \
maintainer="Neil Munday"

ARG SLURM_VER=23.02.6
ARG SLURM_VER=23.11.0

RUN apt-get update

Expand Down
2 changes: 1 addition & 1 deletion tests/integration/docker-slurm/current_version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
23.02.6
23.11.0

0 comments on commit c30fb9f

Please sign in to comment.