summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2019-12-30 11:23:13 +0200
committerLars Wirzenius <liw@liw.fi>2019-12-30 11:23:13 +0200
commit41e59b457ad609f3c54d670de5e35c091e007fcb (patch)
tree7f72205559ee734e056241d63f44b5e8700b906b
parent38e9f81cebe75175da57e5b97c655b515d2a6b1e (diff)
downloadliw-ci-41e59b457ad609f3c54d670de5e35c091e007fcb.tar.gz
Fix: vmdb2 build in Debian unstable
The problem seems to be that unstable is temporarily in a state where upgrading it from the systree artifact to current removes debhelper and build-essential, and they don't get installed automatically by the ick/install_debian_build_dependencies step. Fix is to install them manually.
-rw-r--r--ci-prod-programs.ick35
1 files changed, 33 insertions, 2 deletions
diff --git a/ci-prod-programs.ick b/ci-prod-programs.ick
index ec5b6a7..5f5738c 100644
--- a/ci-prod-programs.ick
+++ b/ci-prod-programs.ick
@@ -655,8 +655,17 @@ projects:
repo: git://git.liw.fi/vmdb2
ref: master
location: src
- pipelines: *deb_ci_pipelines
-
+ - name: debian
+ repo: git://git.liw.fi/vmdb2
+ ref: debian/unstable
+ location: src/debian
+ pipelines:
+ - ick/setup_container
+ - ick/add_apt_signing_keys
+ - ick/add_apt_sources
+ - ick/get_sources
+ - ick/install_debian_build_dependencies
+ - vmdb2_build_deb_ci
@@ -814,3 +823,25 @@ pipelines:
apt install -y ansible
cd src
ansible-playbook -i hosts.effi effi.yml -e reg_domain=effi-reg.vm.liw.fi -e @/workspace/vars/effi-reg.yml
+
+- pipeline: vmdb2_build_deb_ci
+ parameters:
+ - sources
+ - distribution_ci
+ actions:
+
+ - where: container
+ shell: |
+ rm -rf ick-helpers
+ git clone git://git.liw.fi/ick-helpers
+
+ - shell: |
+ apt-get install -y debhelper build-essential
+ where: container
+
+ - python: |
+ import sys
+ sys.path.insert(0, '/workspace/ick-helpers')
+ import ick_helpers
+ ick_helpers.ci_build_debian(params)
+ where: container