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

chore(ci): use branch specific operator version for e2e #2420

Conversation

zdrapela
Copy link
Member

@zdrapela zdrapela commented Feb 19, 2025

Description

Based on: https://github.com/redhat-developer/rhdh-operator/blob/f186141100530856541a30b6696314064428dda8/.rhdh/scripts/install-rhdh-catalog-source.sh#L62-L64

Which issue(s) does this PR fix

PR acceptance criteria

Please make sure that the following steps are complete:

  • GitHub Actions are completed and successful
  • Unit Tests are updated and passing
  • E2E Tests are updated and passing
  • Documentation is updated if necessary (requirement for new features)
  • Add a screenshot if the change is UX/UI related

How to test changes / Special notes to the reviewer

@openshift-ci openshift-ci bot requested review from gustavolira and psrna February 19, 2025 14:43
@zdrapela
Copy link
Member Author

/test

Copy link

openshift-ci bot commented Feb 19, 2025

@zdrapela: The /test command needs one or more targets.
The following commands are available to trigger required jobs:

/test e2e-tests

The following commands are available to trigger optional jobs:

/test e2e-tests-aks-helm-nightly
/test e2e-tests-gke-helm-nightly
/test e2e-tests-nightly
/test e2e-tests-operator-nightly
/test e2e-tests-osd-gcp-helm-nightly
/test e2e-tests-osd-gcp-operator-nightly

Use /test all to run the following jobs that were automatically triggered:

pull-ci-redhat-developer-rhdh-release-1.5-e2e-tests

In response to this:

/test

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-sigs/prow repository.

@zdrapela
Copy link
Member Author

/test e2e-tests-operator-nightly

@zdrapela
Copy link
Member Author

/test e2e-tests

@zdrapela
Copy link
Member Author

/test e2e-tests-operator-nightly

@openshift-cherrypick-robot
Copy link
Contributor

@zdrapela: once the present PR merges, I will cherry-pick it on top of main in a new PR and assign it to you.

In response to this:

/cherry-pick main

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-sigs/prow repository.

@zdrapela
Copy link
Member Author

/cherry-pick main

@openshift-cherrypick-robot
Copy link
Contributor

@zdrapela: once the present PR merges, I will cherry-pick it on top of main in a new PR and assign it to you.

In response to this:

/cherry-pick main

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-sigs/prow repository.

@subhashkhileri
Copy link
Member

/hold

@@ -10,7 +10,14 @@ install_rhdh_operator() {
rm -f /tmp/install-rhdh-catalog-source.sh
curl -L https://raw.githubusercontent.com/redhat-developer/rhdh-operator/refs/heads/main/.rhdh/scripts/install-rhdh-catalog-source.sh > /tmp/install-rhdh-catalog-source.sh
Copy link
Member

Choose a reason for hiding this comment

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

Wouldn't it make more sense to also download the script from the appropriate release branch?

Copy link
Member Author

Choose a reason for hiding this comment

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

Yeah, that's true, I'm changing it to use the correct branch. Thanks

echo "Installing RHDH operator with '--next' flag"
bash -x /tmp/install-rhdh-catalog-source.sh --next --install-operator rhdh
else
local operator_version="${RELEASE_BRANCH_NAME#release-}"
Copy link
Member

Choose a reason for hiding this comment

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

@zdrapela condition not required, you may use TAG_NAME instead. for eg:
bash -x /tmp/install-rhdh-catalog-source.sh "--$TAG_NAME" --install-operator rhdh

Copy link
Member Author

Choose a reason for hiding this comment

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

@subhashkhileri the $TAG_NAME is useful and I changed the script to use it, but we still need the condition. For example --1.5 is not a valid input parameter for the script. Has to be -v 1.5 instead. See https://github.com/redhat-developer/rhdh-operator/blob/f186141100530856541a30b6696314064428dda8/.rhdh/scripts/install-rhdh-catalog-source.sh#L62-L64

@subhashkhileri
Copy link
Member

/unhold

@zdrapela zdrapela force-pushed the 1.5-operator-version-based-on-branch-2 branch from df5bf8d to 1a14f9d Compare February 21, 2025 10:06
@zdrapela
Copy link
Member Author

/test e2e-tests-operator-nightly

Copy link

openshift-ci bot commented Feb 21, 2025

@zdrapela: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
ci/prow/e2e-tests-operator-nightly 1a14f9d link false /test e2e-tests-operator-nightly

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-sigs/prow repository. I understand the commands that are listed here.

@zdrapela
Copy link
Member Author

@subhashkhileri PR is ready

@subhashkhileri
Copy link
Member

/lgtm

Copy link

openshift-ci bot commented Feb 21, 2025

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: subhashkhileri

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 /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-merge-bot openshift-merge-bot bot merged commit 9fefb96 into redhat-developer:release-1.5 Feb 21, 2025
11 of 12 checks passed
@openshift-cherrypick-robot
Copy link
Contributor

@zdrapela: new pull request created: #2433

In response to this:

/cherry-pick main

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-sigs/prow repository.

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

Successfully merging this pull request may close these issues.

4 participants