.gitlab-ci.yml: use "extends" keyword
authorRicardo Martincoski <ricardo.martincoski@gmail.com>
Mon, 21 Jan 2019 01:11:11 +0000 (23:11 -0200)
committerArnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Wed, 6 Feb 2019 10:40:28 +0000 (11:40 +0100)
commite2d1c38074a8e74a8279d9114e248040e5214c90
treef486aac6e19595cee33b78a43f80b2f3ebbd5c0b
parent9b7b7cbac6e8e479bde519235902d90234ea5a46
.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>
.gitlab-ci.yml
.gitlab-ci.yml.in
support/scripts/generate-gitlab-ci-yml