Closed
Description
If the source repo URL has an IP address instead of hostname, OpenShift does not recognize it
Version
oc v1.3.3
kubernetes v1.3.0+52492b4
features: Basic-Auth
Steps To Reproduce
This works:
oc new-app --strategy=docker --name=gift-card-production https://gitlab.nexxera.com/gift-card/gift-card.git#dockerfile -e PORT=8080 -e PROCFILE_TARGET=web
This does not:
oc new-app --strategy=docker --name=gift-card-production https://10.9.15.192/gift-card/gift-card.git#dockerfile -e PORT=8080 -e PROCFILE_TARGET=web
Error: error: when --strategy is specified you must provide at least one source code location
Current Result
error: when --strategy is specified you must provide at least one source code location
Expected Result
--> Found Docker image 5533358 (13 days old) from Docker Hub for "sglebs/geventpython3"
* An image stream will be created as "geventpython3:latest" that will track the source image
* A Docker build using source code from https://gitlab.nexxera.com/gift-card/gift-card.git#dockerfile will be created
* The resulting image will be pushed to image stream "gift-card-production:latest"
* Every time "geventpython3:latest" changes a new build will be triggered
* This image will be deployed in deployment config "gift-card-production"