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
plume/release: support running update-release-index locally
Currently, that function operates directly on an S3 bucket. This makes
it harder to test locally. Add a new `--local-mode` option in which
we expect to be in a cosa workdir with release metadata present and a
release index.
This is mostly peppering conditionals in the code. Patch best viewed
with whitespace ignored.
// This is useful for testing `update-release-index` locally. The command is then expected to be run in a cosa workdir with the release metadata and release index available, hosted at the same levels they would be in S3. For reference:
46
+
// ```
47
+
// $ tree -L 3
48
+
// .
49
+
// ├── builds
50
+
// │ ├── 40.20241019.3.0
51
+
// │ │ ├── aarch64
52
+
// │ │ ├── ppc64le
53
+
// │ │ ├── release.json
54
+
// │ │ ├── s390x
55
+
// │ │ └── x86_64
56
+
// │ ├── builds.json
57
+
// │ └── latest -> 40.20241019.3.0
58
+
// ...
59
+
// ├── releases.json
60
+
// ├── src
61
+
// ...
62
+
// └── tmp
63
+
// ```
64
+
releaseIndexLocalbool
65
+
44
66
cmdMakeAmisPublic=&cobra.Command{
45
67
Use: "make-amis-public [options]",
46
68
Short: "Make the AMIs of a CoreOS release public.",
0 commit comments