Skip to content

Conversation

hasbro17
Copy link
Contributor

@hasbro17 hasbro17 commented Oct 11, 2019

Description of the change:

  • Allow add crd command to run outside $GOPATH/src for Helm/Ansible projects.
  • Change GOTMP="$(mktemp -d -p $GOPATH/src)" ==> GOTMP="$(mktemp -d)"
  • Change the var name GOTMP to TMPDIR in the ansible/helm CI scripts

Motivation for the change:
Fix the bug introduced to add crd in #1660
The CI script var GOTMP name change is to avoid setting it asGOTMP="$(mktemp -d -p $GOPATH/src)" since those tests shouldn't need any Go related envs/paths. This is what caused the break in add crd to not be detected by the prow CI scripts in #1660

@openshift-ci-robot openshift-ci-robot added the size/M Denotes a PR that changes 30-99 lines, ignoring generated files. label Oct 11, 2019
@hasbro17 hasbro17 requested review from fabianvf and removed request for shawn-hurley October 11, 2019 04:48
@hasbro17
Copy link
Contributor Author

/test e2e-aws-ansible

2 similar comments
@hasbro17
Copy link
Contributor Author

/test e2e-aws-ansible

@camilamacedo86
Copy link
Contributor

/test e2e-aws-ansible

Copy link
Member

@joelanford joelanford left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor

@camilamacedo86 camilamacedo86 left a comment

Choose a reason for hiding this comment

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

Shows fine 👍

@hasbro17 hasbro17 merged commit 2ce7a17 into operator-framework:master Oct 11, 2019
@hasbro17 hasbro17 deleted the fix-add-crd branch October 11, 2019 17:18
fabianvf pushed a commit to fabianvf/operator-sdk that referenced this pull request Oct 14, 2019
…erator-framework#2044)

* allow add crd to run for helm/ansible projects

* rename GOTMP to TMPDIR for helm/ansible scripts
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size/M Denotes a PR that changes 30-99 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants