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

Dockerfile Outerloop Support #580

Merged
merged 7 commits into from
Sep 17, 2021
Merged

Dockerfile Outerloop Support #580

merged 7 commits into from
Sep 17, 2021

Conversation

maysunfaisal
Copy link
Member

@maysunfaisal maysunfaisal commented Aug 9, 2021

Signed-off-by: Maysun J Faisal maysunaneek@gmail.com

What does this PR do?:

Which issue(s) this PR fixes:

Fixes #51

PR acceptance criteria:

Testing and documentation do not need to be complete in order for this PR to be approved. We just need to ensure tracking issues are opened.

How to test changes / Special notes to the reviewer:

I've provided some devfile samples on how a devfile with outerloop build & deploy will look. There are also many snippets of the new component for tests that can be used as a guide or reference

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.

I haven't done a very precise review but caught some stuff. I'll do another round after the left ones get responses

pkg/apis/workspaces/v1alpha2/component_image_dockerfile.go Outdated Show resolved Hide resolved
schemas/latest/ide-targeted/plugin-overrides.json Outdated Show resolved Hide resolved
pkg/apis/workspaces/v1alpha2/component_image_dockerfile.go Outdated Show resolved Hide resolved
Copy link
Contributor

@amisevsk amisevsk left a comment

Choose a reason for hiding this comment

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

As we briefly discussed, I think having all fields at the same level in the spec could cause confusion (with the main example being the gitLocation field at the level as id and uri. I've opened PR maysunfaisal#1 as an example of what it might look like to shuffle around fields for clarity.

maysunfaisal added a commit to maysunfaisal/api that referenced this pull request Aug 11, 2021
@maysunfaisal maysunfaisal changed the title [WIP] Dockerfile Outerloop Support Dockerfile Outerloop Support Aug 25, 2021
crds/workspace.devfile.io_devworkspaces.yaml Outdated Show resolved Hide resolved
crds/workspace.devfile.io_devworkspaces.yaml Show resolved Hide resolved
crds/workspace.devfile.io_devworkspaces.yaml Outdated Show resolved Hide resolved
crds/workspace.devfile.io_devworkspaces.yaml Outdated Show resolved Hide resolved
crds/workspace.devfile.io_devworkspaces.yaml Show resolved Hide resolved
Copy link
Contributor

@amisevsk amisevsk left a comment

Choose a reason for hiding this comment

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

LGTM apart from a couple minor things and the still-to-do tasks from Serhii's review.

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.

Just a few minor suggestions but apart from that nothing to add.
LGTM

pkg/validation/projects.go Outdated Show resolved Hide resolved
pkg/validation/validation-rule.md Show resolved Hide resolved
pkg/validation/variables/variables_component.go Outdated Show resolved Hide resolved
pkg/validation/variables/variables_component.go Outdated Show resolved Hide resolved
pkg/validation/variables/variables_project.go Outdated Show resolved Hide resolved
maysunfaisal and others added 2 commits September 14, 2021 09:53
Signed-off-by: Maysun J Faisal <maysunaneek@gmail.com>
Moves GitLocation in DockerfileImage Image component type under the Git
struct to make clear that this field is intended only for use when
specifying a git repo.

(Files not regenerated for readability)

Signed-off-by: Angel Misevski <amisevsk@redhat.com>
Signed-off-by: Maysun J Faisal <maysunaneek@gmail.com>
Signed-off-by: Maysun J Faisal <maysunaneek@gmail.com>
Signed-off-by: Maysun J Faisal <maysunaneek@gmail.com>
Signed-off-by: Maysun J Faisal <maysunaneek@gmail.com>
Signed-off-by: Maysun J Faisal <maysunaneek@gmail.com>
@maysunfaisal
Copy link
Member Author

@sleshchenko could you pls re-review, I've updated the PR with your feedback

Copy link
Contributor

@amisevsk amisevsk left a comment

Choose a reason for hiding this comment

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

LGTM. One question that can be addressed separately (perhaps a topic for the weekly call?)

@openshift-ci openshift-ci bot added the lgtm label Sep 16, 2021
@openshift-ci
Copy link

openshift-ci bot commented Sep 16, 2021

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: amisevsk, maysunfaisal, sleshchenko

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

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.

Introduce outerloop 'dockerfile' build & deploy
5 participants