]> git.ipfire.org Git - thirdparty/bind9.git/commit
ci: move baseline version detection into separate job
authorTom Krizek <tkrizek@isc.org>
Wed, 27 Sep 2023 13:26:10 +0000 (15:26 +0200)
committerTom Krizek <tkrizek@isc.org>
Wed, 1 Nov 2023 13:39:29 +0000 (14:39 +0100)
commit4ad89d8e34e5ddd9ce218e8bcdb43a73fbcc4f0d
treed2e98c62cbc21cd976f7782d67f1dc8f44fabff1
parent51f3b118ddc13a7f881cfbe665966835f9b7f963
ci: move baseline version detection into separate job

Multiple CI jobs may utilize a baseline version, i.e. the version that
the current code should be tested against when doing comparative
testing. To avoid repeating the non-trivial detection of the baseline
version, move it into a separate job which creates an environment file
that subsequent jobs may require via `needs` option. It is then possible
to use the variable(s) defined in the script section of the new job.

(cherry picked from commit ef4e2d296458367aa1628dee238bb534087792e4)
.gitlab-ci.yml