summaryrefslogtreecommitdiffstats
path: root/support
diff options
context:
space:
mode:
authorRicardo Martincoski <ricardo.martincoski@gmail.com>2019-01-20 23:11:11 -0200
committerArnout Vandecappelle (Essensium/Mind) <arnout@mind.be>2019-02-06 11:40:28 +0100
commite2d1c38074a8e74a8279d9114e248040e5214c90 (patch)
treef486aac6e19595cee33b78a43f80b2f3ebbd5c0b /support
parent9b7b7cbac6e8e479bde519235902d90234ea5a46 (diff)
downloadbuildroot-e2d1c38074a8e74a8279d9114e248040e5214c90.tar.gz
buildroot-e2d1c38074a8e74a8279d9114e248040e5214c90.zip
.gitlab-ci.yml: use "extends" keyword
Replace all YAML anchors with the new "extends" keyword because it is more readable and more flexible (it works across configuration files combined with the new "include" keyword). Readability is more meaningful in .gitlab-ci.yml.in. In the part of .gitlab-ci.yml that is auto-generated by 'make .gitlab-ci.yml' keep the keyword in the same line of the job name. So instead of this: zynqmp_zcu106_defconfig: extends: .defconfig tests.boot.test_atf.TestATFAllwinner: extends: .runtime_test Use this: zynqmp_zcu106_defconfig: { extends: .defconfig } tests.boot.test_atf.TestATFAllwinner: { extends: .runtime_test } Do this to to keep .gitlab-ci.yml easier to be post-processed by a script. Signed-off-by: Ricardo Martincoski <ricardo.martincoski@gmail.com> Cc: Arnout Vandecappelle <arnout@mind.be> Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Diffstat (limited to 'support')
-rwxr-xr-xsupport/scripts/generate-gitlab-ci-yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/support/scripts/generate-gitlab-ci-yml b/support/scripts/generate-gitlab-ci-yml
index 431911d370..262a7649b2 100755
--- a/support/scripts/generate-gitlab-ci-yml
+++ b/support/scripts/generate-gitlab-ci-yml
@@ -10,8 +10,8 @@ cat "${input}"
cd configs
LC_ALL=C ls -1 *_defconfig
) \
- | sed 's/$/: *defconfig/'
+ | sed 's/$/: { extends: .defconfig }/'
./support/testing/run-tests -l 2>&1 \
- | sed -r -e '/^test_run \((.*)\).*/!d; s//\1: *runtime_test/' \
+ | sed -r -e '/^test_run \((.*)\).*/!d; s//\1: { extends: .runtime_test }/' \
| LC_ALL=C sort
OpenPOWER on IntegriCloud