Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(ci): add new e2e base target #7179

Merged
merged 4 commits into from
Jun 25, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 8 additions & 3 deletions yarn-project/Earthfile
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@
FROM ../build-images+build
SAVE ARTIFACT /opt/foundry/bin/anvil

end-to-end:
end-to-end-base:
FROM ubuntu:noble
# add repository for chromium
RUN apt-get update && apt-get install -y software-properties-common \
Expand All @@ -220,11 +220,16 @@
ENV ACVM_WORKING_DIRECTORY=/usr/src/acvm
ENV ACVM_BINARY_PATH=/usr/src/noir/noir-repo/target/release/acvm
ENV PROVER_AGENT_CONCURRENCY=8
RUN mkdir -p $BB_WORKING_DIRECTORY $ACVM_WORKING_DIRECTORY
RUN mkdir -p $BB_WORKING_DIRECTORY $

RUN ln -s /usr/src/yarn-project/.yarn/releases/yarn-3.6.3.cjs /usr/local/bin/yarn

end-to-end:
FROM +end-to-end-base

COPY +anvil/anvil /opt/foundry/bin/anvil
COPY +end-to-end-prod/usr/src /usr/src
WORKDIR /usr/src/yarn-project/end-to-end
RUN ln -s /usr/src/yarn-project/.yarn/releases/yarn-3.6.3.cjs /usr/local/bin/yarn
ENTRYPOINT ["yarn", "test"]

scripts-prod:
Expand Down Expand Up @@ -268,7 +273,7 @@

test:
FROM +build
RUN yarn test

Check failure on line 276 in yarn-project/Earthfile

View workflow job for this annotation

GitHub Actions / yarn-project-test

Error

The command RUN yarn test did not complete successfully. Exit code 1

run-e2e:
ARG test
Expand Down
Loading