Skip to content

Commit

Permalink
Merge patch-axel-5
Browse files Browse the repository at this point in the history
  • Loading branch information
axel-h committed Apr 12, 2024
2 parents d856814 + 43efd62 commit 537f7b9
Show file tree
Hide file tree
Showing 15 changed files with 56 additions and 146 deletions.
39 changes: 10 additions & 29 deletions camkes-vm/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,39 +2,20 @@
#
# SPDX-License-Identifier: BSD-2-Clause

# The context of this Dockerfiles is the repo root (../)
FROM sel4/camkes-vm:latest

ARG WORKSPACE=/workspace
ARG SCRIPTS=/ci-scripts
ARG ACTION=camkes-vm
WORKDIR ci-scripts
COPY steps.sh ./
RUN chmod a+rx ./*

FROM trustworthysystems/camkes:latest

RUN apt-get update \
&& apt-get install -y --no-install-recommends \
libffi-dev \
&& apt-get clean autoclean \
&& apt-get autoremove --yes \
&& rm -rf /var/lib/{apt,dpkg,cache,log}/
RUN pip3 install junitparser PyGithub

ARG ACTION
ARG SCRIPTS
RUN mkdir ${SCRIPTS}
COPY ${ACTION}/steps.sh scripts/* ${SCRIPTS}/
RUN chmod a+rx ${SCRIPTS}/*
ENV PATH "${SCRIPTS}:${PATH}"

RUN mkdir /builds
COPY ${ACTION}/builds.yml \
${ACTION}/build.py \
WORKDIR /builds
COPY builds.yml \
build.py \
seL4-platforms/platforms.yml \
seL4-platforms/platforms.py \
seL4-platforms/builds.py \
/builds/
./

ARG WORKSPACE
RUN mkdir -p ${WORKSPACE}
WORKDIR ${WORKSPACE}
WORKDIR /workspace

ENTRYPOINT steps.sh
ENTRYPOINT /ci-scripts/steps.sh
2 changes: 1 addition & 1 deletion camkes-vm/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@ inputs:

runs:
using: 'docker'
image: 'docker://sel4/camkes-vm:latest'
image: 'Dockerfile'
1 change: 1 addition & 0 deletions camkes-vm/seL4-platforms
31 changes: 6 additions & 25 deletions seL4-manual/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,31 +2,12 @@
#
# SPDX-License-Identifier: BSD-2-Clause

# The context of this Dockerfiles is the repo root (../)
FROM sel4/sel4-manual:latest

ARG WORKSPACE=/workspace
WORKDIR ci-scripts
COPY steps.sh ./
RUN chmod a+rx ./*

FROM trustworthysystems/sel4:latest
WORKDIR /workspace

RUN apt-get update \
&& apt-get install -y --no-install-recommends \
doxygen \
texlive \
texlive-fonts-extra \
texlive-latex-extra \
&& apt-get clean autoclean \
&& apt-get autoremove --yes \
&& rm -rf /var/lib/{apt,dpkg,cache,log}/

COPY seL4-manual/steps.sh \
scripts/checkout.sh \
/usr/bin/

WORKDIR /usr/bin
RUN chmod a+rx checkout.sh steps.sh

ARG WORKSPACE
RUN mkdir -p ${WORKSPACE}
WORKDIR ${WORKSPACE}

ENTRYPOINT steps.sh
ENTRYPOINT /ci-scripts/steps.sh
2 changes: 1 addition & 1 deletion seL4-manual/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ inputs:

runs:
using: 'docker'
image: 'docker://sel4/sel4-manual:latest'
image: 'Dockerfile'
1 change: 1 addition & 0 deletions seL4-manual/seL4-platforms
39 changes: 10 additions & 29 deletions sel4bench/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,39 +2,20 @@
#
# SPDX-License-Identifier: BSD-2-Clause

# The context of this Dockerfiles is the repo root (../)
FROM sel4/sel4bench:latest

ARG WORKSPACE=/workspace
ARG SCRIPTS=/ci-scripts
ARG ACTION=sel4bench
WORKDIR ci-scripts
COPY steps.sh ./
RUN chmod a+rx ./*

FROM trustworthysystems/sel4:latest

RUN apt-get update \
&& apt-get install -y --no-install-recommends \
libffi-dev \
&& apt-get clean autoclean \
&& apt-get autoremove --yes \
&& rm -rf /var/lib/{apt,dpkg,cache,log}/
RUN pip3 install junitparser PyGithub

ARG SCRIPTS
ARG ACTION
RUN mkdir ${SCRIPTS}
COPY ${ACTION}/steps.sh scripts/* ${SCRIPTS}/
RUN chmod a+rx ${SCRIPTS}/*
ENV PATH "${SCRIPTS}:${PATH}"

RUN mkdir /builds
COPY ${ACTION}/builds.yml \
${ACTION}/build.py \
WORKDIR /builds
COPY builds.yml \
build.py \
seL4-platforms/platforms.yml \
seL4-platforms/platforms.py \
seL4-platforms/builds.py \
/builds/
./

ARG WORKSPACE
RUN mkdir -p ${WORKSPACE}
WORKDIR ${WORKSPACE}
WORKDIR /workspace

ENTRYPOINT steps.sh
ENTRYPOINT /ci-scripts/steps.sh
2 changes: 1 addition & 1 deletion sel4bench/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,4 @@ inputs:

runs:
using: 'docker'
image: 'docker://sel4/sel4bench:latest'
image: 'Dockerfile'
1 change: 1 addition & 0 deletions sel4bench/seL4-platforms
39 changes: 10 additions & 29 deletions sel4test-hw/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,39 +2,20 @@
#
# SPDX-License-Identifier: BSD-2-Clause

# The context of this Dockerfiles is the repo root (../)
FROM sel4/sel4test-hw:latest

ARG WORKSPACE=/workspace
ARG SCRIPTS=/ci-scripts
ARG ACTION=sel4test-hw
WORKDIR ci-scripts
COPY steps.sh ./
RUN chmod a+rx ./*

FROM trustworthysystems/sel4:latest

RUN apt-get update \
&& apt-get install -y --no-install-recommends \
libffi-dev \
&& apt-get clean autoclean \
&& apt-get autoremove --yes \
&& rm -rf /var/lib/{apt,dpkg,cache,log}/
RUN pip3 install junitparser PyGithub

ARG SCRIPTS
ARG ACTION
RUN mkdir ${SCRIPTS}
COPY ${ACTION}/steps.sh scripts/* ${SCRIPTS}/
RUN chmod a+rx ${SCRIPTS}/*
ENV PATH "${SCRIPTS}:${PATH}"

RUN mkdir /builds
COPY ${ACTION}/builds.yml \
${ACTION}/build.py \
WORKDIR /builds
COPY builds.yml \
build.py \
seL4-platforms/platforms.yml \
seL4-platforms/platforms.py \
seL4-platforms/builds.py \
/builds/
./

ARG WORKSPACE
RUN mkdir -p ${WORKSPACE}
WORKDIR ${WORKSPACE}
WORKDIR /workspace

ENTRYPOINT steps.sh
ENTRYPOINT /ci-scripts/steps.sh
2 changes: 1 addition & 1 deletion sel4test-hw/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,4 @@ inputs:

runs:
using: 'docker'
image: 'docker://sel4/sel4test-hw:latest'
image: 'Dockerfile'
1 change: 1 addition & 0 deletions sel4test-hw/seL4-platforms
39 changes: 10 additions & 29 deletions sel4test-sim/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,39 +2,20 @@
#
# SPDX-License-Identifier: BSD-2-Clause

# The context of this Dockerfiles is the repo root (../)
FROM sel4/sel4test-sim:latest

ARG WORKSPACE=/workspace
ARG SCRIPTS=/ci-scripts
ARG ACTION=sel4test-sim
WORKDIR /ci-scripts
COPY steps.sh ./
RUN chmod a+rx ./*

FROM trustworthysystems/sel4:latest

RUN apt-get update \
&& apt-get install -y --no-install-recommends \
libffi-dev \
&& apt-get clean autoclean \
&& apt-get autoremove --yes \
&& rm -rf /var/lib/{apt,dpkg,cache,log}/
RUN pip3 install junitparser PyGithub

ARG SCRIPTS
ARG ACTION
RUN mkdir ${SCRIPTS}
COPY ${ACTION}/steps.sh scripts/* ${SCRIPTS}/
RUN chmod a+rx ${SCRIPTS}/*
ENV PATH "${SCRIPTS}:${PATH}"

RUN mkdir /builds
COPY ${ACTION}/builds.yml \
${ACTION}/build.py \
WORKDIR /builds
COPY builds.yml \
build.py \
seL4-platforms/platforms.yml \
seL4-platforms/platforms.py \
seL4-platforms/builds.py \
/builds/
./

ARG WORKSPACE
RUN mkdir -p ${WORKSPACE}
WORKDIR ${WORKSPACE}
WORKDIR /workspace

ENTRYPOINT steps.sh
ENTRYPOINT /ci-scripts/steps.sh
2 changes: 1 addition & 1 deletion sel4test-sim/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,4 @@ inputs:

runs:
using: 'docker'
image: 'docker://sel4/sel4test-sim:latest'
image: 'Dockerfile'
1 change: 1 addition & 0 deletions sel4test-sim/seL4-platforms

0 comments on commit 537f7b9

Please sign in to comment.