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 test devfile registry deployment to devfile library testing workflow #1598

Open
4 tasks
michael-valdron opened this issue Jun 14, 2024 · 1 comment
Open
4 tasks
Labels
area/library Common devfile library for interacting with devfiles area/registry Devfile registry for stacks and infrastructure kind/user-story User story for new enhancement lifecycle/stale Stale items. These items have not been updated for 90 days.

Comments

@michael-valdron
Copy link
Member

michael-valdron commented Jun 14, 2024

/kind user-story

Which area is this user story related to?

/area library
/area registry

User Story

As a devfile maintainer I want there to be no linkage between testing content and live content, so that none of the test cases break on live changes.

To best counter changes in the live devfile content not breaking parent parsing tests, it would be best to have the parent devfiles as testing content as well in a separate test devfile registry deployment.

Acceptance Criteria

  • Include setup step in workflow to deploy minikube
  • Modify make test to include the follow:
    • Pulls in registry-support repository
    • Builds devfile-index image with test parent devfile stacks
    • Deploys devfile registry using the built devfile-index image
    • Waits for devfile registry to become ready with timeout
    • If successfully deployed, runs the existing test command to start library testing
  • Change child devfile testing content for parent parsing to refer to the test devfile registsry instead of staging
  • Include minikube in testing prerequisites
@openshift-ci openshift-ci bot added kind/user-story User story for new enhancement area/library Common devfile library for interacting with devfiles area/registry Devfile registry for stacks and infrastructure labels Jun 14, 2024
@michael-valdron michael-valdron moved this to Refinement in Devfile Project Jun 14, 2024
@Jdubrick Jdubrick moved this from Refinement to Backlog in Devfile Project Jun 26, 2024
Copy link

This issue is stale because it has been open for 90 days with no activity. Remove stale label or comment or this will be closed in 60 days.

@github-actions github-actions bot added the lifecycle/stale Stale items. These items have not been updated for 90 days. label Nov 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/library Common devfile library for interacting with devfiles area/registry Devfile registry for stacks and infrastructure kind/user-story User story for new enhancement lifecycle/stale Stale items. These items have not been updated for 90 days.
Projects
Status: Backlog
Development

No branches or pull requests

1 participant