mirror of
https://github.com/pavel-odintsov/fastnetmon
synced 2024-11-15 13:34:32 +01:00
Added more debug for Debian build, removed absolute path for pbuilder
This commit is contained in:
parent
3103178074
commit
f78328058d
@ -19,6 +19,9 @@ jobs:
|
||||
- run: sudo docker exec -it linux_priviledged_container tar -czf fastnetmon_$(sudo docker exec -it linux_priviledged_container head -n 1 fastnetmon-debian-salsa/debian/changelog|awk '{print $2}'|sed 's/[()]//g' | sed -E 's/(\-[0-9]+)?$//').orig.tar.gz fastnetmon
|
||||
- run: sudo docker exec -it linux_priviledged_container ls -la
|
||||
- run: sudo docker exec -it linux_priviledged_container bash -c "cd fastnetmon && rm -rf debian && cp -a ../fastnetmon-debian-salsa/debian/ . && dpkg-buildpackage -S -sa -d"
|
||||
- run:
|
||||
name: List produced source files
|
||||
command: ls -la
|
||||
- restore_cache:
|
||||
keys:
|
||||
- "{{ .Environment.CIRCLE_JOB }}_debian_sid_image"
|
||||
@ -27,7 +30,7 @@ jobs:
|
||||
command: ls -la /data
|
||||
- run:
|
||||
name: "Run pbuilder run Docker if we have no image in place"
|
||||
command: "[ ! -f /data/sid_base.tgz ] && sudo docker exec -it linux_priviledged_container apt-get install pbuilder; /usr/sbin/pbuilder --create --basetgz /data/sid_base.tgz --distribution sid"
|
||||
command: "[ ! -f /data/sid_base.tgz ] && sudo docker exec -it linux_priviledged_container pbuilder --create --basetgz /data/sid_base.tgz --distribution sid"
|
||||
- save_cache:
|
||||
key: "{{ .Environment.CIRCLE_JOB }}_debian_sid_image"
|
||||
paths:
|
||||
|
Loading…
Reference in New Issue
Block a user