[Git-commits] [grml/grml-debootstrap] 927209: tests: provide README

Chris Hofstaedtler noreply at github.com
Mon Aug 19 16:38:43 CEST 2024


  Branch: refs/heads/master
  Home:   https://github.com/grml/grml-debootstrap
  Commit: 9272096ab832d2364a0dbb3ddcb7ff5676873db4
      https://github.com/grml/grml-debootstrap/commit/9272096ab832d2364a0dbb3ddcb7ff5676873db4
  Author: Michael Prokop <mika at grml.org>
  Date:   2024-08-17 (Sat, 17 Aug 2024)

  Changed paths:
    A tests/README.md

  Log Message:
  -----------
  tests: provide README

Provide tests/README.md for usage instructions, when trying to reproduce
the GitHub tests inside a local VM.


  Commit: bffadf3ac9bfd722f6177e8dbf0ccd11fb9333fd
      https://github.com/grml/grml-debootstrap/commit/bffadf3ac9bfd722f6177e8dbf0ccd11fb9333fd
  Author: Michael Prokop <mika at grml.org>
  Date:   2024-08-17 (Sat, 17 Aug 2024)

  Changed paths:
    M tests/build-vm-and-test.sh

  Log Message:
  -----------
  tests/build-vm-and-test.sh: install curl

Our tests/build-vm-and-test.sh script relies on presence of curl
command, so ensure it's available.


  Commit: 95bd689a525c8681f514cc869bcff254227db3d0
      https://github.com/grml/grml-debootstrap/commit/95bd689a525c8681f514cc869bcff254227db3d0
  Author: Michael Prokop <mika at grml.org>
  Date:   2024-08-17 (Sat, 17 Aug 2024)

  Changed paths:
    M tests/serial-console-connection

  Log Message:
  -----------
  tests/serial-console-connection: use python3 in shebang

We need to replace `/usr/bin/env python` with `/usr/bin/env python3`
as /usr/bin/python is provided only by the python-is-python3 or
python-is-python2 packages through a symlink (meant for third-party or
legacy scripts, see https://wiki.debian.org/Python), though those might
not be present e.g. when running in a local Debian bookworm VM.


  Commit: 844419c1962f2548cde63cb483d40f2a5e5e8d47
      https://github.com/grml/grml-debootstrap/commit/844419c1962f2548cde63cb483d40f2a5e5e8d47
  Author: Michael Prokop <mika at grml.org>
  Date:   2024-08-19 (Mon, 19 Aug 2024)

  Changed paths:
    M tests/serial-console-connection

  Log Message:
  -----------
  tests/serial-console-connection: update default hostname

For bookworm.


  Commit: 13e2a3931b661c41117c9ed535fe399fafcf1c6f
      https://github.com/grml/grml-debootstrap/commit/13e2a3931b661c41117c9ed535fe399fafcf1c6f
  Author: Michael Prokop <mika at grml.org>
  Date:   2024-08-19 (Mon, 19 Aug 2024)

  Changed paths:
    M .github/workflows/test-build.yml
    M tests/build-vm-and-test.sh
    M tests/serial-console-connection
    M tests/test-vm.sh

  Log Message:
  -----------
  tests: Try to capture screenshot via VNC if serial-console-connection fails

While debugging the failing GitHub Actions (see #278), we noticed that
it might serve useful to have a screenshot of the booted system
available. We can capture such a screenshot via vncsnapshot.

NOTE: we move the files inside `results` only if the directory as such
exists in $PWD, otherwise we'd fail the build when being executed as
`tests/build-vm-and-test.sh test` from inside the grml-debootstrap.git.
This happens when manually reproducing the GH tests, though then
`build-vm-and-test.sh` is supposed to be executed from the parent
directory of the `tests` directory (being the grml-debootstrap.git
checkout).


  Commit: e43e6ccd284aaf7773d0ea60e8d0473630950b02
      https://github.com/grml/grml-debootstrap/commit/e43e6ccd284aaf7773d0ea60e8d0473630950b02
  Author: Chris Hofstaedtler <zeha at users.noreply.github.com>
  Date:   2024-08-19 (Mon, 19 Aug 2024)

  Changed paths:
    M .github/workflows/test-build.yml
    A tests/README.md
    M tests/build-vm-and-test.sh
    M tests/serial-console-connection
    M tests/test-vm.sh

  Log Message:
  -----------
  Merge pull request #284 from grml/mika/ci

tests: capture screenshot on failure


Compare: https://github.com/grml/grml-debootstrap/compare/4dfb0d3e1019...e43e6ccd284a

To unsubscribe from these emails, change your notification settings at https://github.com/grml/grml-debootstrap/settings/notifications


More information about the Git-commits mailing list