]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Tweak dependencies for the Windows build job
authorMichał Kępień <michal@isc.org>
Tue, 15 Oct 2019 18:49:08 +0000 (20:49 +0200)
committerMichał Kępień <michal@isc.org>
Tue, 15 Oct 2019 18:49:39 +0000 (20:49 +0200)
Since the Windows build job does not use the files created as a result
of running "autoreconf -fi" in the "autoreconf:sid:amd64" job, set its
dependencies to an empty list.

Since it is currently not possible to use "needs: []" for jobs which do
not belong to the first stage of a pipeline, set the "needs" key for the
Windows build job to the "autoreconf:sid:amd64" job so that all build
jobs are started at the same time (without this change, the Windows
build job does not start until all jobs in the "precheck" stage are
finished).

As a side note, these changes also attempt to eliminate intermittent,
bogus GitLab error messages ("There has been a missing dependency
failure").

(cherry picked from commit dd97dfdc1447833d70da82493400c5b8a87f73f6)

.gitlab-ci.yml

index dbcb51fdc9b2bb123765491ec804d075b68e4c62..93c16a99c4b02b4bfaa9d1ae5cbddb79517ebbbe 100644 (file)
@@ -812,6 +812,9 @@ msvc:windows:amd64:
          x64'
     - 'Set-Item -path "Env:CL" -value "/MP$([Math]::Truncate($BUILD_PARALLEL_JOBS/2))"'
     - '& msbuild.exe /maxCpuCount:2 /t:Build /p:Configuration=$VSCONF bind9.sln'
+  dependencies: []
+  needs:
+    - autoreconf:sid:amd64
   artifacts:
     untracked: true
     expire_in: "1 week"