Skip to content
This repository has been archived by the owner on Oct 10, 2023. It is now read-only.

Add udi image case for mocked values of devfile types #175

Merged
merged 2 commits into from
Apr 13, 2023

Conversation

thepetk
Copy link
Collaborator

@thepetk thepetk commented Apr 11, 2023

What does this PR do?

Inside this PR we are introducing the universal image. The current PR is ensuring that we are always checking in our tests that there is no impact of this change (e.g. the universal image devfile is selected first instead of a more related one).

To do this PR adds a new mocked model.devfileType instance inside tests.getDevFileTypes():

{
	Name:        "udi",
	Language:    "Polyglot",
	ProjectType: "default",
	Tags: []string{
		"Java",
		"Maven",
		"Scala",
		"PHP",
		".NET",
		"Node.js",
		"Go",
		"Python",
		"Pip",
		"ubi8",
	},
},

Which issue(s) this PR fixes:

fixes #174

Signed-off-by: thepetk <thepetk@gmail.com>
@thepetk thepetk requested a review from mike-hoang April 11, 2023 17:19
@thepetk thepetk self-assigned this Apr 12, 2023
@thepetk thepetk merged commit f29cffa into redhat-developer:main Apr 13, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add universal image devfile to mocked devfile types
2 participants