-
Notifications
You must be signed in to change notification settings - Fork 106
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3042 from vkarak/ci/redefine-base-images
[ci] Redefine CI base images
- Loading branch information
Showing
14 changed files
with
184 additions
and
174 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,27 @@ | ||
# | ||
# Execute this from the top-level ReFrame source directory | ||
# | ||
|
||
|
||
FROM ghcr.io/reframe-hpc/rfm-ci-base:lmod | ||
|
||
# ReFrame user | ||
RUN useradd -ms /bin/bash rfmuser | ||
|
||
USER rfmuser | ||
|
||
# Install ReFrame from the current directory | ||
COPY --chown=rfmuser . /home/rfmuser/reframe/ | ||
|
||
WORKDIR /home/rfmuser/reframe | ||
|
||
RUN ./bootstrap.sh | ||
|
||
CMD ["/bin/bash", "-c", "./test_reframe.py --rfm-user-config=ci-scripts/configs/lmod.py -v"] | ||
FROM ubuntu:20.04 | ||
|
||
ENV TZ=Europe/Zurich | ||
ENV DEBIAN_FRONTEND=noninteractive | ||
ENV _LMOD_VER=8.4.12 | ||
|
||
# Setup apt | ||
RUN \ | ||
apt-get -y update && \ | ||
apt-get -y install ca-certificates && \ | ||
update-ca-certificates | ||
|
||
# Required utilities | ||
RUN apt-get -y install wget | ||
|
||
# Install Lmod | ||
RUN \ | ||
apt-get -y install lua5.3 lua-bit32:amd64 lua-posix:amd64 lua-posix-dev liblua5.3-0:amd64 liblua5.3-dev:amd64 tcl tcl-dev tcl8.6 tcl8.6-dev:amd64 libtcl8.6:amd64 && \ | ||
wget -q https://github.com/TACC/Lmod/archive/${_LMOD_VER}.tar.gz -O lmod.tar.gz && \ | ||
tar xzf lmod.tar.gz && \ | ||
cd Lmod-${_LMOD_VER} && \ | ||
./configure && make install && \ | ||
cd .. && rm -rf lmod.tar.gz Lmod-${_LMOD_VER} && \ | ||
apt-get clean && \ | ||
rm -rf /var/lib/apt/lists/* | ||
|
||
ENV BASH_ENV=/usr/local/lmod/lmod/init/profile |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,33 @@ | ||
# | ||
# Execute this from the top-level ReFrame source directory | ||
# LMod versions prior to 8.2 emitted Python commands differently, so we use this | ||
# Dockerfile to test the bindings of older versions | ||
# | ||
|
||
|
||
FROM ghcr.io/reframe-hpc/rfm-ci-base:lmod77 | ||
FROM ubuntu:20.04 | ||
|
||
# ReFrame user | ||
RUN useradd -ms /bin/bash rfmuser | ||
ENV TZ=Europe/Zurich | ||
ENV DEBIAN_FRONTEND=noninteractive | ||
ENV _LMOD_VER=7.7 | ||
|
||
USER rfmuser | ||
# Setup apt | ||
RUN \ | ||
apt-get -y update && \ | ||
apt-get -y install ca-certificates && \ | ||
update-ca-certificates | ||
|
||
# Install ReFrame from the current directory | ||
COPY --chown=rfmuser . /home/rfmuser/reframe/ | ||
# Required utilities | ||
RUN apt-get -y install wget | ||
|
||
WORKDIR /home/rfmuser/reframe | ||
# Install Lmod | ||
RUN \ | ||
apt-get -y install lua5.3 lua-bit32:amd64 lua-posix:amd64 lua-posix-dev liblua5.3-0:amd64 liblua5.3-dev:amd64 tcl tcl-dev tcl8.6 tcl8.6-dev:amd64 libtcl8.6:amd64 lua-filesystem:amd64 lua-filesystem-dev:amd64 && \ | ||
wget -q https://github.com/TACC/Lmod/archive/${_LMOD_VER}.tar.gz -O lmod.tar.gz && \ | ||
tar xzf lmod.tar.gz && \ | ||
cd Lmod-${_LMOD_VER} && \ | ||
./configure && make install && \ | ||
cd .. && rm -rf lmod.tar.gz Lmod-${_LMOD_VER} && \ | ||
apt-get clean && \ | ||
rm -rf /var/lib/apt/lists/* | ||
|
||
RUN ./bootstrap.sh | ||
|
||
CMD ["/bin/bash", "-c", "./test_reframe.py --rfm-user-config=ci-scripts/configs/lmod.py -v"] | ||
ENV BASH_ENV=/usr/local/lmod/lmod/init/profile |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,6 @@ | ||
# | ||
# Execute this from the top-level ReFrame source directory | ||
# | ||
FROM centos:7 | ||
|
||
FROM ghcr.io/reframe-hpc/rfm-ci-base:tmod32 | ||
|
||
# ReFrame user | ||
RUN useradd -ms /bin/bash rfmuser | ||
|
||
USER rfmuser | ||
|
||
# Install ReFrame from the current directory | ||
COPY --chown=rfmuser . /home/rfmuser/reframe/ | ||
|
||
WORKDIR /home/rfmuser/reframe | ||
|
||
RUN ./bootstrap.sh | ||
|
||
CMD ["/bin/bash", "-c", "./test_reframe.py --rfm-user-config=ci-scripts/configs/tmod32.py -v"] | ||
# Install Tmod 3.2.10 | ||
RUN yum -y install environment-modules && \ | ||
yum clean all && \ | ||
rm -rf /var/cache/yum |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,27 @@ | ||
# | ||
# Execute this from the top-level ReFrame source directory | ||
# | ||
FROM ubuntu:20.04 | ||
|
||
FROM ghcr.io/reframe-hpc/rfm-ci-base:tmod4 | ||
ENV TZ=Europe/Zurich | ||
ENV DEBIAN_FRONTEND=noninteractive | ||
ENV _TMOD_VER=4.6.0 | ||
|
||
# ReFrame user | ||
RUN useradd -ms /bin/bash rfmuser | ||
# Setup apt | ||
RUN \ | ||
apt-get -y update && \ | ||
apt-get -y install ca-certificates && \ | ||
update-ca-certificates | ||
|
||
USER rfmuser | ||
# Required utilities | ||
RUN apt-get -y install wget less | ||
|
||
# Install ReFrame from the current directory | ||
COPY --chown=rfmuser . /home/rfmuser/reframe/ | ||
# Install Tmod4 | ||
RUN \ | ||
apt-get -y install autoconf tcl-dev && \ | ||
wget -q https://github.com/cea-hpc/modules/archive/v${_TMOD_VER}.tar.gz -O tmod.tar.gz && \ | ||
tar xzf tmod.tar.gz && \ | ||
cd modules-${_TMOD_VER} && \ | ||
./configure && make install && \ | ||
cd .. && rm -rf tmod.tar.gz modules-${_TMOD_VER} && \ | ||
apt-get clean && \ | ||
rm -rf /var/lib/apt/lists/* | ||
|
||
WORKDIR /home/rfmuser/reframe | ||
|
||
RUN ./bootstrap.sh | ||
|
||
CMD ["/bin/bash", "-c", "./test_reframe.py --rfm-user-config=ci-scripts/configs/tmod4.py -v"] | ||
ENV BASH_ENV=/usr/local/Modules/init/profile.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# | ||
# Execute this from the top-level ReFrame source directory | ||
# | ||
|
||
|
||
FROM ghcr.io/reframe-hpc/lmod:8.4.12 | ||
|
||
# Install ReFrame unit test requirements | ||
RUN apt-get -y update && \ | ||
apt-get -y install gcc git make python3 python3-pip python3-venv | ||
|
||
# ReFrame user | ||
RUN useradd -ms /bin/bash rfmuser | ||
|
||
USER rfmuser | ||
|
||
# Install ReFrame from the current directory | ||
COPY --chown=rfmuser . /home/rfmuser/reframe/ | ||
|
||
WORKDIR /home/rfmuser/reframe | ||
|
||
RUN ./bootstrap.sh | ||
|
||
CMD ["/bin/bash", "-c", "./test_reframe.py --rfm-user-config=ci-scripts/configs/lmod.py -v"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# | ||
# Execute this from the top-level ReFrame source directory | ||
# | ||
|
||
|
||
FROM ghcr.io/reframe-hpc/lmod:7.7 | ||
|
||
# Install ReFrame unit test requirements | ||
RUN apt-get -y update && \ | ||
apt-get -y install gcc make python3 python3-pip python3-venv | ||
|
||
# ReFrame user | ||
RUN useradd -ms /bin/bash rfmuser | ||
|
||
USER rfmuser | ||
|
||
# Install ReFrame from the current directory | ||
COPY --chown=rfmuser . /home/rfmuser/reframe/ | ||
|
||
WORKDIR /home/rfmuser/reframe | ||
|
||
RUN ./bootstrap.sh | ||
|
||
CMD ["/bin/bash", "-c", "./test_reframe.py --rfm-user-config=ci-scripts/configs/lmod.py -v"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# | ||
# Execute this from the top-level ReFrame source directory | ||
# | ||
|
||
FROM ghcr.io/reframe-hpc/tmod:3.2.10 | ||
|
||
# ReFrame requirements | ||
RUN yum -y install gcc make git python3 | ||
|
||
# ReFrame user | ||
RUN useradd -ms /bin/bash rfmuser | ||
|
||
USER rfmuser | ||
|
||
# Install ReFrame from the current directory | ||
COPY --chown=rfmuser . /home/rfmuser/reframe/ | ||
|
||
WORKDIR /home/rfmuser/reframe | ||
|
||
RUN ./bootstrap.sh | ||
|
||
CMD ["/bin/bash", "-c", "./test_reframe.py --rfm-user-config=ci-scripts/configs/tmod32.py -v"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
# | ||
# Execute this from the top-level ReFrame source directory | ||
# | ||
|
||
FROM ghcr.io/reframe-hpc/tmod:4.6.0 | ||
|
||
|
||
# ReFrame requirements | ||
RUN \ | ||
apt-get -y update && \ | ||
apt-get -y install gcc make git python3 python3-pip python3-venv | ||
|
||
# ReFrame user | ||
RUN useradd -ms /bin/bash rfmuser | ||
|
||
USER rfmuser | ||
|
||
# Install ReFrame from the current directory | ||
COPY --chown=rfmuser . /home/rfmuser/reframe/ | ||
|
||
WORKDIR /home/rfmuser/reframe | ||
|
||
RUN ./bootstrap.sh | ||
|
||
CMD ["/bin/bash", "-c", "./test_reframe.py --rfm-user-config=ci-scripts/configs/tmod4.py -v"] |
Oops, something went wrong.