File tree Expand file tree Collapse file tree 9 files changed +617
-585
lines changed
src/app/zkapps_examples/test Expand file tree Collapse file tree 9 files changed +617
-585
lines changed Original file line number Diff line number Diff line change 2121# Fetch a fresh copy of the target branch
2222source buildkite/scripts/refresh_code.sh
2323
24+ git fetch origin " ${BRANCH} "
25+
2426# Check mergeability. We use flags so that
2527# * `--no-commit` stops us from updating the index with a merge commit,
2628# * `--no-ff` stops us from updating the index to the HEAD, if the merge is a
Original file line number Diff line number Diff line change @@ -26,6 +26,8 @@ let Profiles = ../../Constants/Profiles.dhall
2626
2727let B / SoftFail = B. definitions/ commandStep/ properties/ soft_fail/ Type
2828
29+ let B / If = B. definitions/ commandStep/ properties/ if / Type
30+
2931let Spec =
3032 { Type =
3133 { dockerType : Dockers. Type
@@ -35,6 +37,7 @@ let Spec =
3537 , timeout : Natural
3638 , profile : Profiles. Type
3739 , scope : List PipelineScope. Type
40+ , if : B / If
3841 }
3942 , default =
4043 { dockerType = Dockers.Type. Bullseye
@@ -44,6 +47,8 @@ let Spec =
4447 , timeout = 1000
4548 , profile = Profiles.Type. Devnet
4649 , scope = PipelineScope. Full
50+ , if =
51+ " build.pull_request.base_branch != \" develop\" || build.branch == \" develop\" "
4752 }
4853 }
4954
@@ -68,6 +73,7 @@ let command
6873 " rosetta-${Network.lowerName spec.network}-connectivity-test"
6974 , target = Size. XLarge
7075 , soft_fail = Some spec. softFail
76+ , if = Some spec. if
7177 , depends_on =
7278 Dockers. dependsOn
7379 Dockers. DepsSpec:: {
Original file line number Diff line number Diff line change 44# Find the root of the Mina repo
55ROOT=$( cd -- " $( dirname -- " ${BASH_SOURCE[0]} " ) " /.. & > /dev/null && pwd )
66# Update the submodules
7- pushd " $ROOT " && git submodule sync && git submodule update --init --recursive && popd
7+ pushd " $ROOT " && git submodule sync && git submodule update --init --recursive --depth 1 && popd
88# Add the flake registry entry
99nix registry add mina " git+file://$ROOT ?submodules=1"
You can’t perform that action at this time.
0 commit comments