File tree Expand file tree Collapse file tree 1 file changed +25
-0
lines changed Expand file tree Collapse file tree 1 file changed +25
-0
lines changed Original file line number Diff line number Diff line change 1+ # Populating the RHCOS Stream Marketplace Extension
2+
3+ This tool is used to reach out to cloud sdks and populate the
4+ data/data/coreos/marketplace-rhcos.json file. That file represents
5+ the mareketplace extension to the rhcos stream and is merged into
6+ the stream.
7+
8+ To run the program:
9+
10+ ``` shell
11+ go run -mod=vendor ./hack/rhcos/populate-marketplace-imagestream.go
12+ ```
13+
14+ The program will find marketplace images based on the version of the
15+ RHCOS stream. The version can be overriden with the
16+ ` STREAM_RELEASE_OVERRIDE ` variable. This is useful if you are working
17+ on the main branch, where up-to-date images are not available. For
18+ example, looking up Azure images requires knowing the X.Y version
19+ to populate the offer, so when working on the main branch (4.20),
20+ it is necessary to run the following command to correctly populate
21+ the stream:
22+
23+ ``` shell
24+ STREAM_RELEASE_OVERRIDE=4.19 go run -mod=vendor ./hack/rhcos/populate-marketplace-imagestream.go
25+ ```
You can’t perform that action at this time.
0 commit comments