Commit f0144d8
authored
[4/n] [reconfigurator-planning] add a way to set the target release at system creation time (#8939)
As part of the work in #8726, updates will only happen if all zones are
at known versions before the update starts. In tests, the easiest way to
achieve this is to start off the `ExampleSystem` with a target release
at creation time.
This PR:
* adds support for that
* adds a simple `0.0.1` fake manifest that tests can use
* converts one of the update-related tests over to starting off with a
target release, as an example. (More tests will be converted over in
subsequent commits.)
In order to do this, the `ExampleSystemBuilder` now needs to be aware of
how to extract TUF repos. Reconfigurator-cli already had code to create
and extract TUF repos, which I've moved into
nexus-reconfigurator-planning.
This is going to run into issues with Cosmo boards since they'll have
multiple host phase 1 artifacts -- added TODOs to flag that.1 parent 45c032b commit f0144d8
File tree
6 files changed
+446
-79
lines changed- dev-tools/reconfigurator-cli/src
- nexus/reconfigurator/planning
- src
- update-common/manifests
6 files changed
+446
-79
lines changedSome generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
24 | 26 | | |
25 | 27 | | |
26 | 28 | | |
| |||
48 | 50 | | |
49 | 51 | | |
50 | 52 | | |
| 53 | + | |
51 | 54 | | |
52 | | - | |
53 | 55 | | |
54 | 56 | | |
55 | 57 | | |
| |||
75 | 77 | | |
76 | 78 | | |
77 | 79 | | |
78 | | - | |
79 | | - | |
80 | | - | |
81 | 80 | | |
82 | 81 | | |
83 | 82 | | |
84 | | - | |
85 | | - | |
86 | | - | |
87 | | - | |
88 | | - | |
89 | | - | |
90 | | - | |
91 | | - | |
92 | 83 | | |
93 | 84 | | |
94 | 85 | | |
| |||
2840 | 2831 | | |
2841 | 2832 | | |
2842 | 2833 | | |
2843 | | - | |
2844 | | - | |
2845 | | - | |
2846 | | - | |
2847 | | - | |
2848 | | - | |
2849 | | - | |
2850 | | - | |
2851 | | - | |
2852 | | - | |
2853 | | - | |
2854 | | - | |
2855 | | - | |
2856 | | - | |
2857 | | - | |
2858 | | - | |
2859 | | - | |
2860 | | - | |
2861 | | - | |
2862 | | - | |
2863 | | - | |
2864 | | - | |
2865 | | - | |
2866 | | - | |
2867 | | - | |
2868 | | - | |
2869 | 2834 | | |
2870 | 2835 | | |
2871 | 2836 | | |
| |||
2896 | 2861 | | |
2897 | 2862 | | |
2898 | 2863 | | |
2899 | | - | |
2900 | | - | |
2901 | | - | |
2902 | | - | |
2903 | | - | |
2904 | | - | |
2905 | | - | |
2906 | | - | |
2907 | | - | |
2908 | | - | |
2909 | | - | |
2910 | | - | |
2911 | | - | |
2912 | | - | |
2913 | | - | |
2914 | | - | |
2915 | | - | |
2916 | | - | |
2917 | | - | |
2918 | | - | |
2919 | | - | |
2920 | | - | |
2921 | | - | |
2922 | | - | |
| 2864 | + | |
| 2865 | + | |
| 2866 | + | |
| 2867 | + | |
| 2868 | + | |
| 2869 | + | |
2923 | 2870 | | |
2924 | 2871 | | |
2925 | 2872 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
11 | 14 | | |
12 | 15 | | |
13 | 16 | | |
| |||
41 | 44 | | |
42 | 45 | | |
43 | 46 | | |
| 47 | + | |
| 48 | + | |
44 | 49 | | |
| 50 | + | |
45 | 51 | | |
| 52 | + | |
46 | 53 | | |
47 | 54 | | |
48 | 55 | | |
| |||
0 commit comments