Re: Fixed URL for latest branch shaman build?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Feb 27, 2017 at 5:32 PM, Andrew Schoen <aschoen@xxxxxxxxxx> wrote:
> On Mon, Feb 27, 2017 at 8:21 AM, Dan van der Ster <dan@xxxxxxxxxxxxxx> wrote:
>> Hi all,
>>
>> tl;dr: Is there a fixed URL which points to the latest jewel build on shaman?
>
> There is, but it doesn't work exactly like how this has worked in the
> past with the gitbuilders. The new system uses multiple repo builder
> nodes (chacra) and reports those back to shaman.ceph.com. Because of
> this, the latest repo for jewel might not always exist on the same
> chacra node.
>
> We've setup an API endpoint on shaman.ceph.com that will redirect you
> to a repo file definition for the 'latest' built repo of your choice.
>
> For example, this url will always redirect to an endpoint that will
> print out plain text that looks like either a deb or rpm repo.
>
> $ curl -L https://shaman.ceph.com/api/repos/ceph/jewel/latest/centos/7/repo/
> [ceph]
> name=ceph packages for \$basearch
> baseurl=https://1.chacra.ceph.com/r/ceph/jewel/ac3ba2adcd21ac011ad556ac4506623e61fbe696/centos/7/flavors/default/\$basearch
> enabled=1
> gpgcheck=0
> type=rpm-md
>
> [ceph-noarch]
> name=ceph noarch packages
> baseurl=https://1.chacra.ceph.com/r/ceph/jewel/ac3ba2adcd21ac011ad556ac4506623e61fbe696/centos/7/flavors/default/noarch
> enabled=1
> gpgcheck=0
> type=rpm-md
>
> [ceph-source]
> name=ceph source packages
> baseurl=https://1.chacra.ceph.com/r/ceph/jewel/ac3ba2adcd21ac011ad556ac4506623e61fbe696/centos/7/flavors/default/SRPMS
> enabled=1
> gpgcheck=0
> type=rpm-md
>
> You can modify that url to change the branch, release, distro and
> distro version values for the repo you want. Using 'latest' in the
> sha1 position will always give you the latest sha1 built that shaman
> knows about.
>
> I realize this is a bit more work for any CI system that used to pull
> down the latest from gitbuilder, but it's the best we have currently
> to deal with a variable amount of chacra builders for these repos.

Thanks -- this should work for us.

Is there a way to be specific about which flavor? We don't want the
notcmalloc jewel builds, for example.

--
Dan


>
> Thanks,
> Andrew
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [CEPH Users]     [Ceph Large]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux