Skip to content

Commit 0303310

Browse files
committed
review resolutions
Signed-off-by: Jordan Keister <[email protected]>
1 parent a998d77 commit 0303310

File tree

3 files changed

+11
-11
lines changed

3 files changed

+11
-11
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -302,7 +302,7 @@ kind-clean: $(KIND) #EXHELP Delete the kind cluster.
302302
#SECTION Build
303303

304304
# attempt to generate the VERSION attribute for certificates
305-
# fail if it is unset afterwards, since the sideeffects are indirect
305+
# fail if it is unset afterwards, since the side effects are indirect
306306
ifeq ($(strip $(VERSION)),)
307307
VERSION := $(shell git describe --tags --always --dirty)
308308
endif

hack/demo/catalogd-demo-script.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ kubectl wait --for=condition=Available -n olmv1-system deploy/catalogd-controlle
2323
echo "... checking clustercatalog is serving"
2424
kubectl wait --for=condition=Serving clustercatalog/operatorhubio --timeout=60s
2525
echo "... checking clustercatalog is finished unpacking"
26-
kubectl wait --for=condition=Progressing=False clustercatalog/operatorhubio --timeout=60s
26+
kubectl wait --for=condition=Progressing=True clustercatalog/operatorhubio --timeout=60s
2727

2828
# port forward the catalogd-service service to interact with the HTTP server serving catalog contents
2929
(kubectl -n olmv1-system port-forward svc/catalogd-service 8081:443)&

hack/demo/catalogd-metas-demo-script.sh

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
#
55
trap 'trap - SIGTERM && kill -- -"$$"' SIGINT SIGTERM EXIT
66

7-
## until we cut a release containing the new API, we need to deploy local artifacts
8-
make kind-clean
9-
make run
10-
#
11-
## use the install script from the latest github release
12-
#curl -L -s https://github.com/operator-framework/operator-controller/releases/latest/download/install.sh | bash
13-
#
7+
kind delete cluster
8+
kind create cluster
9+
kubectl cluster-info --context kind-kind
10+
sleep 10
11+
12+
# use the install script from the latest github release
13+
curl -L -s https://github.com/operator-framework/operator-controller/releases/latest/download/install.sh | bash
1414

1515
# inspect crds (clustercatalog)
1616
kubectl get crds -A
@@ -24,19 +24,19 @@ kubectl patch -n olmv1-system deploy/catalogd-controller-manager --type='json' -
2424

2525
# ... waiting for new deployment for catalogd controller to become available
2626
kubectl rollout status -n olmv1-system deploy/catalogd-controller-manager
27+
kubectl wait --for=condition=Available -n olmv1-system deploy/catalogd-controller-manager --timeout=1m
2728
# ... checking clustercatalog is serving
2829
kubectl wait --for=condition=Serving clustercatalog/operatorhubio --timeout=60s
2930
# ... checking clustercatalog is finished unpacking (progressing gone back to true)
3031
kubectl wait --for=condition=Progressing=True clustercatalog/operatorhubio --timeout=60s
3132

32-
sleep 30
3333

3434
# port forward the catalogd-service service to interact with the HTTP server serving catalog contents
3535
(kubectl -n olmv1-system port-forward svc/catalogd-service 8081:443)&
3636

3737

3838
# check what 'packages' are available in this catalog
39-
curl -f -k 'https://localhost:8081/catalogs/operatorhubio/api/v1/metas?schema=olm.package' | jq -s '.[] | .name'
39+
curl -f --retry-all-errors --retry 10 -k 'https://localhost:8081/catalogs/operatorhubio/api/v1/metas?schema=olm.package' | jq -s '.[] | .name'
4040
# check what channels are included in the wavefront package
4141
curl -f -k 'https://localhost:8081/catalogs/operatorhubio/api/v1/metas?schema=olm.channel&package=wavefront' | jq -s '.[] |.name'
4242
# check what bundles are included in the wavefront package

0 commit comments

Comments
 (0)