Skip to content

Commit

Permalink
test: copy link Mendix artifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
leonardomendix committed Jul 1, 2024
1 parent 5a34438 commit e5d8699
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/RunE2ERCNightlies.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ jobs:
echo $URL
SP_VERSION=$(echo $URL | sed -E 's/.*(-([0-9]+\.[0-9]+\.[0-9]+\.[0-9]+)-).*/\2/')
echo $SP_VERSION
aws s3 cp s3://${{ env.AWS_S3_BUCKET_NAME }}/runtimes/mxbuild-${SP_VERSION}.tar.gz ${{ github.workspace }}/automation/run-e2e/docker/mxbuild-${SP_VERSION}.tar.gz
aws s3 cp s3://${{ env.AWS_S3_BUCKET_NAME }}/runtimes/mendix-${SP_VERSION}.tar.gz ${{ github.workspace }}/automation/run-e2e/docker/mendix-${SP_VERSION}.tar.gz
aws s3 cp s3://${{ env.AWS_S3_BUCKET_NAME }}/runtimes/mxbuild-${SP_VERSION}.tar.gz ${{ github.workspace }}/automation/run-e2e/docker/mxbuild.tar.gz
aws s3 cp s3://${{ env.AWS_S3_BUCKET_NAME }}/runtimes/mendix-${SP_VERSION}.tar.gz ${{ github.workspace }}/automation/run-e2e/docker/mendix.tar.gz
echo "Starting E2E testing execution..."
MENDIX_VERSION=$SP_VERSION RC=true pnpm -r --workspace-concurrency=1 run e2e
- name: "Fixing files permissions"
Expand Down
6 changes: 2 additions & 4 deletions automation/run-e2e/docker/mxbuildRC.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,16 +1,14 @@
FROM --platform=$BUILDPLATFORM eclipse-temurin:17-jdk-jammy
FROM eclipse-temurin:17-jdk-jammy

ARG MENDIX_VERSION
ARG BUILDPLATFORM

COPY mendix-${MENDIX_VERSION}.tar.gz /tmp/mxbuild.tar.gz
COPY --link mxbuild.tar.gz /tmp/mxbuild.tar.gz

SHELL ["/bin/bash", "-c"]
RUN \
echo "Copying mxbuild ${MENDIX_VERSION}..." && \
mkdir /tmp/mxbuild && \
tar xfz /tmp/mxbuild.tar.gz --directory /tmp/mxbuild && \
rm /tmp/mxbuild.tar.gz && \
\
apt-get update -qqy && \
apt-get install -qqy libicu70 && \
Expand Down
2 changes: 1 addition & 1 deletion automation/run-e2e/docker/mxruntimeRC.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ ENV RUNTIME_PORT=8080 \

EXPOSE $RUNTIME_PORT $ADMIN_PORT

COPY mendix-${MENDIX_VERSION}.tar.gz /tmp/runtime.tar.gz
COPY --link mendix.tar.gz /tmp/runtime.tar.gz

#install dependency -> git
RUN apt-get update -qqy && \
Expand Down

0 comments on commit e5d8699

Please sign in to comment.