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

Remove devfile v1 leftovers #717

Merged
merged 1 commit into from
Sep 12, 2024
Merged

Remove devfile v1 leftovers #717

merged 1 commit into from
Sep 12, 2024

Conversation

vinokurig
Copy link
Contributor

@vinokurig vinokurig commented Sep 5, 2024

Copy link

openshift-ci bot commented Sep 5, 2024

@vinokurig: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
ci/prow/v14-gitlab-with-oauth-setup-flow eb28272 link true /test v14-gitlab-with-oauth-setup-flow

Full PR test history. Your PR dashboard.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.

createFactory(parsedDevfile, overrideProperties, fileContentProvider, location));
} catch (OverrideParameterException e) {
throw new BadRequestException("Error processing override parameter(s): " + e.getMessage());
return Optional.of(createFactory(parsedDevfile, location));
Copy link
Contributor

Choose a reason for hiding this comment

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

Do we ignore overrideProperties ?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes, this is used only for devfile v1:

if (devfileVersionDetector.devfileMajorVersion(devfileJson) == 1) {
DevfileImpl devfile = devfileParser.parseJsonNode(devfileJson, overrideProperties);
devfileParser.resolveReference(devfile, fileContentProvider);
devfile = ensureToUseGenerateName(devfile);
return newDto(FactoryDto.class)
.withV(CURRENT_VERSION)
.withDevfile(DtoConverter.asDto(devfile))
.withSource(location.filename().isPresent() ? location.filename().get() : null);

Copy link

openshift-ci bot commented Sep 11, 2024

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: ibuziuk, tolusha, vinokurig

The full list of commands accepted by this bot can be found 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

@vinokurig vinokurig merged commit c2a2fca into main Sep 12, 2024
27 of 28 checks passed
@vinokurig vinokurig deleted the che-23043 branch September 12, 2024 06:39
@devstudio-release
Copy link

Build 3.17 :: server_3.x/358: Console, Changes, Git Data

@devstudio-release
Copy link

@devstudio-release
Copy link

@devstudio-release
Copy link

Build 3.17 :: get-sources-rhpkg-container-build_3.x/7692: FAILURE

server : 3.x :: Failed in 64158757 : BREW:BUILD/STATUS:UNKNOWN
FAILURE:; copied to quay

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

Successfully merging this pull request may close these issues.

Che-server devfile V1 cleanup
4 participants