Open secondsun opened 5 years ago
If you want to deploy the apb to the service catalog, you must as cluster admin deploy the image to the openshift namespace in the internal docker registry. You can do this when you setup the builds or push it manually using docker push.
So the apb tools we've been using are all deprecated and all of our READMEs need to be reviewed.
For instance
apb test
has been replaced withapb bundle test
. To get the bundle test to work, however, we have to do a few things first.Steps to Setup Apb Bundles
apb bundle prepare
oc new-build --binary=true --name sync-app-apb
oc start-build --follow --from-dir . sync-app-apb
The APB is now in a build pipeline in OpenShift and should be deployed to the local docker registry. At this point we must tell the apb tool about the registry.
apb registry add myregistry --namespaces=myproject --type=local_openshift
At this point we can now run
apb bundle test sync-app-apb
. I used the values from the test variables when prompted. The test fails with the following error logs