Commit 7acc3082b4bb48911247362710f299aa3a700349
1 parent
4af34cdc
Exists in
master
and in
39 other branches
Disable mirror list for colab.repo
Was not working on chroot
Showing
3 changed files
with
5 additions
and
4 deletions
Show diff stats
ci/build_rpm.sh
| ... | ... | @@ -14,7 +14,8 @@ sudo cp ci/softwarepublico.key /tmp/centos-7/etc/yum.repos.d/ |
| 14 | 14 | |
| 15 | 15 | # Commands on chroot |
| 16 | 16 | |
| 17 | +set -e | |
| 18 | + | |
| 17 | 19 | sudo chroot /tmp/centos-7/ yum install rpm-build |
| 18 | 20 | sudo chroot /tmp/centos-7/ yum install python-virtualenv colab-deps |
| 19 | 21 | sudo HOME=/root chroot /tmp/centos-7/ rpmbuild -ba /root/rpmbuild/SPECS/colab.spec |
| 20 | - | ... | ... |
ci/centos-7.packages
ci/colab.repo
| 1 | 1 | [isv_spb_colab] |
| 2 | 2 | name=Colab (CentOS_7) |
| 3 | 3 | type=rpm-md |
| 4 | -#baseurl=http://download.opensuse.org/repositories/isv:/spb:/colab/CentOS_7/ | |
| 5 | -mirrorlist=https://gitlab.com/softwarepublico/softwarepublico/raw/master/rpm_mirrors/colab | |
| 4 | +baseurl=http://download.opensuse.org/repositories/isv:/spb:/colab/CentOS_7/ | |
| 5 | +#mirrorlist=https://gitlab.com/softwarepublico/softwarepublico/raw/master/rpm_mirrors/colab | |
| 6 | 6 | gpgcheck=1 |
| 7 | 7 | gpgkey=file:///etc/yum.repos.d/softwarepublico.key |
| 8 | 8 | enabled=1 | ... | ... |