Add the possibility to specify ref for a site 76/1276/1
authorYolanda Robla <yroblamo@redhat.com>
Mon, 29 Jul 2019 10:15:18 +0000 (12:15 +0200)
committerYolanda Robla <yroblamo@redhat.com>
Mon, 29 Jul 2019 10:15:18 +0000 (12:15 +0200)
commit4b33b6caeb58fd7499164a287e259cf3bc3c9d87
tree8582121dfc09616e069c824e82a8f207297c2e52
parent5ff73085d810ddccdafb883f7910ca88e6e8d8d6
Add the possibility to specify ref for a site

Currently all references for a site are set to
master. Add the possibility to specify a ref, like
git::repo?ref=commit_id, to support using different
branches and commits for the site.

Signed-off-by: Yolanda Robla <yroblamo@redhat.com>
Change-Id: I9ab5ca8f31c3382730d7318b94a99f2f52d0e3f8
pkg/site/site.go