diff options
author | Andrew Bartlett <abartlet@samba.org> | 2020-09-11 18:06:51 +1200 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2020-10-23 03:25:35 +0000 |
commit | 09479bf0ee12b8187736b0d6f4dcf0303569169a (patch) | |
tree | 9b24ade35d7eebfafc5111f8976191f602c69c66 /.gitlab-ci.yml | |
parent | 48c9b699065bd4d8a02048b4492237a36e81b497 (diff) | |
download | samba-09479bf0ee12b8187736b0d6f4dcf0303569169a.tar.gz |
.gitlab-ci.yml: Ensure we compile before we start the main parallel testing
This build can be as fast as 10mins if the ccache matches and there
are few tests. Therefore put it first as a sentinal.
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r-- | .gitlab-ci.yml | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 913fc705488..8fad80033b4 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,7 +1,17 @@ # see https://docs.gitlab.com/ce/ci/yaml/README.html for all available options +# Stages explained +# +# images: Build the images with the bootstrap script +# build_first: Build one thing first to find silly errors (fast job) +# (don't pay for 35 machines until something compiles) +# build: The main parallel job +# (keep these to 1hour as we are billed per hour) +# report: Code coverage reporting + stages: - images + - build_first - build - report @@ -178,7 +188,10 @@ samba-admem-mit: samba-ad-dc-4-mitkrb5: extends: .shared_template +# This task is run first to ensure we compile before we start the +# main run as it is the fastest full compile of Samba. samba-fips: + stage: build_first extends: .shared_template image: $SAMBA_CI_CONTAINER_IMAGE_fedora32 |