Skip to content
This repository was archived by the owner on Jul 18, 2024. It is now read-only.

Conversation

@AnthonyAmanse
Copy link
Contributor

@AnthonyAmanse AnthonyAmanse commented Oct 12, 2017

Replaced BLUEMIX_AUTH to TRAVIS_PULL_REQUEST

Quick change of $NODE_PORT variable to 30080

BLUEMIX_SPACE="dev"

if [[ -z "$BLUEMIX_AUTH" ]]; then
if [[ -z "$BLUEMIX_API_KEY" ]]; then
Copy link
Contributor

Choose a reason for hiding this comment

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

Quick point, this isn't actually testing if we are in a fork, it is only testing if BLUEMIX_API_KEY is set. Would it be better to check if TRAVIS_PULL_REQUEST is set (see here for example)?

#!/bin/bash -e

if [[ -z "$BLUEMIX_AUTH" ]]; then
if [[ -z "$BLUEMIX_API_KEY" ]]; then
Copy link
Contributor

Choose a reason for hiding this comment

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

See comment from scripts/bx_auth.sh.

main(){

if [[ -z "$BLUEMIX_AUTH" ]]
if [[ -z "$BLUEMIX_API_KEY" ]]
Copy link
Contributor

Choose a reason for hiding this comment

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

See comment from scripts/bx_auth.sh.


main(){
if [[ -z "$BLUEMIX_AUTH" ]]; then
if [[ -z "$BLUEMIX_API_KEY" ]]; then
Copy link
Contributor

Choose a reason for hiding this comment

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

See comment from scripts/bx_auth.sh.

@AnthonyAmanse
Copy link
Contributor Author

@mlangbehn BLUEMIX_API_KEY changed to check for TRAVIS_PULL_REQUEST

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

Labels

None yet

2 participants