+++ Ben Parees [18/02/15 16:01 -0500]:
The lack of a BaseImage on your BuildConfig is part(all?) of the problem. the BaseImage field on a DockerBuildStrategy has to match to the "image" field on the image change trigger, and will be replaced with the pull spec computed from the imageRepo.
I've attached my build config. I _think_ I have the BaseImage wired up correctly but it's still not working.
Ben Parees | OpenShift ----- Original Message -----From: "Brenton Leanhardt" <bleanhar redhat com> To: "Clayton Coleman" <ccoleman redhat com> Cc: "Openshift Dev" <dev lists openshift redhat com> Sent: Wednesday, February 18, 2015 3:35:56 PM Subject: Re: imageChange build trigger's and the internal registry +++ Clayton Coleman [18/02/15 15:30 -0500]: >Can you paste your build config? It was mostly created with 'ex generate' and I made some minor tweaks. Below the only changes I made were to remove the git url hostname: # osc describe bc ose-base Name: ose-base Annotations: <none> Created: 2015-02-18 15:03:39 -0500 EST Strategy: Docker No Cache: yes BaseImage: <none> Source Type: Git URL: http://<snipped>/git/users/bleanhar/ose Ref: osebuild Output to: ose-base Output Spec: <none> Webhook Github: localhost/osapi/v1beta1/buildConfigHooks/ose-base/DfI4Ka2eL5cwpZ-cus6A/github Webhook Generic: localhost/osapi/v1beta1/buildConfigHooks/ose-base/ydpu3GA0PGqFoG5a1Rqb/generic # osc describe bc ose Name: ose Annotations: <none> Created: 2015-02-18 15:04:05 -0500 EST Strategy: Docker No Cache: yes BaseImage: <none> Source Type: Git URL: http://<snipped>/git/users/bleanhar/ose Ref: osebuild Output to: ose Output Spec: <none> Webhook Generic: localhost/osapi/v1beta1/buildConfigHooks/ose/ydpu3GA0PGqFoG5a1Rqb/generic Webhook Github: localhost/osapi/v1beta1/buildConfigHooks/ose/DfI4Ka2eL5cwpZ-cus6A/github Image Repository Trigger: ose-base - Tag: latest - Image: ose3/ose-base - LastTriggeredImageID: 0975d5a7c29c921838fcc56dd154b94dc895b79c8417f720d818767652dbf779 > > >> On Feb 18, 2015, at 2:45 PM, Brenton Leanhardt <bleanhar redhat com> >> wrote: >> >> I have a working imageChange build trigger. However, it seems like >> the resulting build is trying to pull from the docker hub: >> >> Build logs: >> 2015-02-18T19:35:59.534994177Z Step 0 : FROM ose3/ose-base >> 2015-02-18T19:35:59.534994177Z Pulling repository ose3/ose-base >> 2015-02-18T19:36:00.022455304Z 2015/02/18 14:36:00 Build error: Error: >> image ose3/ose-base not found >> >> Curling my registry directly shows the image is there: >> >> curl >> http://172.30.17.215:5001/v1/repositories/ose3/ose-base/tags/latest >> "8a864801852bcee8d120b4fe815b78cb41ba3632ffaa0edd0dd213558464f60b >> >> How is the resulting build supposed to find that image? >> >> --Brenton >> >> _______________________________________________ >> dev mailing list >> dev lists openshift redhat com >> http://lists.openshift.redhat.com/openshiftmm/listinfo/dev _______________________________________________ dev mailing list dev lists openshift redhat com http://lists.openshift.redhat.com/openshiftmm/listinfo/dev