-
Notifications
You must be signed in to change notification settings - Fork 84
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
techdebt: fix Makefile deploy #250
Conversation
TESTHere are the steps you'll want to run. I will follow up with a comment that show expected output.
Now that you have the broker running, let's verify things are ok:
|
Actual outputMAKE BUILD-IMAGE
DOCKER PUSH
MAKE DEPLOY
OC GET PROJECT
OC GET PODS
OC LOGS ASB
BOOTSTRAP
|
You can also deploy the image from ansibleplaybookbundle organization. This can be useful to test between your current image changes and the previously released version.
|
WARNING:be careful with the |
scripts/deploy.sh
Outdated
# override with from my_local_dev_vars | ||
PROJECT="ansible-service-broker" | ||
OPENSHIFT_TARGET="https://kubernetes.default" | ||
OPENSHIFT_USER="admin" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should probably remove OPENSHIFT_USER and OPENSHIFT_PASS since they are no longer being used.
The template also needs to remove these, but that might be a different PR when we expose the path for token, target, and ca_file.
scripts/deploy.sh
Outdated
validate_var "DOCKERHUB_ORG" $DOCKERHUB_ORG | ||
|
||
# configure variables to pass to template | ||
VARS="-p BROKER_IMAGE=${BROKER_IMAGE} -p OPENSHIFT_TARGET=${OPENSHIFT_TARGET} -p OPENSHIFT_PASS=${OPENSHIFT_PASS} -p OPENSHIFT_USER=${OPENSHIFT_USER} -p DOCKERHUB_ORG=${DOCKERHUB_ORG} -p DOCKERHUB_PASS=${DOCKERHUB_PASS} -p DOCKERHUB_USER=${DOCKERHUB_USER} -p REGISTRY_TYPE=${REGISTRY_TYPE} -p REGISTRY_URL=${REGISTRY} -p DEV_BROKER=${DEV_BROKER} -p LAUNCH_APB_ON_BIND=${LAUNCH_APB_ON_BIND} -p OUTPUT_REQUEST=${OUTPUT_REQUEST} -p RECOVERY=${RECOVERY}" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same with remove OPENSHIFT_USER and OPENSHIFT_PASS
LGTM Minor comment on OPENSHIFT_USER/PASS, since they aren't used by the broker, lets remove them from the deploy script. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ACK. Ran through the tests, all looking good. Just needs the update from PROJECT -> ORG.
result after PROJECT -> ORG
|
ACK following PROJECT -> ORG, same behavior. Merging. |
No description provided.