You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
refactor(nns-tools): Turn release-runscript to clap-powered CLI (dfinity#3712)
This will make it simpler to add automation for various steps in the
future. It will also enable the person doing the release to start at any
step (instead of needing to start at the beginning).
As a reminder, the runscript can be run with:
```
bazel run //rs/nervous_system/tools/release-runscript --config=lint
```
In this chain of PRs, I automate the first few steps of the release
process in this script.
[Next PR →](dfinity#3713)
If you would like to pick a different commit, follow these steps:
15
93
2. Go to https://github.com/dfinity/ic/actions/workflows/ci-main.yml?query=branch%3Amaster+event%3Apush+is%3Asuccess
16
94
3. Find a recent commit with passing CI Main in the master branch
@@ -19,12 +97,17 @@ If you would like to pick a different commit, follow these steps:
19
97
Pre-built artifacts check:
20
98
- Install aws tool if needed
21
99
- List available files:
22
-
aws s3 ls --no-sign-request s3://dfinity-download-public/ic/${COMMIT}/canisters/
100
+
aws s3 ls --no-sign-request s3://dfinity-download-public/ic/${COMMIT}/canisters/
23
101
- Note: Our tools download from the analogous https://download.dfinity.systems/... URL",
24
-
},
25
-
Step{
26
-
title:"Determine Upgrade Targets",
27
-
description:"Determine which NNS canisters and/or SNS WASMs need to be upgraded/published.
102
+
);
103
+
run_determine_targets(DetermineTargets);
104
+
}
105
+
106
+
fnrun_determine_targets(_:DetermineTargets){
107
+
print_step(
108
+
2,
109
+
"Determine Upgrade Targets",
110
+
"Determine which NNS canisters and/or SNS WASMs need to be upgraded/published.
28
111
Only those with 'interesting' changes need to be released.
29
112
30
113
Required checks:
@@ -38,10 +121,14 @@ For SNS ledger suite (ledger, archive, and index canisters):
38
121
- FI team should provide the 'Features' section of proposals
39
122
- This agreement is new - you may need to remind them
40
123
- This applies to ledger, archive, and index canisters",
41
-
},
42
-
Step{
43
-
title:"Run NNS Upgrade Tests",
44
-
description:"Verify the commit you chose at the previous step has a green check on this page: https://github.com/dfinity/ic/actions/workflows/ci-main.yml?query=branch:master+event:push+is:success
124
+
);
125
+
run_run_tests(RunTests);
126
+
}
127
+
128
+
fnrun_run_tests(_:RunTests){
129
+
print_step(3,
130
+
"Run NNS Upgrade Tests",
131
+
"Verify the commit you chose at the previous step has a green check on this page: https://github.com/dfinity/ic/actions/workflows/ci-main.yml?query=branch:master+event:push+is:success
45
132
46
133
If not, you can also run the upgrade tests manually:
0 commit comments