[CentOS-devel] Need a valid SCM for building (non-scratch) Vagrant images in CBS

Thu Nov 26 12:04:00 UTC 2015
Lalatendu Mohanty <lmohanty at redhat.com>

On 11/26/2015 03:57 PM, Fabian Arrotin wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On 25/11/15 14:20, Lalatendu Mohanty wrote:
>> Hi,
>>
>> I am getting following error while doing a non scratch build [2]
>> for ADB vagrant box.  The build command needs a "--ksurl" [1] but
>> it does not accept github as an url.
>>
>> Error:
>>
>> "GenericError: Invalid SCM URL:
>> <https://github.com/projectatomic/adb-atomic-developer-bundle/blob/master/build_tools/kickstarts/centos-7-adb-vagrant.ks#a8d6dd0fda693b3ade75d3425236282c7d3ba5aa>https://github.com/projectatomic/adb-atomic-developer-bundle/blob/master/build_tools/kickstarts/centos-7-adb-vagrant.ks#a8d6dd0fda693b3ade75d3425236282c7d3ba5aa"
>>
>>   <https://cbs.centos.org/koji/taskinfo?taskID=58780>
>>
>> Any idea how to solve this issue.
>>
>> [1]
>> https://github.com/projectatomic/adb-atomic-developer-bundle/pull/132
>>
>>
> [2] https://cbs.centos.org/koji/taskinfo?taskID=58780
>> Thanks, Lala
> Hi Lala,
>
> Haven't verified your build logs, but it seems that what it needs is a
> kickstart, and the github link you provided isn't the raw format, so
> you'd have to use
> https://raw.githubusercontent.com/projectatomic/adb-atomic-developer-bundle/master/build_tools/kickstarts/centos-7-adb-vagrant.ks
> instead ? (just a wild guess, don't know vagrant/adb)
>
Hi Fabian,

I tried raw.githubusercontent.com but it is not working [1] [2] for me 
and getting the same error. I had a talk with Ian and  he mentioned that 
its a image-factory side configuration thing. We need to configure 
github as a valid SCM for imagefactory.

[1] https://cbs.centos.org/koji/taskinfo?taskID=58935
[2] https://cbs.centos.org/koji/taskinfo?taskID=58932

Thanks,
Lala