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

Add Github Workflows to Automate Build and Run e2e tests on kind cluster #638

Conversation

ajaypratap003
Copy link
Contributor

@ajaypratap003 ajaypratap003 commented Oct 17, 2023

Resolve: #520

Description

Add Github Workflows to Automate Build and Run e2e tests on kind cluster

  • Create workflow that builds operator bundle from the image created in OpenShift CI by job
  • Create workflow to set Kind cluster and install operator bundle
  • Create workflow to run e2e tests in the above created cluster.

How Has This Been Tested?

  • Set QUAY_ID, QUAY_ORG and QUAY_TOKEN of your personal Quay.io account in your fork repo
  • Open a PR on fork repo with this branch
  • Make sure you should have image into Quay.io operatorhub-operator:pr-{pr number} , as image build and pushed by openshift ci tool on remote branches. On fork repo openshift ci build will not run. So push image manually or add hard code IMAGE_TAG in workflow for testing.

Merge criteria:

  • The commits are squashed in a cohesive manner and have meaningful messages.
  • Testing instructions have been added in the PR body (for PRs involving changes that are not immediately obvious).
  • The developer has manually tested the changes and verified that the changes work

@openshift-ci
Copy link

openshift-ci bot commented Oct 17, 2023

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
Once this PR has been reviewed and has the lgtm label, please assign vaishnavihire for approval. For more information see the Kubernetes Code Review Process.

The full list of commands accepted by this bot can be found 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

@ajaypratap003
Copy link
Contributor Author

/retest

@openshift-ci
Copy link

openshift-ci bot commented Oct 24, 2023

@ajaypratap003: 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/opendatahub-operator-e2e 684792b link true /test opendatahub-operator-e2e

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.

@ajaypratap003
Copy link
Contributor Author

closing this PR as open new PR on remote repo due to Github secrets were not resolving in fork repo.

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

Successfully merging this pull request may close these issues.

Add Github Workflows to Automate Build and Test Tasks
2 participants