OSBI / layer-gitlab

Gitlab Layer for Juju
Apache License 2.0
3 stars 5 forks source link

curl | bash is devops, not production #1

Open marcoceppi opened 8 years ago

marcoceppi commented 8 years ago

charm should dissect shell script and just add the upstream repository.

https://packages.gitlab.com/install/repositories/gitlab/gitlab-ce/script.deb.sh

buggtb commented 8 years ago

Yup, funnily its the prescribed way that gitlab tell you to install it, but in the finished thing I was just going to extract the guts and also pin the version.


Director Meteorite.bi - Saiku Analytics Founder Tel: +44(0)5603641316

(Thanks to the Saiku community we reached our Kickstart http://kickstarter.com/projects/2117053714/saiku-reporting-interactive-report-designer/ goal, but you can always help by sponsoring the project http://www.meteorite.bi/products/saiku/sponsorship)

On 17 February 2016 at 19:44, Marco Ceppi notifications@github.com wrote:

charm should dissect shell script and just add the upstream repository.

https://packages.gitlab.com/install/repositories/gitlab/gitlab-ce/script.deb.sh

— Reply to this email directly or view it on GitHub https://github.com/OSBI/layer-gitlab/issues/1.

buggtb commented 8 years ago

Okay I pushed a few changes:

https://github.com/OSBI/layer-gitlab/blob/master/reactive/gitlab.py#L18

and

https://github.com/OSBI/layer-gitlab/tree/master/data

to install the apt repositories, let me know if that cuts the mustard.

Tom

buggtb commented 8 years ago

Oh I also added a config option for a specific version and pinned the default at the latest stable release but obviously that allows people to up/downgrade