Skip to content
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

Reuse OLM installer. #34

Merged

Conversation

AndrienkoAleksandr
Copy link
Contributor

@AndrienkoAleksandr AndrienkoAleksandr commented May 18, 2020

What does this PR do?

Reuse OLM installer.

What issues does this PR fix or reference?

eclipse-che/che#16862

Depends on:

che-incubator/chectl#724

How to test:

# Generate files update.
$ ./sync-chectl-to-crwctl.sh /home/user/projects/chectl/ /home/user/codeready-workspaces-chectl/ 2.2.0 2.2.0

$ cd bin

# Install CodeReady with specific version:
$ ./run server:start -a olm -n moon45 --starting-csv crwoperator.v2.1.0  --self-signed-cert

# Update CodeReady:
$ ./run server:update -a olm -n moon45

# Uninstall:
$ ./run server:delete -n moon45

Signed-off-by: Oleksandr Andriienko oandriie@redhat.com

Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com>
@AndrienkoAleksandr
Copy link
Contributor Author

che-incubator/chectl#724 merged.

@tolusha
Copy link
Contributor

tolusha commented May 29, 2020

/cc @nickboldt

@@ -89,7 +98,7 @@ platformString=" platform: string({\n\
installerString=" installer: string({\n\
char: 'a',\n\
description: 'Installer type',\n\
options: ['operator'],\n\
options: ['operator', 'olm'],\n\
default: 'operator'\n\
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should olm be the new default?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

for stable version of chectl olm is default installler for openshift 4.x f

@mkuznyetsov mkuznyetsov merged commit 007dfc8 into redhat-developer:master Jun 2, 2020
-e "s|(const SUBSCRIPTION_NAME =).+|\1 'codeready-subscription'|g" \
-e "s|(const OPERATOR_GROUP_NAME =).+|\1 'codeready-operator-group'|g" \
-e "s|(const OPENSHIFT_OLM_CATALOG =).+|\1 'redhat-operators'|g" \
-e "s|(CVS_PREFIX =).+|\1 'crwoperator'|g" \
Copy link
Member

@nickboldt nickboldt Jun 2, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should this be CSV? looks like a typo in upstream :(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants