Skip to content
This repository was archived by the owner on Mar 11, 2022. It is now read-only.

Include template-processors images in the testing phase in DEVELOPMENT.md#228

Merged
seanmalloy merged 2 commits intomasterfrom
deploy-locally
Jan 2, 2020
Merged

Include template-processors images in the testing phase in DEVELOPMENT.md#228
seanmalloy merged 2 commits intomasterfrom
deploy-locally

Conversation

@sbar95
Copy link
Copy Markdown
Contributor

@sbar95 sbar95 commented Jan 2, 2020

Description

Include building and deployment of templates-processors images in the
testing phase. Do it this way because a template-processor image is
tightly tied with eunomia-operator and there is little sense in testing
one without the other.

Doesn't fix any issue - this PR addresses the discussion from #200 (comment)

Type of change

  • Bug fix (non-breaking change which fixes an issue)

Checklist

  • Unit tests and e2e tests updated
  • Documentation updated

sbar95 added 2 commits January 2, 2020 13:16
Include building and deployment of templates-processors images in the
testing phase. Do it this way because a template-processor image is
tightly tied with eunomia-operator and there is little sense in testing
one without the other.
By doing this there will be no error of an unbound variable if
TRAVIS_TAG is not set.
@sbar95 sbar95 requested review from akavel and seanmalloy January 2, 2020 12:35
@seanmalloy seanmalloy added this to the v0.1.0 milestone Jan 2, 2020
@seanmalloy seanmalloy merged commit 2c8dc88 into master Jan 2, 2020
@seanmalloy seanmalloy deleted the deploy-locally branch January 2, 2020 16:23
Comment on lines +29 to +41
if [[ ! "${1:-}" ]]; then
usage
exit 1
fi

if [[ "$1" == minikube ]]; then
eval $(minikube docker-env)
elif [[ "$1" == minishift ]]; then
eval $(minishift docker-env)
else
usage
exit 1
fi
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Possible simplification:

case "${1:-}" in
  minikube) eval $(minikube docker-env);;
  minishift) eval $(minishift docker-env);;
  *)
    usage
    exit 1
    ;;
esac

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants