Skip to content

Conversation

feloy
Copy link
Contributor

@feloy feloy commented Nov 24, 2021

What does this PR do?:

The PR fixes a comment indicating a wrong environment variable name.

Which issue(s) this PR fixes:

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.

  • Open new test/doc issues under the devfile/api repo
  • Check each criteria if:
  • There is a separate tracking issue. Add the issue link under the criteria
    or
  • test/doc updates are made as part of this PR
  • If unchecked, explain why it's not needed

How to test changes / Special notes to the reviewer:

maysunfaisal
maysunfaisal previously approved these changes Nov 24, 2021
@openshift-ci openshift-ci bot removed the lgtm label Nov 25, 2021
@@ -43,7 +43,7 @@ type DockerfileSrc struct {

// +devfile:getter:generate
type Dockerfile struct {
// Path of source directory to establish build context. Defaults to ${PROJECT_ROOT} in the container
// Path of source directory to establish build context. Defaults to ${PROJECTS_ROOT} in the container
Copy link
Member

@kadel kadel Feb 22, 2022

Choose a reason for hiding this comment

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

@elsony @l0rd Wouldn't it be better if this defaults to $PROJECT_SOURCE ?

Copy link
Contributor

Choose a reason for hiding this comment

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

+1 We are planning to deprecate PROJECT_ROOT

Copy link
Contributor

@l0rd l0rd left a comment

Choose a reason for hiding this comment

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

+1 to @kadel. We should deprecate the use of $PROJECTS_ROOT. See #681 (comment) and #679 ("Deprecate PROJECTS_ROOT and move to use PROJECT_SOURCE")

@kadel kadel changed the title Fix default value of buildContext to PROJECTS_ROOT Fix default value of buildContext to PROJECT_SOURCE Mar 8, 2022
feloy and others added 4 commits March 8, 2022 17:28
Signed-off-by: Philippe Martin <phmartin@redhat.com>
Signed-off-by: Philippe Martin <phmartin@redhat.com>
Signed-off-by: Tomas Kral <tkral@redhat.com>
Signed-off-by: Tomas Kral <tkral@redhat.com>
@kadel kadel force-pushed the fix-project-root branch from 1f2dad9 to fe0cbb3 Compare March 8, 2022 16:29
@openshift-ci openshift-ci bot added the lgtm label Mar 9, 2022
@openshift-ci
Copy link

openshift-ci bot commented Mar 11, 2022

[APPROVALNOTIFIER] This PR is NOT APPROVED

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

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

@kadel kadel merged commit 7457ed7 into devfile:main Mar 15, 2022
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.

6 participants