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 sparseCheckoutDir parameter into devfile spec #14823

Merged
merged 3 commits into from
Oct 17, 2019
Merged

Add sparseCheckoutDir parameter into devfile spec #14823

merged 3 commits into from
Oct 17, 2019

Conversation

mmorhun
Copy link
Contributor

@mmorhun mmorhun commented Oct 9, 2019

Signed-off-by: Mykola Morhun mmorhun@redhat.com

What does this PR do?

Adds non mandatory attribute sparseCheckoutDir into devfile specification. The attribute is added under source section of a project.
Adds new sparse_checkout_dir column into devfile_project table of Che database.

What issues does this PR fix or reference?

Implements Che server side of the issue

Release Notes

Added sparseCheckoutDir parameter for git type of projects

Docs PR

eclipse-che/che-docs#842
redhat-developer/devfile#53

@mmorhun mmorhun self-assigned this Oct 9, 2019
@che-bot che-bot added status/code-review This issue has a pull request posted for it and is awaiting code review completion by the community. kind/task Internal things, technical debt, and to-do tasks to be performed. labels Oct 9, 2019
@che-bot
Copy link
Contributor

che-bot commented Oct 9, 2019

E2E tests of Eclipse Che Multiuser on OCP has failed:

@che-bot
Copy link
Contributor

che-bot commented Oct 9, 2019

E2E Happy path tests of Eclipse Che Single User on K8S (minikube v1.1.1) has failed:

@che-bot
Copy link
Contributor

che-bot commented Oct 9, 2019

E2E Happy path tests of Eclipse Che Single User on K8S (minikube v1.1.1) has been successful:

@che-bot
Copy link
Contributor

che-bot commented Oct 9, 2019

E2E tests of Eclipse Che Multiuser on OCP has been successful:

Copy link
Member

@sleshchenko sleshchenko left a comment

Choose a reason for hiding this comment

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

In general LGTM. Take a look inline comments

Copy link
Contributor

@skabashnyuk skabashnyuk left a comment

Choose a reason for hiding this comment

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

Documentation changes needed for this pr.

@che-bot
Copy link
Contributor

che-bot commented Oct 10, 2019

E2E Happy path tests of Eclipse Che Single User on K8S (minikube v1.1.1) has been successful:

@che-bot
Copy link
Contributor

che-bot commented Oct 10, 2019

E2E tests of Eclipse Che Multiuser on OCP has failed:

@apupier
Copy link
Contributor

apupier commented Oct 10, 2019

@apupier
Copy link
Contributor

apupier commented Oct 11, 2019

the single failing test is DirectUrlFactoryWithSpecificBranchTest.factoryWithDirectUrlWithSpecificBranch which seems to be failing on master too #14842

@mmorhun
Copy link
Contributor Author

mmorhun commented Oct 11, 2019

@skabashnyuk here is docs PRs (updated description):
eclipse-che/che-docs#842
redhat-developer/devfile#53

But I believe we should not merge them before frontend part of this issue is merged.

@mmorhun
Copy link
Contributor Author

mmorhun commented Oct 11, 2019

@musienko-maxim could you please test factories scenario against this PR? Also please test factory keepDir feature.

Signed-off-by: Mykola Morhun <mmorhun@redhat.com>
Signed-off-by: Mykola Morhun <mmorhun@redhat.com>
@mmorhun
Copy link
Contributor Author

mmorhun commented Oct 16, 2019

Rebased

@che-bot
Copy link
Contributor

che-bot commented Oct 16, 2019

E2E Happy path tests of Eclipse Che Single User on K8S (minikube v1.1.1) has been successful:

@che-bot
Copy link
Contributor

che-bot commented Oct 16, 2019

E2E tests of Eclipse Che Multiuser on OCP has been successful:

Copy link
Member

@sleshchenko sleshchenko left a comment

Choose a reason for hiding this comment

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

LGTM

Make sure that you merged before release. Otherwise move migration scripts to 7.4.0 folder

Signed-off-by: Mykola Morhun <mmorhun@redhat.com>
@che-bot
Copy link
Contributor

che-bot commented Oct 16, 2019

E2E Happy path tests of Eclipse Che Single User on K8S (minikube v1.1.1) has been successful:

@che-bot
Copy link
Contributor

che-bot commented Oct 16, 2019

E2E tests of Eclipse Che Multiuser on OCP has failed:

@mmorhun
Copy link
Contributor Author

mmorhun commented Oct 16, 2019

ci-test

@che-bot
Copy link
Contributor

che-bot commented Oct 16, 2019

E2E tests of Eclipse Che Multiuser on OCP has failed:

@mmorhun
Copy link
Contributor Author

mmorhun commented Oct 16, 2019

Test failed because of network issue:

Failed to transfer file: https://oss.sonatype.org/content/repositories/snapshots/org/eclipse/che/depmgt/maven-depmgt-pom/7.3.0-SNAPSHOT/maven-metadata.xml. Return code is: 504 , ReasonPhrase:Gateway Time-out.

@mmorhun
Copy link
Contributor Author

mmorhun commented Oct 16, 2019

ci-test

@che-bot
Copy link
Contributor

che-bot commented Oct 16, 2019

E2E tests of Eclipse Che Multiuser on OCP has failed:

@musienko-maxim
Copy link
Contributor

The DirectUrlFactoryWithSpecificBranchTest was rechecked locally, and passed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/task Internal things, technical debt, and to-do tasks to be performed. status/code-review This issue has a pull request posted for it and is awaiting code review completion by the community.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants