travis: default to buster and also use debian:buster as docker container
authorMichael Prokop <mika@grml.org>
Wed, 21 Aug 2019 20:27:52 +0000 (22:27 +0200)
committerMichael Prokop <mika@grml.org>
Thu, 22 Aug 2019 06:46:49 +0000 (08:46 +0200)
.travis.yml
travis/build-vm.sh
travis/execute.sh
travis/serial-console-connection

index 0a3f432..98b0e4b 100644 (file)
@@ -5,7 +5,7 @@ services:
   - docker
 
 env:
   - docker
 
 env:
-  - TRAVIS_DEBIAN_DISTRIBUTION=stretch
+  - TRAVIS_DEBIAN_DISTRIBUTION=buster
   - TRAVIS_DEBIAN_DISTRIBUTION=unstable TRAVIS_DEBIAN_INCREMENT_VERSION_NUMBER=true
 
 script:
   - TRAVIS_DEBIAN_DISTRIBUTION=unstable TRAVIS_DEBIAN_INCREMENT_VERSION_NUMBER=true
 
 script:
index 9387d76..217813b 100755 (executable)
@@ -3,7 +3,7 @@
 set -eu -o pipefail
 
 TARGET="${TARGET:-/code/qemu.img}"
 set -eu -o pipefail
 
 TARGET="${TARGET:-/code/qemu.img}"
-RELEASE="${RELEASE:-stretch}"
+RELEASE="${RELEASE:-buster}"
 
 cd "$(dirname "$TARGET")"
 apt update
 
 cd "$(dirname "$TARGET")"
 apt update
index 7d20e40..5b4f47a 100755 (executable)
@@ -18,7 +18,7 @@ if [ -z "${TRAVIS:-}" ] ; then
   fi
 fi
 
   fi
 fi
 
-RELEASE="${RELEASE:-stretch}"
+RELEASE="${RELEASE:-buster}"
 export RELEASE
 
 TARGET="${TARGET:-qemu.img}"
 export RELEASE
 
 TARGET="${TARGET:-qemu.img}"
@@ -69,7 +69,7 @@ else
 fi
 
 # we need to run in privileged mode to be able to use loop devices
 fi
 
 # we need to run in privileged mode to be able to use loop devices
-docker run --privileged -v "$(pwd)":/code --rm -i -t debian:stretch /code/travis/build-vm.sh
+docker run --privileged -v "$(pwd)":/code --rm -i -t debian:buster /code/travis/build-vm.sh
 
 [ -x ./goss ] || curl -fsSL https://goss.rocks/install | GOSS_DST="$(pwd)" sh
 
 
 [ -x ./goss ] || curl -fsSL https://goss.rocks/install | GOSS_DST="$(pwd)" sh
 
index 46c2f02..ff3fbd0 100755 (executable)
@@ -13,9 +13,9 @@ parser = argparse.ArgumentParser(description='Connect to serial console ' +
 parser.add_argument('--port', required=True,
                     help='serial console device to connect ' +
                     'to (e.g. /dev/pts/X)')
 parser.add_argument('--port', required=True,
                     help='serial console device to connect ' +
                     'to (e.g. /dev/pts/X)')
-parser.add_argument('--hostname', default="stretch",
+parser.add_argument('--hostname', default="buster",
                     help='hostname of the system for login process ' +
                     help='hostname of the system for login process ' +
-                    '(default: stretch)')
+                    '(default: buster)')
 parser.add_argument('--pipefile', default="./serial0",
                     help='file name for named pipe file (for ' +
                     'interacting between host + VM via QEMU ' +
 parser.add_argument('--pipefile', default="./serial0",
                     help='file name for named pipe file (for ' +
                     'interacting between host + VM via QEMU ' +