-
Notifications
You must be signed in to change notification settings - Fork 244
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
Start HTTP server to replace Devfile Registry server in the tests #7154
Merged
rm3l
merged 4 commits into
redhat-developer:main
from
rm3l:6138-integration-tests-fail-after-change-in-devfile-registry
Dec 1, 2023
Merged
Start HTTP server to replace Devfile Registry server in the tests #7154
rm3l
merged 4 commits into
redhat-developer:main
from
rm3l:6138-integration-tests-fail-after-change-in-devfile-registry
Dec 1, 2023
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
openshift-ci
bot
added
area/testing
Issues or PRs related to testing, Quality Assurance or Quality Engineering
do-not-merge/work-in-progress
Indicates that a PR should not merge because it is a work in progress. Required by Prow.
labels
Nov 28, 2023
✅ Deploy Preview for odo-docusaurus-preview canceled.
|
Skipping CI for Draft Pull Request. |
🔨 Deploy Preview deleted from internal cluster!
|
rm3l
force-pushed
the
6138-integration-tests-fail-after-change-in-devfile-registry
branch
from
November 29, 2023 08:59
9befe4d
to
6215c6e
Compare
rm3l
force-pushed
the
6138-integration-tests-fail-after-change-in-devfile-registry
branch
from
November 29, 2023 09:24
6215c6e
to
3d15833
Compare
rm3l
force-pushed
the
6138-integration-tests-fail-after-change-in-devfile-registry
branch
from
November 29, 2023 12:58
3d15833
to
e62bfc9
Compare
rm3l
force-pushed
the
6138-integration-tests-fail-after-change-in-devfile-registry
branch
from
November 30, 2023 00:31
e62bfc9
to
0335059
Compare
rm3l
force-pushed
the
6138-integration-tests-fail-after-change-in-devfile-registry
branch
from
November 30, 2023 08:52
0335059
to
25cd60d
Compare
rm3l
force-pushed
the
6138-integration-tests-fail-after-change-in-devfile-registry
branch
from
November 30, 2023 08:57
25cd60d
to
790b776
Compare
rm3l
force-pushed
the
6138-integration-tests-fail-after-change-in-devfile-registry
branch
from
November 30, 2023 21:03
efcf9db
to
fa023d7
Compare
This allows us to remove the dependency on a Devfile Registry server. We no longer want to have a long-running cluster to which a Devfile registry is deployed. And relying on the public staging registry makes those tests sometimes fail, due to the frequency of updates and changes that break our tests. Now, an HTTP Server instance is started on a random ports and serves the OCI artifacts for the stacks that are useful for our tests. Note that this will now be the default behavior, unless the DEVFILE_REGISTRY env var is explicitly set. This allows us to also update the stacks at our own pace. The process for updating is as follows: 1- update the stacks folder under tests/helper/registry_server/testdata/registry 2- run 'generate-test-registry-build' to regenerate the Devfile Index and OCI archives for stack extra-files 3- Commit and push the changes
The registry URL is now by default.
rm3l
force-pushed
the
6138-integration-tests-fail-after-change-in-devfile-registry
branch
from
November 30, 2023 22:00
fa023d7
to
d52a037
Compare
rm3l
force-pushed
the
6138-integration-tests-fail-after-change-in-devfile-registry
branch
from
November 30, 2023 22:43
d52a037
to
fa59a84
Compare
rm3l
changed the title
[WIP] Start HTTP server to replace Devfile Registry server in the tests
Start HTTP server to replace Devfile Registry server in the tests
Dec 1, 2023
For some reason, "scp" was not able to find the destination folder.
rm3l
force-pushed
the
6138-integration-tests-fail-after-change-in-devfile-registry
branch
from
December 1, 2023 08:25
fa59a84
to
5250cdf
Compare
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
openshift-ci
bot
removed
the
do-not-merge/work-in-progress
Indicates that a PR should not merge because it is a work in progress. Required by Prow.
label
Dec 1, 2023
rm3l
deleted the
6138-integration-tests-fail-after-change-in-devfile-registry
branch
December 1, 2023 09:35
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
area/testing
Issues or PRs related to testing, Quality Assurance or Quality Engineering
lgtm
Indicates that a PR is ready to be merged. Required by Prow.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What type of PR is this:
/area testing
What does this PR do / why we need it:
Which issue(s) this PR fixes:
PR acceptance criteria:
Unit test
Integration test
Documentation
How to test changes / Special notes to the reviewer: