Skip to content

Commit

Permalink
updates needed when running through the steps
Browse files Browse the repository at this point in the history
Signed-off-by: Bryce Palmer <[email protected]>
  • Loading branch information
everettraven committed Nov 10, 2023
1 parent 9cecd82 commit 896f1c6
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions docs/demos/coast-to-coast-q4-2023.md
Original file line number Diff line number Diff line change
Expand Up @@ -114,8 +114,8 @@ FROM scratch
ADD manifests /manifests
EOF

versions="v1.0.0-alpha1 v1.0.0 v1.0.1 v1.1.0 v2.0.0"
for version in "$versions"
versions=( v1.0.0-alpha1 v1.0.0 v1.0.1 v1.1.0 v2.0.0 )
for version in "${versions[@]}"
do
make generate manifests
make docker-build IMG="quay.io/operator-framework/coastal:${version}"
Expand Down Expand Up @@ -250,7 +250,7 @@ EOF

- Using `yq`, update the channel to include this bundle as an entry
```sh
yq eval 'select(.schema=="olm.channel" and .name == "stable").entries += [{"name" : "coastal.v1.0.0"}]' index.yaml
yq eval 'select(.schema=="olm.channel" and .name == "stable").entries += [{"name" : "coastal.v1.0.0"}]' -i catalog/index.yaml
```

- Build and push the catalog image
Expand Down Expand Up @@ -299,7 +299,7 @@ EOF

- Using `yq`, update the channel to include this bundle as an entry
```sh
yq eval 'select(.schema=="olm.channel" and .name == "stable").entries += [{"name" : "coastal.v1.1.0"}]' index.yaml
yq eval 'select(.schema=="olm.channel" and .name == "stable").entries += [{"name" : "coastal.v1.1.0"}]' -i catalog/index.yaml
```

- Build and push the catalog image
Expand Down Expand Up @@ -336,7 +336,7 @@ EOF

- Using `yq`, update the channel to include this bundle as an entry
```sh
yq eval 'select(.schema=="olm.channel" and .name == "stable").entries += [{"name" : "coastal.v1.0.1"}]' index.yaml
yq eval 'select(.schema=="olm.channel" and .name == "stable").entries += [{"name" : "coastal.v1.0.1"}]' -i catalog/index.yaml
```

- Build and push the catalog image
Expand Down Expand Up @@ -397,7 +397,7 @@ EOF

- Using `yq`, update the channel to include this bundle as an entry
```sh
yq eval 'select(.schema=="olm.channel" and .name == "stable").entries += [{"name" : "coastal.v2.0.0"}]' index.yaml
yq eval 'select(.schema=="olm.channel" and .name == "stable").entries += [{"name" : "coastal.v2.0.0"}]' -i catalog/index.yaml
```

- Build and push the catalog image
Expand Down

0 comments on commit 896f1c6

Please sign in to comment.