summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
Commit message (Collapse)AuthorAgeFilesLines
* .gitlab-ci.yml: move the content to .gitlab-ci-main.ymlStefan Metzmacher2021-04-131-512/+1
| | | | | | | | | | | We introduce an indirection from gitlab-ci.yml via .gitlab-ci-default.yml to .gitlab-ci-main.yml We do that in order to introduce a .gitlab-ci-coverage.yml later as that will have to use different settings in future. Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org>
* .gitlab-ci.yml: move samba-ad-back{1,2} and samba-schemaupgrade to shared ↵Stefan Metzmacher2021-04-131-9/+9
| | | | | | | | | runners This seems to work quite reliable now. Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org>
* script/autobuild.py: split samba-ad-dc-backup into samba-ad-back{1,2}Stefan Metzmacher2021-04-131-2/+6
| | | | | | | | This will make it possible to run them in parallel (hopefully on shared gitlab runners). Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org>
* .gitlab-ci.yml: let private runners also make use of pre-buildsStefan Metzmacher2021-04-131-12/+71
| | | | | Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org>
* .gitlab-ci.yml: be more resilient to intrastructure failuresStefan Metzmacher2021-04-131-0/+14
| | | | | Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org>
* .gitlab-ci.yml: specify explicit job timeoutsStefan Metzmacher2021-04-131-0/+2
| | | | | Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org>
* .gitlab-ci.yml: split out samba-{def,mit}-build into the build_first stageStefan Metzmacher2021-04-131-10/+75
| | | | | | | | It's enough to have 2 jobs in build_first, so we can move 'samba-fips' out of it again. Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org>
* .gitlab-ci.yml: print out information of the available cpusStefan Metzmacher2021-04-131-0/+2
| | | | | Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org>
* CI: add samba-no-opathRalph Boehme2020-12-161-0/+3
| | | | | | | Add a job that builds with O_PATH undefined. Signed-off-by: Ralph Boehme <slow@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
* bootstrap: Cope with case changes in CentOS 8 repo namesMartin Schwenke2020-12-151-1/+1
| | | | | | | RN: Be more flexible with repository names in CentOS 8 test environments BUG: https://bugzilla.samba.org/show_bug.cgi?id=14594 Signed-off-by: Martin Schwenke <martin@meltin.net> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* Test password removal via python proctitleDavid Mulder2020-11-261-1/+1
| | | | | Signed-off-by: David Mulder <dmulder@suse.com> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* bootstrap: Add OpenSUSE 15.2Samuel Cabrero2020-11-171-6/+6
| | | | | | | Signed-off-by: Samuel Cabrero <scabrero@samba.org> Autobuild-User(master): Samuel Cabrero <scabrero@samba.org> Autobuild-Date(master): Tue Nov 17 18:50:05 UTC 2020 on sn-devel-184
* bootstrap: Add Fedora 33Andreas Schneider2020-11-051-8/+8
| | | | | | | | | | | This removes Fedora 31 support. Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Alexander Bokovoy <ab@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Thu Nov 5 00:17:55 UTC 2020 on sn-devel-184
* .gitlab-ci.yml: Ensure we compile before we start the main parallel testingAndrew Bartlett2020-10-231-0/+13
| | | | | | | | 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>
* .gitlab-ci.yml: Run the coverity submission job in parallel with the buildsAndrew Bartlett2020-10-231-2/+1
| | | | | | | | This avoids a flapping test elsewhere delying the submission of the code to coverity for checking. Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
* .gitlab-ci.yml: Remove echo of (incorrect due previous commit) commandAndrew Bartlett2020-10-011-1/+0
| | | | | | | | The command is now echoed by the gitlab interface now anyway, so avoid having to keep these in sync. Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
* autobuild: Remove the os.getpid() from the autobuild directoryAndrew Bartlett2020-10-011-9/+9
| | | | | | | | | | This might help our CI runners get a ccache hit by keeping the path constant. Otherwise, we only get a good ccache hit rate if the docker container gives us the same pid each time. Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
* .gitlab-ci.yml: Set interuptable: trueAndrew Bartlett2020-10-011-0/+4
| | | | | | | | This should reduce some CI costs, avoiding spending CPU time on jobs that are already out of date because a new branch has been pushed. Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
* build: Remove Python2 support from the buildAndrew Bartlett2020-10-011-4/+0
| | | | | | | BUG: https://bugzilla.samba.org/show_bug.cgi?id=14488 Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
* autobuild.py: Combine samba-static and samba-nopythonAndrew Bartlett2020-10-011-6/+2
| | | | | | | | | We expect these will complete in under an hour and reduce the number of parallel jobs. Hopefully there will be some ccache hits between these as well. Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
* bootstrap: Fix the spelling of README.md (again) and get a new GnuTLSAndrew Bartlett2020-09-111-1/+1
| | | | | | | | | | | | | | | | | | | | We re-run ./bootstrap/template.py --render to get a new GnuTLS on Fedora 32 This was missed with 7dc535995bbdb42b1b053c22acff5978cb5da516 and so caused e0e51632cf77be439ebcbcba025a42e8558fa824 to break the sha1sum and so require 7077be01a3cc860ce1fcfafd9e5028829f0c1887 to fix it. The sha1sum changes because we fixed the bug about the spelling of README.md, which is helpful because otherwise we would not get a new image. This provides a GnuTLS 3.6.15 so that we still test using GnuTLS's gnutls_aead_cipher_encryptv2() for the SMB encryption codepath. BUG: https://bugzilla.samba.org/show_bug.cgi?id=14399 Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org>
* gitlab-ci: Fix the sha1sumAndreas Schneider2020-09-071-1/+1
| | | | | | | | | | The images where build with an invalid sha1sum. Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Mon Sep 7 23:57:48 UTC 2020 on sn-devel-184
* bootstrap: install perl-JSON on on rpm distributionsStefan Metzmacher2020-09-071-1/+1
| | | | | | | This will be needed for the next heimdal import. Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* bootstrap: Fix python dependenciesAndrew Bartlett2020-08-201-1/+1
| | | | | | | | Python2 dependencies are removed and the RPM name of python-iso8601 is added to allow removal from third_party. Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: David Mulder <dmulder@suse.com>
* gitlab-ci: Use Fedora 32 to test FIPS modeAndreas Schneider2020-06-221-1/+1
| | | | Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Alexander Bokovoy <ab@samba.org>
* bootstrap: Add back quota-devel on CentOS8Andreas Schneider2020-06-221-1/+1
| | | | | | https://bugs.centos.org/view.php?id=16549 Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Alexander Bokovoy <ab@samba.org>
* Add docs build to CIAndrew Bartlett2020-06-101-0/+1
| | | | | | | | | | | We did not check we could actually build the HTML of the Samba Developers guide and HTML of the manpages previously. Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: David Disseldorp <ddiss@samba.org> Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Wed Jun 10 07:11:59 UTC 2020 on sn-devel-184
* gitlab-ci: Create a single samba-fips runnerAndreas Schneider2020-05-241-6/+2
| | | | | Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* gitlab-ci: Add new runner for samba-admem-fipsAndreas Schneider2020-05-181-0/+4
| | | | | | | | Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Alexander Bokovoy <ab@samba.org> Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org> Autobuild-Date(master): Mon May 18 16:06:06 UTC 2020 on sn-devel-184
* gitlab-ci: Add runner for fips compliance testingAndreas Schneider2020-04-081-0/+5
| | | | | | | | Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Guenther Deschner <gd@samba.org> Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org> Autobuild-Date(master): Wed Apr 8 14:45:18 UTC 2020 on sn-devel-184
* gitlab-ci: Add coverity scan runnerAndreas Schneider2020-04-061-0/+35
| | | | | Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Ralph Boehme <slow@samba.org>
* .gitlab-ci.yml: actually run ubuntu2004-samba-o3Stefan Metzmacher2020-04-021-1/+1
| | | | | Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* gitlab-ci: Use a shared ccache for the runnersAndreas Schneider2020-04-011-0/+11
| | | | | | | | | | https://docs.gitlab.com/ee/ci/caching/ Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org> Autobuild-Date(master): Wed Apr 1 07:25:33 UTC 2020 on sn-devel-184
* gitlab-ci: Add ccache and wgetAndreas Schneider2020-04-011-1/+1
| | | | Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* bootstrap: add python3-pyasn1/python3-cryptography for kerberos testingStefan Metzmacher2020-03-271-1/+1
| | | | | Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Isaac Boukris <iboukris@samba.org>
* bootstrap: add ubuntu2004 Ubuntu Focal Fossa (development branch)Stefan Metzmacher2020-03-271-2/+7
| | | | | Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Isaac Boukris <iboukris@samba.org>
* autobuild: Merge samba-simpleserver into samba-nt4Andrew Bartlett2020-03-231-4/+0
| | | | | | | | | | | | | This saves CI resources (20mins build time) at the expense of making the samba-nt4 job take 45min (5 min longer). The new maximum job time is 1:15 by samba-o3 on the different hosts. Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org> Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org> Autobuild-Date(master): Mon Mar 23 14:45:59 UTC 2020 on sn-devel-184
* autobuild: Merge the samba-ktest-heimdal and samba-fileserver jobsAndrew Bartlett2020-03-231-4/+0
| | | | | | | This avoids a full compile of Samba just to test Kerberos with a system Heimdal while still providing an environment to test other fileserver features. Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org>
* .gitlab-ci.yml: Move the short samba-xc job into "others"Andrew Bartlett2020-03-231-10/+7
| | | | | | | | This job is over in 8mins total and much of that is spent setting up. It can safely be combined with the others in "others" Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org>
* gitlab-ci: Add Fedora 32 (Beta)Andreas Schneider2020-03-201-1/+6
| | | | | | | | Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org> Autobuild-Date(master): Fri Mar 20 15:19:50 UTC 2020 on sn-devel-184
* gitlab-ci: Remove Fedora 30Andreas Schneider2020-03-201-6/+1
| | | | | | | It is pretty similar to Fedora 31, so remove it safe some CI resources. We will add Fedora 32 next. Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* gitlab-ci: Remove Fedora 29 which is already EOLAndreas Schneider2020-03-201-6/+1
| | | | Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* bootstrap: Bring back a Ubuntu 16.04 build but just for the samba-fuzz taskAndrew Bartlett2020-03-191-1/+2
| | | | | | | | | | | This is needed to restore oss-fuzz support, as this uses the Ubuntu 16.04 package list because all the docker images provided start with a Ubuntu 16.04 base. REF: https://github.com/google/oss-fuzz/issues/3505 REF: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=21189 Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
* autobuild: Run the none env in the samba-o3 buildAndreas Schneider2020-03-091-4/+0
| | | | | | | | | | | This includes tests which should make sure that certain code is not optimized away, like memset_s(). Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Mon Mar 9 23:42:26 UTC 2020 on sn-devel-184
* .gitlab-ci.yml: Do not build Samba for Ubuntu 16.04 or Debian 9 any longerAndrew Bartlett2020-03-091-9/+1
| | | | | | | These only have Python 3.5 and we want to increase the minimum to Python 3.6. Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org>
* bootstrap: Remove long-unsupported OS versionsAndrew Bartlett2020-03-091-1/+1
| | | | | | | | | | | Samba has not built on these versions for quite some time due to the need for Python 3.5 and GnuTLS 3.4.7 These were always marked as broken, but given the requirements these are never likely to come back. Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org>
* bootstrap: replace libaio-dev/libaio-devel with liburing-dev/liburing-develStefan Metzmacher2020-02-151-1/+1
| | | | | | | We'll never use libaio, but will soon add a io_uring vfs module. Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
* bootstrap: Remove un-used dependency python3-cryptoAndrew Bartlett2020-02-051-1/+1
| | | | | | | | | | This became unused in bbeef554f2c15e739f6095fcb57d9ef6646b411c (except for repl_cleartext_pwd.py, a development script) and we now use GnuTLS via a Samba wrapper. BUG: https://bugzilla.samba.org/show_bug.cgi?id=14255 Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org>
* autobuild: extend autobuild with samba-fuzz job to build the fuzzers in AFL ↵Andrew Bartlett2019-12-111-0/+4
| | | | | | | | | | | | | mode using oss-fuzz scripts This helps ensure the build_samba.sh file keeps working and the fuzzers build (because they are excluded from the main build). This is not in the default autobuild because it uses too much space on sn-devel (4GB). Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Gary Lockyer <gary@samba.org>
* .gitlab-ci.yml: Align tasks with "pages" dependency to get comprehensive ↵Andrew Bartlett2019-12-111-14/+21
| | | | | | | | | | code coverage These two lists can get out of skew very easily. Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org> Reviewed-by: Gary Lockyer <gary@samba.org>