summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
Commit message (Collapse)AuthorAgeFilesLines
* 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>
* bootstrap: Add chrpath as a required packageAndrew Bartlett2019-12-101-1/+1
| | | | | | | | | | | This is used to test build.sh, part of the oss-fuzz integration, and so also that we correctly build our fuzzers. 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): Tue Dec 10 09:15:43 UTC 2019 on sn-devel-184
* bootstrap: add debian10 supportStefan Metzmacher2019-12-061-1/+6
| | | | | | | | Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org> Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Fri Dec 6 00:16:45 UTC 2019 on sn-devel-184
* bootstrap: use runners with 'docker' and 'gce' tags for the image creationStefan Metzmacher2019-12-051-1/+1
| | | | | | | | | | | As we currently have the 'shared' tag on our private runners, they maybe selected for image creation, but it fails there. A lot of shared runners provide 'docker' and 'gce' and they are able to generate the images. Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org>
* gitlab-ci: Run samba-fileserver-heimdalkrb5Christof Schmitt2019-11-131-0/+3
| | | | | | | | | | BUG: https://bugzilla.samba.org/show_bug.cgi?id=14179 Signed-off-by: Christof Schmitt <cs@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Autobuild-User(master): Christof Schmitt <cs@samba.org> Autobuild-Date(master): Wed Nov 13 19:14:25 UTC 2019 on sn-devel-184
* bootstrap: Add heimdal-multidev for Debian and UbuntuChristof Schmitt2019-11-131-1/+1
| | | | | | | | | | This is required for testing the build with the configure option --with-system-heimdalkrb5. BUG: https://bugzilla.samba.org/show_bug.cgi?id=14179 Signed-off-by: Christof Schmitt <cs@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* bootstrap: Remove nettle-devel from package listChristof Schmitt2019-11-131-1/+1
| | | | | | | | | nettle is required as dependency for newer gnutls libraries. The gnutls development package already depends on the nettle development package, no need to explicitly list it. Signed-off-by: Christof Schmit <cs@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* bootstrap: Fix centos7 image creationAndreas Schneider2019-11-061-1/+1
| | | | | | | | 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): Wed Nov 6 13:35:17 UTC 2019 on sn-devel-184
* bootstrap: Add Fedora 31Andreas Schneider2019-11-061-1/+6
| | | | | Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Alexander Bokovoy <ab@samba.org>
* bootstrap: Remove Fedora 28 which is already EOLAndreas Schneider2019-11-061-1/+1
| | | | | Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Alexander Bokovoy <ab@samba.org>
* gitlab-ci: Run 'samba' tests also with MIT KerberosAndreas Schneider2019-11-041-0/+3
| | | | | | | | | | This runs the tests of the ktest environment. 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 Nov 4 14:19:17 UTC 2019 on sn-devel-184
* autobuild: rename samba-ad-member-* to samba-admem-*Ralph Boehme2019-10-221-4/+4
| | | | | | | | | | | Needed to come around MAX pathlen limit for UNIX domain socket triggered by the new samba-ad-member-mitkrb5 target added in samba-ad-member-mitkrb5. Signed-off-by: Ralph Boehme <slow@samba.org> Reviewed-by: Martin Schwenke <martin@meltin.net> Autobuild-User(master): Ralph Böhme <slow@samba.org> Autobuild-Date(master): Tue Oct 22 14:53:17 UTC 2019 on sn-devel-184
* gitlab-ci: Run several AD tests with MIT KDCAndreas Schneider2019-10-121-4/+12
| | | | | | | This will avoid introducing regressions in either client or server code. Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
* selftest: split fileserver testenv into simpleserver and fileserverRalph Boehme2019-10-091-0/+3
| | | | | | | | | The simpleserver testenv continues to be built with minimal dependencies. fileserver otoh will be built with bells and whistles including JSON which I need for using the env as target for Spotlight tests. Signed-off-by: Ralph Boehme <slow@samba.org> Reviewed-by: Noel Power <noel.power@suse.com>
* gitlab-ci: Add CentOS 8 to CIAndreas Schneider2019-10-081-1/+6
| | | | | | | | 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): Tue Oct 8 08:27:50 UTC 2019 on sn-devel-184
* bootstrap: We can only build docker images on gitlab shared runnersAndreas Schneider2019-10-081-1/+1
| | | | | | | Our rackspace runners don't provide a running docker. Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Alexander Bokovoy <ab@samba.org>
* bootstrap: Remove pyhton2 packagesAndreas Schneider2019-10-081-1/+1
| | | | | | | We dropped support for python2 in Samba already. Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Alexander Bokovoy <ab@samba.org>
* gitlab-ci: Install compat-gnutls34 on CentOS7Andreas Schneider2019-08-101-1/+3
| | | | | Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* bootstrap: Add OpenSUSE 15.1 imageSamuel Cabrero2019-07-041-1/+6
| | | | | Signed-off-by: Samuel Cabrero <scabrero@suse.de> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* .gitlab-ci.yml: Increase resources for samba-ad-dc-backup jobAndrew Bartlett2019-06-281-3/+3
| | | | | | | | | | | | This job seems to need more resources, possibly after b6b5b5fe355fee2a4096e9214831cb88c7a2a4c6 and 565341baf537c9b3145a882d6a23ad4f155c0036 Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org> Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Fri Jun 28 18:48:49 UTC 2019 on sn-devel-184
* gitlab-ci: Add Fedora 30Andreas Schneider2019-06-201-1/+6
| | | | | | | Fedora 30 ships with gcc9. Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* .gitlab-ci.yml: avoid using != to compare variables to support old versionsJoe Guo2019-05-311-1/+1
| | | | | | | | | | | | | | | | `!=` was only introduced after 11.11, according to doc at: https://docs.gitlab.com/ee/ci/variables/README.html#environment-variables-expressions For private gitlab instance, the version may not be new enough. Use `==` to make it backward compatible. Signed-off-by: Joe Guo <joeg@catalyst.net.nz> Reviewed-by: Ralph Boehme <slow@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Autobuild-User(master): Ralph Böhme <slow@samba.org> Autobuild-Date(master): Fri May 31 09:48:37 UTC 2019 on sn-devel-184
* bootstrap: add mingw packagesStefan Metzmacher2019-05-281-1/+3
| | | | | | | This makes sure we at least compile the example/winexe code Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Ralph Boehme <slow@samba.org>
* script/.gitlab-ci.yml: do not run o3 jobs if coverage enabledJoe Guo2019-05-101-0/+4
| | | | | Signed-off-by: Joe Guo <joeg@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* .gitlab-ci.yml: add pages job to generate coverage report and publish to ↵Joe Guo2019-05-101-0/+45
| | | | | | | | | | | gitlab pages - add new stage "report" - add pages job in "report" stage to collect .info files, generate html report and publish to gitlab pages. - only trigger when SAMBA_CI_AUTOBUILD_ENABLE_COVERAGE == '--enable-coverage' Signed-off-by: Joe Guo <joeg@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* .gitlab-ci.yml: add var SAMBA_CI_AUTOBUILD_ENABLE_COVERAGEJoe Guo2019-05-101-9/+13
| | | | | | | | keep this var empty by default, since gcov will slow down the build process. set to `--enable-coverage` to enable coverage on demand. Signed-off-by: Joe Guo <joeg@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* gitlab-ci: Install libtasn1-tools on Fedora based distributionsAndreas Schneider2019-05-101-1/+1
| | | | | Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* gitlab-ci: Enable building on CentOS7Andreas Schneider2019-05-071-1/+9
| | | | | | | | 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): Tue May 7 01:45:37 UTC 2019 on sn-devel-184
* .gitlab-ci.yml: add docker tag back for private jobsJoe Guo2019-05-051-0/+1
| | | | | | | | | Signed-off-by: Joe Guo <joeg@catalyst.net.nz> Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Sun May 5 23:22:54 UTC 2019 on sn-devel-184
* .gitlab-ci.yml: rm abs path in artifactsJoe Guo2019-05-051-1/+0
| | | | | | | | | | According to doc: https://docs.gitlab.com/ee/user/project/pipelines/job_artifacts.html#defining-artifacts-in-gitlab-ciyml all paths in artifacts must be relative to the cloned repo, so this line actually never worked. Signed-off-by: Joe Guo <joeg@catalyst.net.nz> Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* bootstrap: add lcov to generate code coverage reportJoe Guo2019-05-051-1/+1
| | | | | | Signed-off-by: Joe Guo <joeg@catalyst.net.nz> Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* .gitlab-ci.yml: keep samba-ci-private tag only for private jobsJoe Guo2019-05-011-2/+0
| | | | | | | | | | | This will help us give the legacy 'private' tag, used in branches under maintenance, more resources without those jobs running on the normal production runners (therefore avoiding the additional cost for the 90% of builds that are for master). Signed-off-by: Joe Guo <joeg@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
* .gitlab-ci.yml: Allow overriding the default image using a variableSamuel Cabrero2019-04-301-3/+4
| | | | | | | | | | This way one can run all tests in a different container without having to modify the gitlab ci file, just setting the SAMBA_CI_CONTAINER_IMAGE variable in the gitlab's GUI. Signed-off-by: Samuel Cabrero <scabrero@suse.de> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org>
* gitlab-ci: Update for building new containersAndreas Schneider2019-04-301-1/+1
| | | | | | | | Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org> Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org> Autobuild-Date(master): Tue Apr 30 18:48:18 UTC 2019 on sn-devel-184
* gitlab-ci: Install missing krb5-kdc package on Ubuntu/DebianAndreas Schneider2019-04-291-1/+1
| | | | | Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Ralph Boehme <slow@samba.org>
* gitlab-ci: Remove Ubuntu 14.04Andreas Schneider2019-04-251-6/+1
| | | | | | | | | | | Ubuntu 14.04 a compiler which complains about valid C99 code and also it doesn't offer GnuTLS >= 3.2 which we require to move to GnuTLS. Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Ralph Boehme <slow@samba.org> Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org> Autobuild-Date(master): Thu Apr 25 16:52:57 UTC 2019 on sn-devel-184
* gitlab-ci: Enable fedora29 and update generated distsAndreas Schneider2019-04-251-1/+6
| | | | | | | | Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Ralph Boehme <slow@samba.org> Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org> Autobuild-Date(master): Thu Apr 25 11:46:23 UTC 2019 on sn-devel-184
* bootstrap: move flex to common packagesRalph Boehme2019-04-241-1/+1
| | | | | Signed-off-by: Ralph Boehme <slow@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* .gitlab-ci.yml: use the ubuntu1804 image as defaultStefan Metzmacher2019-04-241-3/+3
| | | | | | | | | | | This matches our move from sn-devel-144 to sn-devel-184 for the final autobuild. Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org> Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Wed Apr 24 01:01:58 UTC 2019 on sn-devel-184
* .gitlab-ci.yml: run the samba-o3 job on each working container imageStefan Metzmacher2019-04-181-7/+44
| | | | | | | | Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org> Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Thu Apr 18 13:10:49 UTC 2019 on sn-devel-144
* .gitlab-ci.yml: split AUTOBUILD_JOB_NAME from CI_JOB_NAMEStefan Metzmacher2019-04-181-2/+4
| | | | | | | This will make it easier extend the templates later. Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org>
* .gitlab-ci.yml: make use of bootstrap/.gitlab-ci.yml and use the new defined ↵Joe Guo2019-04-181-5/+34
| | | | | | | | | | | | | | | | | | | image See bootstrap/README.md for the instructions to create and upload the images via a custom gitlab ci pipeline. The key is that it's always possible to regenerate the image if it's not present in the container registry, where we are free to delete old images. But it should be possible to rebuild images if someone has the need to run a pipeline based on an old branch. Pair-Programmed-With: Stefan Metzmacher <metze@samba.org> Signed-off-by: Joe Guo <joeg@catalyst.net.nz> Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org>
* .gitlab-ci.yml: require samba-ci-private tag for our private runnersStefan Metzmacher2019-04-161-0/+1
| | | | | | | | | | This makes it more clear that we need our own private runners. Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Ralph Boehme <slow@samba.org> Autobuild-User(master): Ralph Böhme <slow@samba.org> Autobuild-Date(master): Tue Apr 16 17:45:35 UTC 2019 on sn-devel-144
* .gitlab-ci.yml: remove outdated commentsStefan Metzmacher2019-04-161-4/+0
| | | | | Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Ralph Boehme <slow@samba.org>