From: Glenn Washburn <development@efficientek.com>
To: grub-devel@gnu.org
Cc: Daniel Kiper <dkiper@net-space.pl>,
Glenn Washburn <development@efficientek.com>
Subject: [CI 00/17] Gitlab CI and test framework improvements
Date: Thu, 18 Feb 2021 20:59:19 -0600 [thread overview]
Message-ID: <cover.1613698435.git.development@efficientek.com> (raw)
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
next reply other threads:[~2021-02-19 3:00 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-02-19 2:59 Glenn Washburn [this message]
2021-02-19 2:59 ` [CI 01/17] tests: Make sure LANG is set properly for iso9660_test Glenn Washburn
2021-02-19 2:59 ` [CI 02/17] tests: Fix partmap_test for arm*-efi, disk numbering has changed Glenn Washburn
2021-02-19 2:59 ` [CI 03/17] tests: When checking squashfs fstime, use superblock last modified time Glenn Washburn
2021-02-19 2:59 ` [CI 04/17] tests: Fail immediately when grub-shell fails and do not occlude the error code Glenn Washburn
2021-02-19 2:59 ` [CI 05/17] grub-shell: Allow specifying non-default trim line contents Glenn Washburn
2021-02-19 2:59 ` [CI 06/17] grub-shell: Trim line should always be matched from the beginning of the line Glenn Washburn
2021-02-19 2:59 ` [CI 07/17] grub-shell: Only show grub-mkrescue output if it returns an error Glenn Washburn
2021-02-19 2:59 ` [CI 08/17] grub-shell: Allow setting default timeout via GRUB_SHELL_DEFAULT_TIMEOUT envvar Glenn Washburn
2021-02-19 2:59 ` [CI 09/17] grub-shell: Put all generated files into working dir and use better file names Glenn Washburn
2021-02-19 2:59 ` [CI 10/17] grub-shell: Add grub output logfile with grub-shell --debug Glenn Washburn
2021-02-19 2:59 ` [CI 11/17] grub-shell: Set exit status to qemu exit status Glenn Washburn
2021-02-19 2:59 ` [CI 12/17] tests: Allow turning on shell tracing from environment variables Glenn Washburn
2021-02-19 2:59 ` [CI 13/17] grub-shell: Add --verbose to mkrescue when $debug is greater than 2 Glenn Washburn
2021-02-19 2:59 ` [CI 14/17] grub-shell: Use malta qemu-mips machine type instead off non-existant indy Glenn Washburn
2021-02-19 2:59 ` [CI 15/17] grub-shell: Update qemu UEFI firmware names to be more generic Glenn Washburn
2021-02-19 2:59 ` [CI 16/17] ci: Add .gitlab-ci.yml for continuous integration with Gitlab CI Glenn Washburn
2021-02-19 2:59 ` [CI 17/17] keep: remove a lot of cruft that we probably want to reuse at some point Glenn Washburn
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cover.1613698435.git.development@efficientek.com \
--to=development@efficientek.com \
--cc=dkiper@net-space.pl \
--cc=grub-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.