summaryrefslogtreecommitdiff
path: root/bootstrap
Commit message (Collapse)AuthorAgeFilesLines
* bootstrap: Remove un-used dependency python3-cryptoAndrew Bartlett2020-02-0530-30/+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>
* bootstrap: Add chrpath as a required packageAndrew Bartlett2019-12-1032-1/+32
| | | | | | | | | | | 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-069-2/+298
| | | | | | | | 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-052-2/+2
| | | | | | | | | | | 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>
* bootstrap: Add heimdal-multidev for Debian and UbuntuChristof Schmitt2019-11-1314-1/+14
| | | | | | | | | | 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-1330-33/+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-064-3/+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): Wed Nov 6 13:35:17 UTC 2019 on sn-devel-184
* bootstrap: Add Fedora 31Andreas Schneider2019-11-068-1/+310
| | | | | 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-068-308/+1
| | | | | Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Alexander Bokovoy <ab@samba.org>
* gitlab-ci: Add CentOS 8 to CIAndreas Schneider2019-10-088-1/+329
| | | | | | | | 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-082-1/+2
| | | | | | | 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-0828-177/+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-106-4/+13
| | | | | Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* bootstrap: Add OpenSUSE 15.1 imageSamuel Cabrero2019-07-049-2/+333
| | | | | Signed-off-by: Samuel Cabrero <scabrero@suse.de> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* gitlab-ci: Add Fedora 30Andreas Schneider2019-06-209-2/+319
| | | | | | | Fedora 30 ships with gcc9. Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* bootstrap: add mingw packagesStefan Metzmacher2019-05-2822-1/+23
| | | | | | | 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>
* gitlab-ci: Install libtasn1-tools on Fedora based distributionsAndreas Schneider2019-05-1010-2/+11
| | | | | Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* gitlab-ci: Enable building on CentOS7Andreas Schneider2019-05-0724-22/+55
| | | | | | | | 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
* bootstrap: Install correct python modules on CentOS7Andreas Schneider2019-05-071-0/+5
| | | | | Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* bootstrap: Move to python 3.6 on CentOSAndreas Schneider2019-05-071-6/+6
| | | | | Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* bootstrap: Make sure that the python3 interpreter is installedAndreas Schneider2019-05-071-0/+7
| | | | | | | We need it for waf ;-) Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* bootstrap: Fix yum commandsAndreas Schneider2019-05-071-4/+4
| | | | | Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* bootstrap: add lcov to generate code coverage reportJoe Guo2019-05-0524-1/+24
| | | | | | 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: Update for building new containersAndreas Schneider2019-04-304-3/+6
| | | | | | | | 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
* bootstrap: Only install required packages on openSUSEAndreas Schneider2019-04-301-2/+3
| | | | | | | | This should reduce the amount of packages installed. And make building the image much faster! Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
* bootstrap: Only install required packages on FedoraAndreas Schneider2019-04-301-0/+1
| | | | | Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
* gitlab-ci: Install missing krb5-kdc package on Ubuntu/DebianAndreas Schneider2019-04-2914-2/+14
| | | | | Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Ralph Boehme <slow@samba.org>
* gitlab-ci: Remove Ubuntu 14.04Andreas Schneider2019-04-252-2/+2
| | | | | | | | | | | 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-2524-6/+66
| | | | | | | | 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: Add glusterfs and cephfs packagesAndreas Schneider2019-04-251-0/+14
| | | | | Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Ralph Boehme <slow@samba.org>
* bootstrap: Add missing packages for XFS quota supportAndreas Schneider2019-04-251-0/+3
| | | | | Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Ralph Boehme <slow@samba.org>
* bootstrap: Add missing packages on RPM distributionsAndreas Schneider2019-04-251-0/+3
| | | | | Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Ralph Boehme <slow@samba.org>
* bootstrap: Fix dnf commandsAndreas Schneider2019-04-251-2/+2
| | | | | Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Ralph Boehme <slow@samba.org>
* bootstrap: move flex to common packagesRalph Boehme2019-04-2412-2/+12
| | | | | Signed-off-by: Ralph Boehme <slow@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* bootstrap/READMD.md: update the instructions to reflect the current codeStefan Metzmacher2019-04-181-27/+56
| | | | | Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org>
* bootstrap: add the result of bootstrap/template.py --renderStefan Metzmacher2019-04-1856-488/+1756
| | | | | Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org>
* bootstrap/.gitlab-ci.yml: add ci file to trigger image auto buildJoe Guo2019-04-181-0/+116
| | | | | | | | | | | | | | | | | | | | Depending on 'SAMBA_CI_REBUILD_IMAGES=yes' (and 'SAMBA_CI_REBUILD_BROKEN_IMAGES=yes') as environment variables on a custom gitlab ci pipeline we'll generate und upload container images. bootstrap/README.md will get more details in the next commits. Please note ci in this file did NOT add the `latest` tag, since we want main ci to always use a fixed image based on the sha1sum of everything under bootstrap/ from now on. This also implies the new built image will not replace/break anything. 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>
* bootstrap: remove unused docker.pyStefan Metzmacher2019-04-181-164/+0
| | | | | | | We'll generate docker images during a gitlab-ci run. Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org>
* bootstrap/template.py: add sha1sum supportJoe Guo2019-04-181-1/+69
| | | | | | | | | | | | 1. calc sha1sum for files under bootstrap/ (except README.md and *.pyc files) after render and write to bootstrap/sha1sum.txt file. 2. add a new option to print sha1sum, so we can use it to compare in ci 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>
* bootstrap/template.py: generate Vagrantfile just onceStefan Metzmacher2019-04-181-5/+5
| | | | | Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org>
* bootstrap/template.py: render locale.sh for each dist and make shell scripts ↵Joe Guo2019-04-181-1/+3
| | | | | | | | executable Signed-off-by: Joe Guo <joeg@catalyst.net.nz> Reviewed-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org>
* bootstrap/config.py: generate rendered files into bootstrap/generated-dists/Stefan Metzmacher2019-04-181-1/+1
| | | | | Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org>
* bootstrap/config.py: add a hind how to rebuild generated filesStefan Metzmacher2019-04-181-1/+20
| | | | | Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org>
* bootstrap/config.py: Add openSUSE Leap 15.0Samuel Cabrero2019-04-181-0/+46
| | | | | | Signed-off-by: Samuel Cabrero <scabrero@suse.de> Reviewed-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org>
* bootstrap/config.py: Create the 'samba' group in containersSamuel Cabrero2019-04-181-1/+1
| | | | | | Signed-off-by: Samuel Cabrero <scabrero@suse.de> Reviewed-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org>
* bootstrap/config.py: Fix lmdb-utils package name for RPM familySamuel Cabrero2019-04-181-1/+1
| | | | | | Signed-off-by: Samuel Cabrero <scabrero@suse.de> Reviewed-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org>
* bootstrap/config.py: Use generic lsb-release package nameSamuel Cabrero2019-04-181-1/+9
| | | | | | Signed-off-by: Samuel Cabrero <scabrero@suse.de> Reviewed-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org>
* bootstrap/config.py: Add gzip, which and hostname to base packagesSamuel Cabrero2019-04-181-1/+3
| | | | | | | | The openSUSE Leap 15.0 container does not include gzip and which Signed-off-by: Samuel Cabrero <scabrero@suse.de> Reviewed-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org>
* bootstrap/config.py: add libicu-dev/libicu-develRalph Boehme2019-04-181-0/+1
| | | | | | Signed-off-by: Ralph Boehme <slow@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org>
* bootstrap/config.py: add glib2-devRalph Boehme2019-04-181-0/+1
| | | | | | Signed-off-by: Ralph Boehme <slow@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org>