Content
Configuration for Debian-like distribution
Automatic sources.list configuration
sudo apt-get install apt-add-gitlab
sudo apt-add-gitlab https://orange-opensource.gitlab.io/gitlab-buildpkg-tools
Manual sources.list configuration
For all distributions
sudo curl -L https://orange-opensource.gitlab.io/gitlab-buildpkg-tools/GPG_PUBLIC_KEY -o /etc/apt/trusted.gpg.d/gitlab-orange-opensource-gitlab-buildpkg-tools.asc
sudo apt-get install apt-transport-https
For selected release
sudo tee /etc/apt/sources.list.d/gitlab-orange-opensource-gitlab-buildpkg-tools.list << EOF
deb [arch=amd64] https://orange-opensource.gitlab.io/gitlab-buildpkg-tools/RELEASE_ID RELEASE_NAME main
#deb-src https://orange-opensource.gitlab.io/gitlab-buildpkg-tools/RELEASE_ID RELEASE_NAME main
EOF
Configuration for RPM-based distribution
Automatic yum.conf configuration
sudo yum install yum-add-gitlab
sudo yum-add-gitlab https://orange-opensource.gitlab.io/gitlab-buildpkg-tools
Manual yum.conf configuration
For all distributions
sudo rpm --import https://orange-opensource.gitlab.io/gitlab-buildpkg-tools/GPG_PUBLIC_KEY
For selected release
sudo tee /etc/yum.repos.d/gitlab-orange-opensource-gitlab-buildpkg-tools.repo << EOF
[orange-opensource-gitlab-buildpkg-tools]
name=Gitlab orange-opensource-gitlab-buildpkg-tools - RELEASE_NAME - \$basearch
baseurl=https://orange-opensource.gitlab.io/gitlab-buildpkg-tools/RELEASE_ID/RELEASE_NAME/\$basearch
enabled=1
metadata_expire=15m
gpgcheck=1
repo_gpgcheck=0
gpgkey=https://orange-opensource.gitlab.io/gitlab-buildpkg-tools/GPG_PUBLIC_KEY
skip_if_unavailable=False
EOF