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

CI script to install hypershift from pre-release MCE catalog source #1648

Merged
merged 1 commit into from
Aug 5, 2022

Conversation

davidvossel
Copy link
Contributor

@davidvossel davidvossel commented Aug 3, 2022

This script allows us to take a MCE downstream dev preview build found in the quay repo here, and install MCE + enable the hypershift operator.

This script lets us do two things.

  1. install a dev release of MCE locally on a cluster in order to debug, etc...
  2. create CI automation that exercises hypershift as delivered by the MCE olm bundle

Example: Installing the latest MCE 2.1 downstream release candidate

export QUAY_AUTH=<your quay auth token that can pull from quay.io/acm-d>
export MCE_DEV_RELEASE_IMAGE="quay.io/acm-d/mce-custom-registry:v2.1.0-FC1"
./hack/ci/install-mce.sh

That installs MCE from a custom catalog source, makes the OCP cluster a "local-cluster", and enables the hypershift operator. From there the standard hypershift cli tools work for managing clusters and the hypershift e2e test suite can be executed.

Related to: https://issues.redhat.com/browse/CNV-20282

@openshift-ci openshift-ci bot requested review from csrwng and enxebre August 3, 2022 20:38
@@ -0,0 +1,169 @@
#!/usr/bin/env bash

Copy link
Member

Choose a reason for hiding this comment

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

can we doc what it does?

Installs MCE from a custom catalog source, makes the OCP cluster a "local-cluster", and enables the hypershift operator.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

updated. I also added some details about prerequisites

@enxebre
Copy link
Member

enxebre commented Aug 4, 2022

thanks @davidvossel!
/approve

@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Aug 4, 2022
@netlify
Copy link

netlify bot commented Aug 4, 2022

Deploy Preview for hypershift-docs ready!

Name Link
🔨 Latest commit 33ac9a0
🔍 Latest deploy log https://app.netlify.com/sites/hypershift-docs/deploys/62ebf0ebe124a2000aa02fec
😎 Deploy Preview https://deploy-preview-1648--hypershift-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

Signed-off-by: David Vossel <davidvossel@gmail.com>
@davidvossel
Copy link
Contributor Author

/retest

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Aug 5, 2022
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Aug 5, 2022

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: alvaroaleman, davidvossel, enxebre

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:
  • OWNERS [alvaroaleman,enxebre]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Aug 5, 2022

@davidvossel: all tests passed!

Full PR test history. Your PR dashboard.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@openshift-ci openshift-ci bot merged commit d2e6a9b into openshift:main Aug 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants