Commit c1bd3041 authored by Holger Levsen's avatar Holger Levsen
Browse files

reproducible Debian: add support for testing cdebootstrap too and add such a job for unstable



Signed-off-by: Holger Levsen's avatarHolger Levsen <holger@layer-acht.org>
parent 5743f064
...@@ -55,6 +55,7 @@ for LOOP in "first" "second" ; do ...@@ -55,6 +55,7 @@ for LOOP in "first" "second" ; do
case $TOOL in case $TOOL in
mmdebstrap) REALTOOL="mmdebstrap -v" ;; mmdebstrap) REALTOOL="mmdebstrap -v" ;;
debootstrap) REALTOOL="debootstrap --verbose" ;; debootstrap) REALTOOL="debootstrap --verbose" ;;
cdebootstrap) REALTOOL="cdebootstrap --verbose" ;;
esac esac
;; ;;
esac esac
...@@ -75,6 +76,10 @@ for LOOP in "first" "second" ; do ...@@ -75,6 +76,10 @@ for LOOP in "first" "second" ; do
sudo tar --mtime="@$SOURCE_DATE_EPOCH" --clamp-mtime -C $BUILDDIR/$SUBDIR/${TOOL}/ -cf $BUILDDIR/$SUBDIR/${TOOL}/${SUITE}.tar ${SUITE} sudo tar --mtime="@$SOURCE_DATE_EPOCH" --clamp-mtime -C $BUILDDIR/$SUBDIR/${TOOL}/ -cf $BUILDDIR/$SUBDIR/${TOOL}/${SUITE}.tar ${SUITE}
sudo rm -rf --one-file-system $BUILDDIR/$SUBDIR/${TOOL}/${SUITE} sudo rm -rf --one-file-system $BUILDDIR/$SUBDIR/${TOOL}/${SUITE}
;; ;;
cdebootstrap) sudo $REALTOOL $SUITE $BUILDDIR/$SUBDIR/${TOOL}/${SUITE}
sudo tar --mtime="@$SOURCE_DATE_EPOCH" --clamp-mtime -C $BUILDDIR/$SUBDIR/${TOOL}/ -cf $BUILDDIR/$SUBDIR/${TOOL}/${SUITE}.tar ${SUITE}
sudo rm -rf --one-file-system $BUILDDIR/$SUBDIR/${TOOL}/${SUITE}
;;
*) output_echo "Failure: ${TOOL} is unsupported." *) output_echo "Failure: ${TOOL} is unsupported."
exit 1 exit 1
;; ;;
......
jenkins ALL= \ jenkins ALL= \
NOPASSWD: /usr/sbin/debootstrap *, \ NOPASSWD: /usr/sbin/debootstrap *, \
/usr/bin/mmdebstrap *, \ /usr/bin/mmdebstrap *, \
/usr/bin/cdebootstrap *, \
/usr/bin/sbuild-createchroot *, \ /usr/bin/sbuild-createchroot *, \
/usr/bin/sbuild-update *, \ /usr/bin/sbuild-update *, \
/bin/systemctl reset-failed*, \ /bin/systemctl reset-failed*, \
...@@ -26,6 +27,7 @@ jenkins ALL= \ ...@@ -26,6 +27,7 @@ jenkins ALL= \
/bin/rm -rf --one-file-system /srv/workspace/live-build*, \ /bin/rm -rf --one-file-system /srv/workspace/live-build*, \
/bin/rm -rf --one-file-system /srv/workspace/mmdebstrap*, \ /bin/rm -rf --one-file-system /srv/workspace/mmdebstrap*, \
/bin/rm -rf --one-file-system /srv/workspace/debootstrap*, \ /bin/rm -rf --one-file-system /srv/workspace/debootstrap*, \
/bin/rm -rf --one-file-system /srv/workspace/cdebootstrap*, \
/bin/rm -rf --one-file-system /var/lib/sbuild/build/*, \ /bin/rm -rf --one-file-system /var/lib/sbuild/build/*, \
/bin/rm -rf --one-file-system /var/lib/schroot/union/*, \ /bin/rm -rf --one-file-system /var/lib/schroot/union/*, \
/bin/rm -rf --one-file-system /tmp/*, \ /bin/rm -rf --one-file-system /tmp/*, \
......
...@@ -634,6 +634,11 @@ ...@@ -634,6 +634,11 @@
my_shell: '/srv/jenkins/bin/jenkins_master_wrapper.sh debootstrap bookworm' my_shell: '/srv/jenkins/bin/jenkins_master_wrapper.sh debootstrap bookworm'
my_timed: '40 7 * * *' my_timed: '40 7 * * *'
my_hname: 'osuosl173' my_hname: 'osuosl173'
- 'cdebootstrap_unstable':
my_description: 'Check cdebootstrap of unstable is reproducible.'
my_shell: '/srv/jenkins/bin/jenkins_master_wrapper.sh cdebootstrap unstable'
my_timed: '50 7 * * *'
my_hname: 'osuosl173'
- 'json': - 'json':
my_description: 'Generate https://reproducible.debian.net/userContent/reproducible.json for consumption by tracker.debian.org.' my_description: 'Generate https://reproducible.debian.net/userContent/reproducible.json for consumption by tracker.debian.org.'
my_timed: '1 H/2 * * *' my_timed: '1 H/2 * * *'
......
...@@ -381,7 +381,8 @@ if [ -f /etc/debian_version ] ; then ...@@ -381,7 +381,8 @@ if [ -f /etc/debian_version ] ; then
case $HOSTNAME in case $HOSTNAME in
# needed for rebuilding Debian (using .buildinfo files) # needed for rebuilding Debian (using .buildinfo files)
osuosl173-amd64) DEBS="$DEBS libdpkg-perl libwww-mechanize-perl sbuild" osuosl173-amd64) DEBS="$DEBS libdpkg-perl libwww-mechanize-perl sbuild"
DEBS="$DEBS live-build" ;; # needed for live-build DEBS="$DEBS live-build" # needed for live-build
DEBS="$DEBS cdebootstrap" ;; # needed for testing just that
# needed for opensuse openbuildservice # needed for opensuse openbuildservice
osuosl174-amd64) DEBS="$DEBS osc obs-build qemu-kvm libarchive-tools libjson-perl libxml-simple-perl" ;; osuosl174-amd64) DEBS="$DEBS osc obs-build qemu-kvm libarchive-tools libjson-perl libxml-simple-perl" ;;
*) ;; *) ;;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment