summaryrefslogtreecommitdiff
path: root/.gitlab-ci-private.yml
Commit message (Collapse)AuthorAgeFilesLines
* .gitlab-ci.yml: merge .gitlab-ci-private.ymlJoe Guo2019-02-181-29/+1
| | | | | | | | | | | | | | | | | | | | | | | | | `.gitlab-ci.yml` support conditional jobs with `only` and `except`. And variables can be read from repo CI/CD settings as condition: build_samba: script: ... only: variables: - $SUPPORT_PRIVATE_TEST == 'yes' Instead of having 2 copies of yml file, we can use this feature to trigger private jobs only when a var like `SUPPORT_PRIVATE_TEST` is defined. I've already added above var to our repos. Once merged, we can remove custom CI config file in gitlab repo settings, and remove .gitlab-ci-private.yml file from code. Signed-off-by: Joe Guo <joeg@catalyst.net.nz> Reviewed-by: Tim Beale <timbeale@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Mon Feb 18 10:54:19 CET 2019 on sn-devel-144
* autobuild: Drop py2 autobuild jobsTim Beale2019-02-151-8/+0
| | | | | | | | | | | | | | | | Samba v4.11 will no longer support python2, so let's drop the autobuild jobs. This will save some gitlab/sn-devel time and money, as it's less work for CI to do. Note that this highlights some previous inconsistencies: - samba-none-env-py2 was being built for gitlab but not sn-devel. - samba-nt4-py2 was being built for sn-devel but not gitlab I've left samba-buildpy2-only for now, which will be addressed in a subsequent patch. Signed-off-by: Tim Beale <timbeale@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* .gitlab-ci.yml: Re-indent comments on test timesAndrew Bartlett2019-02-141-5/+5
| | | | | | | (some of these need to be updated, but for now improve the formatting) Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Tim Beale <timbeale@catalyst.net.nz>
* .gitlab-ci.yml: Use .extends to avoid duplication of autobuild commandAndrew Bartlett2019-02-141-18/+5
| | | | | | | | | | This should make our .gitlab-ci.yml file much less overwealming. The downside is that $CI_JOB_NAME is printed rather than the job name in the log, but the upside is that the names must now strictly match. Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Tim Beale <timbeale@catalyst.net.nz>
* .gitlab-ci*.yml: use 'extends: ' instead of YAML AnchorsStefan Metzmacher2019-02-141-8/+14
| | | | | | Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Tim Beale <timbeale@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* .gitlab-ci*.yml: remove build_ prefixesStefan Metzmacher2019-02-141-6/+6
| | | | | | | | It's useless to see 'builf_samba_ad...' 7 times in the gitlab pipeline summary. Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Tim Beale <timbeale@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* CI: move target "build_nt4" to private gitlab runnersRalph Boehme2019-01-241-0/+4
| | | | | | | | | | | | | Fixes the mistake of 574fdfae59c6d7c97be48ca52ac9aefac82feccd that added "build_nt4" to the public runners. BUG: https://bugzilla.samba.org/show_bug.cgi?id=13761 Signed-off-by: Ralph Boehme <slow@samba.org> Reviewed-by: Tim Beale <timbeale@catalyst.net.nz> Autobuild-User(master): Tim Beale <timbeale@samba.org> Autobuild-Date(master): Thu Jan 24 02:45:09 CET 2019 on sn-devel-144
* CI: Adjust CI tasks for new python3 autobuild.py defaultNoel Power2018-12-101-3/+3
| | | | | | | | | | | Now that autobuild has defaulted to python3 (via shebang) we no longer need to explicity call autobuild.py with 'python3' Signed-off-by: Noel Power <noel.power@suse.com> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Autobuild-User(master): Noel Power <npower@samba.org> Autobuild-Date(master): Mon Dec 10 14:32:24 CET 2018 on sn-devel-144
* CI: Add new py2 CI jobs to replace old py3 onesNoel Power2018-12-101-0/+13
| | | | | Signed-off-by: Noel Power <noel.power@suse.com> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* CI: Run autobuild jobs with python3Noel Power2018-12-101-3/+3
| | | | | Signed-off-by: Noel Power <noel.power@suse.com> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* CI: Remove the remainder py3 jobsNoel Power2018-12-101-6/+0
| | | | | Signed-off-by: Noel Power <noel.power@suse.com> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* CI: Remove purepy3 temporary jobsNoel Power2018-12-101-30/+0
| | | | | Signed-off-by: Noel Power <noel.power@suse.com> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* CI: Add new CI jobs for samba-purepy3 & samba-purepy3-nt4Noel Power2018-12-101-0/+12
| | | | | Signed-off-by: Noel Power <noel.power@suse.com> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* CI: Remove build_samba_ad_dc_py3 CI jobNoel Power2018-12-101-6/+0
| | | | | | | | | We now run a purepython3 ad-dc test job, later when the whole build is running under python3 we will resurrect build_samba_ad_dc_py3 but as (build_samba_ad_dc_py2) for python2 Signed-off-by: Noel Power <noel.power@suse.com> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* CI: Add new CI job for new build_samba_purepy3-ad-dc jobNoel Power2018-12-101-0/+6
| | | | | Signed-off-by: Noel Power <noel.power@suse.com> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* gitlab-ci: Run the new python3 autobuild tasksAndrew Bartlett2018-08-291-0/+18
| | | | | | | | These additional tasks should be less complex than the full build and help get us to a pure python3 build eventually Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
* gitlab-ci: Do not hide a possible out-of-space condition by cleaning up the treeAndrew Bartlett2018-05-231-4/+4
| | | | | | | These are VMs anyway and will soon vanish, so a cleanup is totally wasted in any case. Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org>
* gitlab-ci: Include system-info.txt to give info on possible failuresAndrew Bartlett2018-05-231-4/+4
| | | | | Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org>
* gitlab-ci: Run samba-ad-dc-2 in the shared environmentAndrew Bartlett2018-05-031-5/+0
| | | | | | | | This will allow more AD DC tests to run for those without access to a private gitlab runner. Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
* gitlab-ci: Use YAML templates to reduce duplicationAndrew Bartlett2018-05-031-17/+8
| | | | | | | Inspired by WIP patches by Jamie McClymont Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
* gitlab-ci: split up gitlab-ci fileAndrew Bartlett2018-05-031-0/+48
The "private" build environments are not available to most users so remove this from the default build. Only developers with access to private runners (rather than a shared runner) will have a runner tagged as "private". Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>