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

[release-1.19] Use build-arg ENV val from local environment if set #2932

Merged
merged 1 commit into from
Jan 25, 2021

Conversation

umohnani8
Copy link
Member

Backport of #2928

Signed-off-by: Urvashi Mohnani [email protected]

What type of PR is this?

/kind bug

What this PR does / why we need it:

If a user sets the ENV to be used with the build-arg flag in
the local environment by exporting it, look it up and use the
value set there for that ENV.
Add tests to cover this use case as well.

How to verify it

Which issue(s) this PR fixes:

Special notes for your reviewer:

Does this PR introduce a user-facing change?


If a user sets the ENV to be used with the build-arg flag in
the local environment by exporting it, look it up and use the
value set there for that ENV.
Add tests to cover this use case as well.

Signed-off-by: Urvashi Mohnani <[email protected]>
@openshift-ci-robot openshift-ci-robot added the kind/bug Categorizes issue or PR as related to a bug. label Jan 25, 2021
@umohnani8
Copy link
Member Author

@rhatdan @TomSweeneyRedHat PTAL

@umohnani8 umohnani8 changed the title Use build-arg ENV val from local environment if set [release-1.19] Use build-arg ENV val from local environment if set Jan 25, 2021
@rhatdan
Copy link
Member

rhatdan commented Jan 25, 2021

/lgtm
/hold
/approve

@openshift-ci-robot
Copy link
Collaborator

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: rhatdan, umohnani8

The full list of commands accepted by this bot can be found here.

The pull request process is described 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

@TomSweeneyRedHat
Copy link
Member

LGTM

@TomSweeneyRedHat
Copy link
Member

/hold cancel

@openshift-merge-robot openshift-merge-robot merged commit 2c6ecfe into containers:release-1.19 Jan 25, 2021
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 24, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
approved kind/bug Categorizes issue or PR as related to a bug. lgtm locked - please file new issue/PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants