Skip to content

Commit

Permalink
WIP merge patch-axel-5
Browse files Browse the repository at this point in the history
  • Loading branch information
axel-h committed Jan 27, 2024
2 parents e2231e2 + 0d8e9f3 commit 0d4a537
Show file tree
Hide file tree
Showing 9 changed files with 36 additions and 91 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
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
40 changes: 10 additions & 30 deletions sel4test-sim/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,39 +2,19 @@
#
# 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 \
seL4-platforms/platforms.yml \
WORKDIR /builds
COPY builds.yml \
build.py \
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 0d4a537

Please sign in to comment.