-
Notifications
You must be signed in to change notification settings - Fork 78
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
hack: setup and teardown scripts for e2e envs #590
Conversation
2cd46e6
to
c218851
Compare
e2e tests have started failing after some point in this PR (https://github.com/flavianmissi/quay-operator/runs/4332403123?check_suite_focus=true). |
c218851
to
033b040
Compare
Problem was that the line below, in endpoint="$(oc get quayregistry skynet -o jsonpath='{.status.registryEndpoint}')" After adding the namespace the new run is successful: https://github.com/flavianmissi/quay-operator/runs/4332862425?check_suite_focus=true |
033b040
to
e0b1553
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
* hack/deploy.sh: deploys the operator and a quayregistry instance, and ensures everything is up and running. will exit 1 otherwise * hack/teardown.sh: removes everything created by deploy.sh * hack/storage.sh: installs the openshift container storage from the red hat catalog and creates a noobaa instance Fixes PROJQUAY-2823
* hack/deploy.sh: deploys the operator and a quayregistry instance, and ensures everything is up and running. will exit 1 otherwise * hack/teardown.sh: removes everything created by deploy.sh * hack/storage.sh: installs the openshift container storage from the red hat catalog and creates a noobaa instance Fixes PROJQUAY-2823
includes 3 shell scripts:
hack/deploy.sh
: deploys the operator and a quayregistry instance, and ensures everything is up and running. will exit 1 otherwisehack/teardown.sh
: removes everything created bydeploy.sh
hack/storage.sh
: installs the openshift container storage from the red hat catalog and creates a noobaa instancenote that some functions, like
info
, are duplicated in different files. since they are trivial, I didn't see much of a problem with it, at least for now.Fixes PROJQUAY-2823