]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Fix source tarball creation job in GitLab CI
authorMichał Kępień <michal@isc.org>
Tue, 9 Jun 2020 12:47:06 +0000 (14:47 +0200)
committerMichał Kępień <michal@isc.org>
Tue, 9 Jun 2020 12:47:06 +0000 (14:47 +0200)
For the time being, "make all" needs to be run before "make dist" can
succeed as parts of the documentation are generated by programs compiled
during the regular build process.

As only one source tarball is published for each BIND release, make sure
the tarball creation job in GitLab CI only contains one tarball in the
desired format among its artifacts.

Drop the TARBALL_COMPRESSOR .gitlab-ci.yml variable as it is no longer
used in the source tarball creation process.

.gitlab-ci.yml

index 25d5adb5ee8a5b3c4e4cc257496aa7246947d650..ab1f4d3b45a845daf64f4c16541c93929c53c7b1 100644 (file)
@@ -28,7 +28,6 @@ variables:
   ASAN_OPTIONS_COMMON: abort_on_error=1:disable_coredump=0:unmap_shadow_on_exit=1
   TSAN_OPTIONS_COMMON: "second_deadlock_stack=1 history_size=7 log_exe_name=true log_path=tsan external_symbolizer_path=$SYMBOLIZER"
 
-  TARBALL_COMPRESSOR: xz
   TARBALL_EXTENSION: xz
 
   AM_COLOR_TESTS: always
@@ -464,10 +463,11 @@ tarball-create:
   <<: *base_image
   script:
     - *configure
+    - make -j${BUILD_PARALLEL_JOBS:-1} all V=1
     - make -j${BUILD_PARALLEL_JOBS:-1} dist V=1
   artifacts:
     paths:
-      - bind-*.tar.*
+      - bind-*.tar.${TARBALL_EXTENSION}
   needs:
     - job: autoreconf
       artifacts: true