]> 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:08 +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").

.gitlab-ci.yml

index 28ec20449ebbeb42fe59a88becb0793b4255d06b..595f9f0378c84ab5e08c478ae8e3eb43d844d265 100644 (file)
@@ -838,6 +838,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"