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
Use origin-ansible-service-broker docker image #371
Conversation
It is annoying for the run_latest_build script to cat the broker k8s object to a file and then use `oc create` when it could just pipe directly.
A majority of the work to make the change from ansible-service-broker to origin-ansible-service-broker is taken care of through jenkins pipelines and dockerhub automated builds. Now that those changes are in place, this updates the relevant documentation + the broker template that we use to reference the correct image (`origin-ansible-service-broker`).
TestsRunning
|
|
ACK |
|
|
||
| * [Docker Hub published APBs](https://hub.docker.com/u/ansibleplaybookbundle/) | ||
|
|
||
| Image [tags](https://hub.docker.com/r/ansibleplaybookbundle/ansible-service-broker/tags): | ||
| Image [tags](https://hub.docker.com/r/ansibleplaybookbundle/origin-ansible-service-broker/tags): |
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.
+1 to contributing changes
| @@ -1,7 +1,7 @@ | |||
| REGISTRY ?= docker.io | |||
| ORG ?= ansibleplaybookbundle | |||
| TAG ?= latest | |||
| BROKER_IMAGE ?= $(REGISTRY)/$(ORG)/ansible-service-broker | |||
| BROKER_IMAGE ?= $(REGISTRY)/$(ORG)/origin-ansible-service-broker | |||
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.
I'm wondering if we'll need to make this a variable in case we need to make this ose- one day.
| @@ -6,7 +6,7 @@ The following are the configurable parameters that you can set for deploying the | |||
| Name | Default Value | Description | |||
| ---|---|--- | |||
| PROJECT | ansible-service-broker | Project Namespace | |||
| BROKER_IMAGE | ansibleplaybookbundle/ansible-service-broker:latest| Container Image to use for Ansible Service Broker in format of imagename:tag | |||
| BROKER_IMAGE | ansibleplaybookbundle/origin-ansible-service-broker:latest| Container Image to use for Ansible Service Broker in format of imagename:tag | |||
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.
good
| @@ -88,7 +88,7 @@ fi | |||
|
|
|||
| ASB_ROUTE=`oc get routes | grep ansible-service-broker | awk '{print $2}'` | |||
|
|
|||
| cat <<EOF > ansible-service-broker.broker | |||
| cat <<EOF | oc create -f - | |||
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.
❗️ good optimization
| @@ -201,7 +201,7 @@ parameters: | |||
| - description: Container Image to use for Ansible Service Broker in format of imagename:tag | |||
| displayname: Ansible Service Broker Image | |||
| name: BROKER_IMAGE | |||
| value: ansibleplaybookbundle/ansible-service-broker:latest | |||
| value: ansibleplaybookbundle/origin-ansible-service-broker:latest | |||
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.
hopefully, this doesn't have to be swapped out for ose- later. I think we're ok for now.
|
@djzager thanks for the test plan! |
Make it so the broker template and project documentation refer to the
origin-ansible-service-brokerdocker image.