grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[CI 00/17] Gitlab CI and test framework improvements


From: Glenn Washburn
Subject: [CI 00/17] Gitlab CI and test framework improvements
Date: Thu, 18 Feb 2021 20:59:19 -0600

This patch series is divided into roughly three sections: modifications of
tests, improvements to grub-shell, and the CI patch itself. I have other
improvements to testing coming, but I consider these more essential to the
quality of the CI tests, or highly desirable. Aside from modification of
qemu firmware paths to make them more generic, the changes should not be
visible to current testers.

The CI change is the addition of a .gitlab-ci.yml file which is the GitLab
specific CI config file and a .ci directory with scripts used by the CI
config. The scripts in the .ci dir are meant to be generic and thus usable
by other CI platforms. There is probably more that can be pulled out of
the .gitlab-ci.yml file for use in common with other CI configs, but I
decided those can be pulled out as needed.

The successful CI run can be viewed here:
  https://gitlab.com/gnu-grub/grub/-/pipelines/258485608

Glenn

Glenn Washburn (17):
  tests: Make sure LANG is set properly for iso9660_test
  tests: Fix partmap_test for arm*-efi, disk numbering has changed
  tests: When checking squashfs fstime, use superblock last modified
    time
  tests: Fail immediately when grub-shell fails and do not occlude the
    error code
  grub-shell: Allow specifying non-default trim line contents
  grub-shell: Trim line should always be matched from the beginning of
    the line
  grub-shell: Only show grub-mkrescue output if it returns an error
  grub-shell: Allow setting default timeout via
    GRUB_SHELL_DEFAULT_TIMEOUT envvar
  grub-shell: Put all generated files into working dir and use better
    file names
  grub-shell: Add grub output logfile with grub-shell --debug
  grub-shell: Set exit status to qemu exit status
  tests: Allow turning on shell tracing from environment variables
  grub-shell: Add --verbose to mkrescue when $debug is greater than 2
  grub-shell: Use malta qemu-mips machine type instead off non-existant
    indy
  grub-shell: Update qemu UEFI firmware names to be more generic
  ci: Add .gitlab-ci.yml for continuous integration with Gitlab CI
  keep: remove a lot of cruft that we probably want to reuse at some
    point

 .ci/build.sh                   |  56 +++
 .ci/functions.gitlab.sh        |  30 ++
 .ci/functions.sh               |  30 ++
 .ci/make-images.sh             |  71 ++++
 .ci/process-tests.sh           |  97 +++++
 .ci/test.sh                    |  98 +++++
 .gitlab-ci.yml                 | 632 +++++++++++++++++++++++++++++++++
 tests/ahci_test.in             |   6 +-
 tests/cdboot_test.in           |   3 +-
 tests/core_compress_test.in    |   6 +-
 tests/ehci_test.in             |   6 +-
 tests/fddboot_test.in          |   3 +-
 tests/grub_cmd_date.in         |   3 +-
 tests/grub_cmd_test.in         |   1 +
 tests/grub_script_blockarg.in  |   2 +-
 tests/grub_script_expansion.in |   3 +-
 tests/gzcompress_test.in       |   3 +-
 tests/hddboot_test.in          |   3 +-
 tests/iso9660_test.in          |   6 +
 tests/lzocompress_test.in      |   3 +-
 tests/netboot_test.in          |   3 +-
 tests/ohci_test.in             |   6 +-
 tests/partmap_test.in          |   6 +-
 tests/pata_test.in             |   3 +-
 tests/test_sha512sum.in        |   1 +
 tests/uhci_test.in             |   6 +-
 tests/util/grub-fs-tester.in   |   8 +
 tests/util/grub-shell.in       |  87 +++--
 tests/xzcompress_test.in       |   3 +-
 29 files changed, 1138 insertions(+), 47 deletions(-)
 create mode 100755 .ci/build.sh
 create mode 100644 .ci/functions.gitlab.sh
 create mode 100644 .ci/functions.sh
 create mode 100755 .ci/make-images.sh
 create mode 100755 .ci/process-tests.sh
 create mode 100755 .ci/test.sh
 create mode 100644 .gitlab-ci.yml

-- 
2.27.0




reply via email to

[Prev in Thread] Current Thread [Next in Thread]