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
6dfeea6b
Unverified
Commit
6dfeea6b
authored
Nov 20, 2023
by
F-WRunTime
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updatin circleci config to run kontrol tests when changes occur in kontrol folder, top-level
parent
9a76989e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
42 additions
and
0 deletions
+42
-0
config.yml
.circleci/config.yml
+42
-0
No files found.
.circleci/config.yml
View file @
6dfeea6b
...
...
@@ -1269,6 +1269,48 @@ jobs:
name
:
Verify Values Match
command
:
|
./ops/scripts/ci-match-values-between-files.sh "<< parameters.file1_path >>" "<< parameters.pattern_file1 >>" "<< parameters.file2_path >>" "<< parameters.pattern_file2 >>"
test-proofs
:
machine
:
true
steps
:
-
checkout
-
run
:
name
:
Checkout submodules
command
:
|
git submodule sync
git submodule update --init --recursive
-
run
:
name
:
"
Start
Docker
Container"
command
:
|
export KONTROL_VERSION=$(cat deps/kontrol_release)
docker run --name optimism-ci \
--rm \
-v $(pwd)/kout/proofs:/home/user/workspace/packages/contracts-bedrock/kout/proofs/ \
--interactive \
--tty \
--detach \
--user root \
--workdir /home/user/workspace \
runtimeverificationinc/kontrol:ubuntu-jammy-${KONTROL_VERSION}
docker cp . optimism-ci:/home/user/workspace
docker exec optimism-ci chown -R user:user /home/user
-
run
:
name
:
'
Run
Kontrol'
command
:
|
docker exec -u user optimism-ci bash -c 'cd packages/contracts-bedrock && ./test/kontrol/kontrol/run-kontrol.sh'
-
run
:
name
:
Create Results Tar
command
:
|
tar -czvf results.tar.gz kout/proofs
-
store_artifacts
:
path
:
results.tar.gz
destination
:
results
when
:
always
when
:
changes
:
paths
:
-
packages/contracts-bedrock/test/kontrol/**
workflows
:
main
:
when
:
...
...
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