Install GitLab CE on banana pi or raspberry pi2 like board

#!/usr/bin/env bash
RTM=$(curl https://packages.gitlab.com/gitlab/raspberry-pi2 | grep '\-ce.0_armhf.deb' | grep -o 'gitlab-[^"]*deb' | head -1)
curl -s https://packages.gitlab.com/install/repositories/gitlab/raspberry-pi2/script.deb.sh | sudo bash –
sed -i 's|debian|rasbian|g' /etc/apt/sources.list.d/gitlab_raspberry-pi2.list
wget -l https://packages.gitlab.com/gitlab/raspberry-pi2/packages/raspbian/jessie/${RTM}/download
dpkg -i ${RTM}
exit 0

view raw
pi-gilab-ce.sh
hosted with ❤ by GitHub