Skip to content
This repository has been archived by the owner on Aug 19, 2024. It is now read-only.

[1.1.x] Add E2E tests using our examples against real clusters #237

Conversation

openshift-cherrypick-robot

This is an automated cherry-pick of #204

/assign nickboldt

rm3l and others added 9 commits February 26, 2024 13:52
- Do not error out when deleting a non-existing namespace

- Stream command output to the GinkgoWriter in real-time as well

This allows following what happens when calling potentially long-running commands

- Implement airgap test mode

- Ignore error when creating a namespace that already exists

- Allow to use existing mirror registry in airgap scenario

- Extract constants for test modes

- Add documentation

- Find an easier way to determine the IMG variable, using the Makefile

- Add more examples to README.md

- Add note about clusters with hosted control planes

- Support k3d clusters

- Support Minikube clusters

- Load image into local clusters using an archive instead

This allows this logic to be agnostic to the container engine used to
build the image. We rely on the container image to export the image to
an archive ('{podman,docker} image save').

- Run E2E test nightly on main and release branch
If not, try to pull it automatically.
This would avoid having to manually pull it.
Co-authored-by: Gennady Azarenkov <gazarenkov@gmail.com>
Those are not used in production
On fresh clusters, 1 minute might be too short
Copy link

sonarcloud bot commented Feb 26, 2024

Quality Gate Passed Quality Gate passed

Issues
0 New issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

@nickboldt nickboldt requested review from rm3l, jianrongzhang89 and gazarenkov and removed request for kadel and nickboldt February 26, 2024 14:06
@openshift-ci openshift-ci bot added the lgtm PR is ready to be merged. Required by Prow. label Feb 26, 2024
Copy link

openshift-ci bot commented Feb 26, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: rm3l

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-ci openshift-ci bot added the approved PR has been approved by an approver from all required OWNERS files. Required by Prow. label Feb 26, 2024
@openshift-merge-bot openshift-merge-bot bot merged commit ff4d659 into janus-idp:1.1.x Feb 26, 2024
7 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
approved PR has been approved by an approver from all required OWNERS files. Required by Prow. lgtm PR is ready to be merged. Required by Prow.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants