summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
Commit message (Collapse)AuthorAgeFilesLines
* gitlab-ci: Run the new python3 autobuild tasksAndrew Bartlett2018-08-291-0/+17
| | | | | | | | 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-16/+16
| | | | | | | 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-18/+19
| | | | | 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-0/+6
| | | | | | | | 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-37/+13
| | | | | | | 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-45/+0
| | | | | | | | | | 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>
* gitlab-ci: Split up build_samba_others and build_ctdb tasksAndrew Bartlett2018-03-271-1/+43
| | | | | | | | These make too much output and the shared runners on GitLab CI object to sending more than 4MB of output. Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
* gitlab: Run fileserver tests on "private" not "shared"Andrew Bartlett2018-03-271-1/+1
| | | | | | | This might make the delaywrite tests pass Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
* autobuild: Split up the build further with samba-ad-dc-2Andrew Bartlett2018-03-271-0/+9
| | | | | Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
* gitlab-ci: Set shared and private tags to allow builds that need ext4 to passAndrew Bartlett2018-03-271-4/+12
| | | | | Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
* autobuild: Remove fileserver tests from the main buildAndrew Bartlett2018-03-271-0/+8
| | | | | | | | Again, this is to allow these to run in the 50min timelimit of travis-ci and so gain test coverage. Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
* autobuild: Run all "ad_dc" environment tests in samba-ad-dcAndrew Bartlett2018-03-271-0/+8
| | | | | | | | | This allows us not to run ad_dc tests in the main build, making the autobuild process faster. The ad_dc tests run in less than 50mins on travis-ci, which allows this part of the tests to be run. Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
* gitlab-ci: Add samba-nt4 environment to the CIAndrew Bartlett2018-03-271-0/+8
| | | | | | | This parallel build is de-coupled from the main samba build Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
* gitlab-ci: add git variable to speed up cloneJoe Guo2018-03-271-0/+4
| | | | | | | | | Set GIT_STATEGY to fetch, and GIT_DEPTH to 3. This will speed up cloning for repos. Signed-off-by: Joe Guo <joeg@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
* gitlab-ci: set docker image and change tagJoe Guo2018-03-271-4/+6
| | | | | | | | | | | 1. Specify docker image to use in gitlab-ci.yml 2. Change tag autobuild to docker So we can use gitlab.com shared runners. Signed-off-by: Joe Guo <joeg@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
* gitlab-ci: Create swap space to work around the 2G imageAndrew Bartlett2018-03-271-1/+6
| | | | | Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
* autobuild: Move "none" environment to samba-none-envAndrew Bartlett2018-03-231-0/+8
| | | | | | | | | | | | This takes this part of the test out of the main, slow samba task but also keeps it away from samba-o3 which is up against the 50min budget on travis-ci. Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz> Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Fri Mar 23 12:00:40 CET 2018 on sn-devel-144
* gitlab-ci: add .gitlab-ci.ymlJoe Guo2017-10-311-0/+47
Add .gitlab-ci.yml file, and define build jobs in groups. Once gitlab-runner set up, builds and tests can be triggered automatically in parallel when push to gitlab. Also, with gitlab-runner autoscale mode, build instances will be created and removed on demand. Signed-off-by: Joe Guo <joeg@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Ralph Boehme <slow@samba.org> Autobuild-User(master): Ralph Böhme <slow@samba.org> Autobuild-Date(master): Tue Oct 31 15:32:16 CET 2017 on sn-devel-144