[Git-commits] [grml/grml-debootstrap] b8f3c8: travis: run tests from inside VM + support test ex...

Michael Prokop mika at grml.org
Sun Jul 29 14:06:14 CEST 2018


  Branch: refs/heads/master
  Home:   https://github.com/grml/grml-debootstrap
  Commit: b8f3c830f22b6a2cc74cf94166864d87c03c5f65
      https://github.com/grml/grml-debootstrap/commit/b8f3c830f22b6a2cc74cf94166864d87c03c5f65
  Author: Michael Prokop <mika at grml.org>
  Date:   2018-07-29 (Sun, 29 Jul 2018)

  Changed paths:
    M travis/execute.sh
    M travis/goss.yaml
    A travis/serial-console-connection

  Log Message:
  -----------
  travis: run tests from inside VM + support test execution outside of Travis CI

This is a big improvement, because we can now communicate with
the running VM, including executing processes inside the VM, like
running goss directly from inside the VM.

While at it also adjust travis/execute.sh to be able to run it
*locally* as well. We now don't have to necessarily push to Travis
CI, which also serves to be useful when developing new features.

Thanks: Christian Hofstaedtler <zeha at debian.org> for helping me with the serial console handling


  Commit: 3eede4fdddffb2484f2387f3c6547f0a22d0f80c
      https://github.com/grml/grml-debootstrap/commit/3eede4fdddffb2484f2387f3c6547f0a22d0f80c
  Author: Michael Prokop <mika at grml.org>
  Date:   2018-07-29 (Sun, 29 Jul 2018)

  Changed paths:
    M chroot-script
    M config
    M travis/goss.yaml

  Log Message:
  -----------
  Ensure /etc/timezone also includes the TIMEZONE setting

Quoting from the bug report:

| The timezone is currently setup in chroot-script:timezone(), but
| that function only sets up /etc/localtime but not /etc/timezone.
| The problem is that you end up with one set to Europe/Vienna and
| the other set to Etc/UTC.
|
| This can greatly confuse the system, due to some libraries/tools
| parsing the former, and other the latter.
|
| So that function should probably also update /etc/timezone, with
| the TIMEZONE value.

So write the $TIMEZONE setting to /etc/timezone.

Closes: #904607
Thanks: Guillem Jover <gjover at sipwise.com>


Compare: https://github.com/grml/grml-debootstrap/compare/361865654f56...3eede4fdddff
      **NOTE:** This service has been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/

      Functionality will be removed from GitHub.com on January 31st, 2019.


More information about the Git-commits mailing list