Commit e23e477
authored
Hotfix/cachix pin checks (#951)
## Cachix Test Pin Workflow Updates
- Addressing an issue when parsing the json blob incorrectly. Store
paths returned by this call returns ALL associated pins to the kmir
project and the associated architectures on that query. We look for
'latest' and compare is our desired artifact there, yes? done, else wait
5 seconds and try again.
- The Cachix Test WF also now properly checks out the correct branch
being modified and tested.
Problem: Before it was checking out the target 'Git ref', if you're
trying to fix / test changes to the script or the test WF it would pull
the wrong code to run.
This combo of script and WF allows now for developers to test / get a
better view of what is on cachix, compare expectations to reality.
- Release workflow should now also find the expected revision it just
prodcued on cachix.
## NOTE
- What remains in question. Is 120 seconds enough or do we need to allow
more time for cachix to update and notify the pin was made. It is slow,
how slow? Maybe longer than 2 minutes. Increase this wait time to 5
minutes if it fails again.
For the most recent release I tested manually with the test workflow
here:
https://github.com/runtimeverification/mir-semantics/actions/runs/225011380311 parent 72f5df2 commit e23e477
3 files changed
Lines changed: 64 additions & 25 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
11 | 22 | | |
12 | 23 | | |
13 | 24 | | |
14 | 25 | | |
15 | 26 | | |
16 | 27 | | |
17 | | - | |
18 | | - | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
19 | 32 | | |
20 | 33 | | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
| 34 | + | |
25 | 35 | | |
26 | 36 | | |
27 | 37 | | |
28 | 38 | | |
29 | | - | |
30 | | - | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
31 | 60 | | |
32 | | - | |
33 | | - | |
34 | | - | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
35 | 67 | | |
36 | | - | |
37 | | - | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
38 | 75 | | |
39 | | - | |
40 | | - | |
| 76 | + | |
| 77 | + | |
41 | 78 | | |
42 | 79 | | |
43 | 80 | | |
44 | | - | |
| 81 | + | |
45 | 82 | | |
46 | 83 | | |
47 | 84 | | |
48 | | - | |
| 85 | + | |
49 | 86 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
167 | 167 | | |
168 | 168 | | |
169 | 169 | | |
| 170 | + | |
| 171 | + | |
170 | 172 | | |
171 | 173 | | |
172 | 174 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
19 | | - | |
20 | 18 | | |
21 | 19 | | |
22 | 20 | | |
23 | 21 | | |
24 | 22 | | |
25 | 23 | | |
| 24 | + | |
| 25 | + | |
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
0 commit comments