-
Notifications
You must be signed in to change notification settings - Fork 20
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
Release Cryostat 2.1 on OperatorHub.io #396
Comments
If the new interns are interested, I was thinking it would be good for them to get involved with the OperatorHub release. @hareetd should also be available to help when he gets back on the 26th too |
2.1.1 has now been released. Any takers for this? |
Yeah, I want to try this, @tthvo do you want to do it as well? I think we are going to definitely need some guidance. |
yeh sounds great! we can both work on this! @maxcao13 |
Here's the issue for the original release on OperatorHub.io that @jan-law and I worked on. The PR for the release can be found here. The issue I've linked contains some context to get you started. Much of the discussion on the issue has to do with errors we encountered running Cryostat on Kubernetes (as opposed to OpenShift) that have since been resolved but there's still useful info regarding the packaging process for the release. |
Me and @tthvo are having some trouble getting the tests through locally. The error we both see is the one shown here https://gist.github.com/maxcao13/a47e2e1519a1d86db55f93a863fc8718 EDIT: I changed /etc/hosts/ and added kind-registry as a localhost alias and got slightly different errors @hareetd and @jan-law helped us through, but we couldn't get past it. Interestingly the tests passed on @hareetd Fedora 36 local with Podman 4, but we have are not sure why it does not work for us. We've tried restarting our computers and docker as well. Things we have tried:
My forked repo and branch is here Fedora 35: EDIT 2: We've managed to pass all tests by instead using kind v0.11.0. Credit to @tthvo for figuring this part out! |
It turned out the script skipped the task to create the registry if Also, running
So, we downgraded So, the test suite is passed now :D |
@hareetd @jan-law Do we also have to run OpenShift tests outlined here? EDIT: replaced k8s with ocp in the test-command and it passes regardless |
Did we miss anyone?
|
This release for OperatorHub.io is just for kubernetes users I think. I just checked the OpenShift operator catalog and the 2.1.1 release is already there.
Looks good to me! |
@ebaron it looks like the example Flight Recording and Recording CRDs (custom resource definitions) are still visible on the preview. I thought those were deprecated? |
Yeah, our normal Cryostat release process with QA takes care of releasing Cryostat on OpenShift already so this issue is just for the Kubernetes users on OperatorHub.io |
Full steps for passing all OperatorHub testsEnvironment
To setup environment
Run test suites
Note:
Clean up after tests
Troubleshooting
|
@jan-law @hareetd We have some questions while going through the PR template.
This question, we need to wait for Elliott as here right?
We are not sure we understand this and how to check if valid? |
That's right. They're deprecated and we use the Users will see warnings about those types being deprecated when using them on the command line at least. |
All of our operator releases should use the
cryostat-operator/bundle/metadata/annotations.yaml Lines 7 to 8 in 88ee941
I think in our case, we just have to ensure that the channels listed in |
Thanks @maxcao13! This will be a very useful resource when we need to do our next release. |
Looks good! |
Thanks @ebaron we will open the PR in a few minutes and send the link here |
Our 2.1.1 release PR is up! |
It's showing up here now: https://operatorhub.io/operator/cryostat-operator Thanks for doing this! |
Now that the 2.1 upstream release is available (see github tags), Cryostat 2.1 can be released on OperatorHub. Similar to the 2.0 release, you'll need to complete the prerequisites and open a PR with the updated operator.
To speed up the approval process, you can also run the operator pre-submission tests as explained here. These tests are identical to the tests that will run when you open the PR. I think this script worked last time for 2.0:
The text was updated successfully, but these errors were encountered: