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

fix: pin setup-envtest to v0.0.0-20240320141353-395cfc7486e6 #1243

Merged
merged 1 commit into from
Apr 5, 2024

Conversation

AObuchow
Copy link
Collaborator

What does this PR do?

Versions of envtest >= v0.0.0-20240322105421-affb96708000 require using go >= 1.22. As go 1.22 is only coming to Fedora 40 on April 16th 2024, we are pinning the version of env-test used for the DWO test suite to v0.0.0-20240320141353-395cfc7486e6 which requires go 1.20.

What issues does this PR fix or reference?

Fix #1242

Is it tested? How?

For local testing, delete the /bin directory from the root of the repo and run make test. The required testing binaries (including setup-envtest) will be downloaded and the test suite should run successfully.

Also, ensure Check Sources GH action succeeds on this PR.

PR Checklist

  • E2E tests pass (when PR is ready, comment /test v8-devworkspace-operator-e2e, v8-che-happy-path to trigger)
    • v8-devworkspace-operator-e2e: DevWorkspace e2e test
    • v8-che-happy-path: Happy path for verification integration with Che

Versions of envtest >= v0.0.0-20240322105421-affb96708000 require
using go >= 1.22. As go 1.22 is only coming to Fedora 40 on April 16th 2024,
we are pinning the version of env-test used for the DWO test suite to
v0.0.0-20240320141353-395cfc7486e6 which requires go 1.20.

Signed-off-by: Andrew Obuchowicz <aobuchow@redhat.com>
@AObuchow
Copy link
Collaborator Author

The RH container registry is currently down so CI is unable to pull the base images required for docker builds.

@AObuchow
Copy link
Collaborator Author

/retest

Copy link

codecov bot commented Mar 22, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 52.52%. Comparing base (54f9871) to head (1d73597).
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1243   +/-   ##
=======================================
  Coverage   52.52%   52.52%           
=======================================
  Files          84       84           
  Lines        7642     7642           
=======================================
  Hits         4014     4014           
  Misses       3335     3335           
  Partials      293      293           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link

openshift-ci bot commented Apr 4, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: AObuchow, dkwon17

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

@AObuchow AObuchow merged commit adc8b5a into devfile:main Apr 5, 2024
10 checks passed
@AObuchow AObuchow deleted the pin-envtest-version branch April 5, 2024 14:50
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.

Check sources PR GitHub Action failing to setup envtest
2 participants