-
Notifications
You must be signed in to change notification settings - Fork 283
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
feat: add script for installing nightly olm operator #604
feat: add script for installing nightly olm operator #604
Conversation
hack/scripts/olm-nightly-install.sh
Outdated
exit | ||
fi | ||
|
||
INDEX="brew.registry.redhat.io/rh-osbs/iib:$IIB_ID" |
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.
Can you take in the registry/repository name as an environment variable with default values. brew.registry.redhat.io/rh-osbs
- REGISTRY_NAME
iib
- REPO_NAME
hack/scripts/olm-nightly-install.sh
Outdated
spec: | ||
repositoryDigestMirrors: | ||
- mirrors: | ||
- registry.redhat.io/rh-sso-7/sso75-openshift-rhel8@sha256:d5829e880db4b82a50a4962d61ea148522a93644174931b256d7ad866eadcf40 |
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.
This could be removed as it did not fix the issue of missing image in brew registry and we have moved to sso v7.6
hack/scripts/olm-nightly-install.sh
Outdated
EOF | ||
|
||
# Wait for the operator to upgrade | ||
NEW_BUILD="openshift-gitops-operator.v99.9.0" |
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.
Its better to have v99.9.0
as a variable and use that.
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.
Suggested a few changes. Looks good otherwise.
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.
Few minor comments, otherwise looks good.
4635fcb
to
be43e5e
Compare
/test v4.13-kuttl-parallel |
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
/approve |
f8a084c
to
c0bf98f
Compare
/test v4.13-kuttl-parallel |
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: anandf The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/test v4.14-kuttl-parallel |
1 similar comment
/test v4.14-kuttl-parallel |
fix fix fix fix fix fix Signed-off-by: saumeya <saumeyakatyal@gmail.com> update ns Signed-off-by: saumeya <saumeyakatyal@gmail.com> add operator group Signed-off-by: saumeya <saumeyakatyal@gmail.com> review changes Signed-off-by: saumeya <saumeyakatyal@gmail.com> add operator group Signed-off-by: saumeya <saumeyakatyal@gmail.com> fixes Signed-off-by: saumeya <saumeyakatyal@gmail.com>
a390cfb
to
32ddf0f
Compare
/lgtm |
f0d8b69
into
redhat-developer:master
…r#604) * olm nightly install script fix fix fix fix fix fix Signed-off-by: saumeya <saumeyakatyal@gmail.com> update ns Signed-off-by: saumeya <saumeyakatyal@gmail.com> add operator group Signed-off-by: saumeya <saumeyakatyal@gmail.com> review changes Signed-off-by: saumeya <saumeyakatyal@gmail.com> add operator group Signed-off-by: saumeya <saumeyakatyal@gmail.com> fixes Signed-off-by: saumeya <saumeyakatyal@gmail.com> * fix Signed-off-by: saumeya <saumeyakatyal@gmail.com> --------- Signed-off-by: saumeya <saumeyakatyal@gmail.com> Co-authored-by: Varsha B <vab@redhat.com>
What type of PR is this?
/kind enhancement
What does this PR do / why we need it:
This PR includes the script needed to install the nightly operator bundle in a cluster. It takes the IIB id as a parameter and installs the operator using subscription (olm based).
To run the script , you have to export the IIB_ID
export IIB_ID=581525
There are 2 options -i and -m (for first install on the cluster or for migrating to nightly)
./olm-install-script -i
or
./olm-install-script -m
Have you updated the necessary documentation?
Which issue(s) this PR fixes:
Fixes #?
Test acceptance criteria:
How to test changes / Special notes to the reviewer: