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 the list of environments to be blocked on the creation of files inside /platform/env #970

Merged
merged 1 commit into from
Jan 5, 2022

Conversation

shahulsonhal
Copy link
Member

@shahulsonhal shahulsonhal commented Dec 30, 2021

Changes

The creation of a file named PATH (corresponding to PATH system environment) inside /platform/env caused failure for python source with requirements.txt when building with the Buildpack strategy.

Update scripts in the Buildpack strategies samples with an array of blocklist system environments.

Submitter Checklist

  • Includes tests if functionality changed/was added
  • Includes docs if changes are user-facing
  • Set a kind label on this PR
  • Release notes block has been filled in, or marked NONE

See the contributor guide
for details on coding conventions, github and prow interactions, and the code review process.

Release Notes

Fix the Buildpack build strategies failing for python source with a requirements.txt that failed during pip install

@openshift-ci openshift-ci bot added the release-note Label for when a PR has specified a release note label Dec 30, 2021
@shahulsonhal shahulsonhal added the kind/bug Categorizes issue or PR as related to a bug. label Dec 30, 2021
@shahulsonhal shahulsonhal force-pushed the env-block branch 6 times, most recently from 6d3952f to 0cd8819 Compare December 31, 2021 04:26
Copy link
Member

@SaschaSchwarze0 SaschaSchwarze0 left a comment

Choose a reason for hiding this comment

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

Hi @shahulsonhal, thank you for putting the fix together. Some minor suggestions to improve readability.

@gabemontero
Copy link
Member

/approve

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Jan 4, 2022

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: gabemontero

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

@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jan 4, 2022
…nside /platform/env

The creation of a file named PATH (corresponding to PATH system environment) inside /platform/env caused failure for [python source with requirements.txt](https://github.com/Azure-Samples/python-docs-hello-world).

Update scripts in the Buildpack strategies samples with an array of blocklist system environments.
Copy link
Member

@SaschaSchwarze0 SaschaSchwarze0 left a comment

Choose a reason for hiding this comment

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

/lgtm

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Jan 5, 2022
@SaschaSchwarze0 SaschaSchwarze0 added this to the release-v0.8.0 milestone Jan 5, 2022
@openshift-merge-robot openshift-merge-robot merged commit 2b891a0 into shipwright-io:main Jan 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. kind/bug Categorizes issue or PR as related to a bug. lgtm Indicates that a PR is ready to be merged. release-note Label for when a PR has specified a release note
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants