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
e270622f
Unverified
Commit
e270622f
authored
Jun 17, 2023
by
protolambda
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ci: configure cannon CI job
parent
84db9a59
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
32 additions
and
8 deletions
+32
-8
config.yml
.circleci/config.yml
+32
-8
No files found.
.circleci/config.yml
View file @
e270622f
...
@@ -59,6 +59,37 @@ commands:
...
@@ -59,6 +59,37 @@ commands:
pip3 install -r requirements.txt
pip3 install -r requirements.txt
python3 main.py "<<parameters.patterns>>"
python3 main.py "<<parameters.patterns>>"
jobs
:
jobs
:
cannon-go-lint-and-test
:
docker
:
-
image
:
us-docker.pkg.dev/oplabs-tools-artifacts/images/ci-builder:latest
steps
:
-
checkout
-
check-changed
:
patterns
:
cannon,packages/contracts-bedrock/contracts/cannon
-
run
:
name
:
prep Cannon results dir
command
:
mkdir -p /tmp/test-results
-
run
:
name
:
build Cannon example binaries
command
:
make elf
# only compile ELF binaries with Go, we do not have MIPS GCC for creating the debug-dumps.
working_directory
:
cannon/example
-
run
:
name
:
Cannon Go lint
command
:
|
golangci-lint run -E goimports,sqlclosecheck,bodyclose,asciicheck,misspell,errorlint --timeout 5m -e "errors.As" -e "errors.Is" ./...
working_directory
:
cannon
-
run
:
name
:
Cannon Go tests
command
:
|
gotestsum --format=standard-verbose --junitfile=/tmp/test-results/cannon.xml \
-- -parallel=8 -coverpkg=github.com/ethereum-optimism/optimism/cannon/... -coverprofile=coverage.out ./...
working_directory
:
cannon
-
run
:
name
:
upload Cannon coverage
command
:
codecov --verbose --clean --flags cannon-go-tests
-
store_test_results
:
path
:
/tmp/test-results
yarn-monorepo
:
yarn-monorepo
:
docker
:
docker
:
-
image
:
us-docker.pkg.dev/oplabs-tools-artifacts/images/ci-builder:latest
-
image
:
us-docker.pkg.dev/oplabs-tools-artifacts/images/ci-builder:latest
...
@@ -1191,9 +1222,6 @@ workflows:
...
@@ -1191,9 +1222,6 @@ workflows:
-
go-lint
:
-
go-lint
:
name
:
op-wheel-lint
name
:
op-wheel-lint
module
:
op-wheel
module
:
op-wheel
-
go-lint
:
name
:
cannon-go-lint
module
:
cannon
-
go-test
:
-
go-test
:
name
:
op-batcher-tests
name
:
op-batcher-tests
module
:
op-batcher
module
:
op-batcher
...
@@ -1219,9 +1247,6 @@ workflows:
...
@@ -1219,9 +1247,6 @@ workflows:
-
go-test
:
-
go-test
:
name
:
op-service-tests
name
:
op-service-tests
module
:
op-service
module
:
op-service
-
go-test
:
name
:
cannon-go-tests
module
:
cannon
-
go-e2e-test
:
-
go-e2e-test
:
name
:
op-e2e-WS-tests
name
:
op-e2e-WS-tests
module
:
op-e2e
module
:
op-e2e
...
@@ -1242,7 +1267,6 @@ workflows:
...
@@ -1242,7 +1267,6 @@ workflows:
-
op-challenger-lint
-
op-challenger-lint
-
op-program-lint
-
op-program-lint
-
op-service-lint
-
op-service-lint
-
cannon-go-lint
-
op-batcher-tests
-
op-batcher-tests
-
op-bindings-tests
-
op-bindings-tests
-
op-chain-ops-tests
-
op-chain-ops-tests
...
@@ -1253,7 +1277,6 @@ workflows:
...
@@ -1253,7 +1277,6 @@ workflows:
-
op-service-tests
-
op-service-tests
-
op-e2e-WS-tests
-
op-e2e-WS-tests
-
op-e2e-HTTP-tests
-
op-e2e-HTTP-tests
-
cannon-go-tests
-
docker-build
:
-
docker-build
:
name
:
op-node-docker-build
name
:
op-node-docker-build
docker_file
:
op-node/Dockerfile
docker_file
:
op-node/Dockerfile
...
@@ -1395,6 +1418,7 @@ workflows:
...
@@ -1395,6 +1418,7 @@ workflows:
-
op-challenger-docker-build
-
op-challenger-docker-build
-
check-generated-mocks-op-node
-
check-generated-mocks-op-node
-
check-generated-mocks-op-service
-
check-generated-mocks-op-service
-
cannon-go-lint-and-test
release
:
release
:
jobs
:
jobs
:
-
hold
:
-
hold
:
...
...
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