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

Copy additional stack resources inside tmpDir before validating stacks with odov3 #230

Merged
merged 2 commits into from
Oct 16, 2023

Conversation

thepetk
Copy link
Contributor

@thepetk thepetk commented Oct 14, 2023

What does this PR do?:

This PR tries to copy all additional resources found inside a stack after odo init --devfile-path. This way we are able to use odo init in an empty directory and run odo dev with all the resources required.

Which issue(s) this PR fixes:

fixes devfile/api#1288

PR acceptance criteria:

  • Contributing guide
    Have you read the devfile registry contributing guide and followed its instructions?
  • Test automation
    Does this repository's tests pass with your changes?
  • Documentation
    Does any documentation need to be updated with your changes?
  • Check Tools Provider
    Have you tested the changes with existing tools, i.e. Odo, Che, Console? (See devfile registry contributing guide on how to test changes)

How to test changes / Special notes to the reviewer:

tests/odov3/odo_test.go Outdated Show resolved Hide resolved
@thepetk thepetk changed the title Replace odo devfile-path with stack name and stack version Copy additional stack resources inside tmpDir before validating stacks with odov3 Oct 16, 2023
Copy link
Member

@rm3l rm3l left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for working on this!

@openshift-ci openshift-ci bot added the lgtm Looks good to me label Oct 16, 2023
@openshift-ci
Copy link

openshift-ci bot commented Oct 16, 2023

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: rm3l, thepetk

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved lgtm Looks good to me
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Registry check with odo v3 fails for outerloop stacks
2 participants