]> 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:28 +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 50ffb215ae2d0e29195c44b4ee3fed2a9c13b22c..6eac1bb79f8c0a39c99567c3801049c46fe67f30 100644 (file)
@@ -793,6 +793,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"