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 e2e test workflow #678

Closed
wants to merge 4 commits into from
Closed

Add e2e test workflow #678

wants to merge 4 commits into from

Conversation

ajaypratap003
Copy link
Contributor

@ajaypratap003 ajaypratap003 commented Oct 30, 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 openshift-ci bot requested review from etirelli and LaVLaS October 30, 2023 12:21
@openshift-ci
Copy link

openshift-ci bot commented Oct 30, 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 etirelli 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

@ajaypratap003 ajaypratap003 changed the title Add e2e test workflow setup Add e2e test workflow Oct 31, 2023
@VaishnaviHire
Copy link
Member

/retest

@ajaypratap003
Copy link
Contributor Author

closing this PR and will open a fresh PR later.

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
3 participants