Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
N
nebula
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
exchain
nebula
Commits
b127499e
Unverified
Commit
b127499e
authored
Sep 30, 2024
by
Inphi
Committed by
GitHub
Sep 30, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ci: Cannon v2 STF verify (#12211)
* ci: Cannon v2 STF verify * ci: remove op-e2e-cannon-tests dep
parent
f0227a82
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
6 deletions
+9
-6
config.yml
.circleci/config.yml
+4
-1
Dockerfile.diff
cannon/Dockerfile.diff
+5
-5
No files found.
.circleci/config.yml
View file @
b127499e
...
@@ -1171,6 +1171,8 @@ jobs:
...
@@ -1171,6 +1171,8 @@ jobs:
key
:
golang-build-cache-cannon-stf-verify-{{ checksum "go.sum" }}
key
:
golang-build-cache-cannon-stf-verify-{{ checksum "go.sum" }}
paths
:
paths
:
-
"
/root/.cache/go-build"
-
"
/root/.cache/go-build"
-
notify-failures-on-develop
:
mentions
:
"
@proofs-squad"
semgrep-scan
:
semgrep-scan
:
parameters
:
parameters
:
...
@@ -1708,6 +1710,8 @@ workflows:
...
@@ -1708,6 +1710,8 @@ workflows:
-
cannon-stf-verify
:
-
cannon-stf-verify
:
requires
:
requires
:
-
go-mod-download
-
go-mod-download
context
:
-
slack
-
contracts-bedrock-build
:
-
contracts-bedrock-build
:
skip_pattern
:
test
skip_pattern
:
test
context
:
context
:
...
@@ -1725,7 +1729,6 @@ workflows:
...
@@ -1725,7 +1729,6 @@ workflows:
requires
:
requires
:
-
contracts-bedrock-build
-
contracts-bedrock-build
-
cannon-prestate
-
cannon-prestate
-
cannon-stf-verify
context
:
context
:
-
slack
-
slack
...
...
cannon/Dockerfile.diff
View file @
b127499e
...
@@ -23,12 +23,12 @@ ARG GIT_DATE
...
@@ -23,12 +23,12 @@ ARG GIT_DATE
ARG TARGETOS TARGETARCH
ARG TARGETOS TARGETARCH
FROM --platform=$BUILDPLATFORM us-docker.pkg.dev/oplabs-tools-artifacts/images/cannon:v1.
0.0-alpha.2 AS cannon-v1
FROM --platform=$BUILDPLATFORM us-docker.pkg.dev/oplabs-tools-artifacts/images/cannon:v1.
1.0-alpha.1 AS cannon-v2
FROM --platform=$BUILDPLATFORM builder as cannon-verify
FROM --platform=$BUILDPLATFORM builder as cannon-verify
COPY --from=cannon-v
1 /usr/local/bin/cannon /usr/local/bin/cannon-v1
COPY --from=cannon-v
2 /usr/local/bin/cannon /usr/local/bin/cannon-v2
#
verify the latest singlethreaded VM behavior against cannon-v
1
#
verify the latest singlethreaded VM behavior against cannon-v
2
RUN cd cannon && make diff-singlethreaded-
cannon -e OTHER_CANNON=/usr/local/bin/cannon-v1
RUN cd cannon && make diff-singlethreaded-
2-cannon -e OTHER_CANNON=/usr/local/bin/cannon-v2
RUN --mount=type=cache,target=/root/.cache/go-build cd cannon && \
RUN --mount=type=cache,target=/root/.cache/go-build cd cannon && \
make diff-singlethreaded-
cannon -e OTHER_CANNON=/usr/local/bin/cannon-v1
\
make diff-singlethreaded-
2-cannon -e OTHER_CANNON=/usr/local/bin/cannon-v2
\
GOOS=$TARGETOS GOARCH=$TARGETARCH GITCOMMIT=$GIT_COMMIT GITDATE=$GIT_DATE
GOOS=$TARGETOS GOARCH=$TARGETARCH GITCOMMIT=$GIT_COMMIT GITDATE=$GIT_DATE
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment