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
Up until now, the appregistry-server always pulled the latest
version of the requested packages, which makes sense for production,
but not for testing and release phases of the packages.
During testing, multiple version of the same package can be
tested at the same time, and when releasing, it's not mandatory
that the different releases will be released on the same date.
When combining the appregistry-server logic, with the properties of the
test and release phases, there is a need to create a complex automation
for merging multiple versions (so they can be tested at the time) into
a single bundle, and omitting non-ready releases from bundles,
after testing and before the release.
This change adds the possibility to specify the requested release after
the package's name (e.g "Kubevirt:10.0.0"). If the version is not specified,
the server will download the latest version from the appregistry.
Signed-off-by: gbenhaim <[email protected]>
Copy file name to clipboardexpand all lines: cmd/appregistry-server/main.go
+1-1
Original file line number
Diff line number
Diff line change
@@ -37,7 +37,7 @@ func main() {
37
37
rootCmd.Flags().StringP("download-folder", "f", "downloaded", "directory where downloaded nested operator bundle(s) will be stored to be processed further")
38
38
rootCmd.Flags().StringP("database", "d", "bundles.db", "name of db to output")
rootCmd.Flags().StringP("packages", "o", "", "comma separated list of package(s) to be downloaded from the specified operator source(s)")
40
+
rootCmd.Flags().StringP("packages", "o", "", "comma separated list of package(s) to be downloaded from the specified operator source(s). The requested release can be appended to the package name, delimited with a colone (e.g some-pkg:1.1.0)")
41
41
rootCmd.Flags().StringP("port", "p", "50051", "port number to serve on")
42
42
rootCmd.Flags().StringP("termination-log", "t", "/dev/termination-log", "path to a container termination log file")
43
43
rootCmd.Flags().Bool("strict", false, "fail on registry load errors")
0 commit comments