summaryrefslogtreecommitdiff
path: root/bootstrap
Commit message (Collapse)AuthorAgeFilesLines
* 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>
* bootstrap/config.py: add patch, rsync and tarStefan Metzmacher2019-04-181-0/+3
| | | | | Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org>
* bootstrap/config.py: link ld to ld.gold when availableJoe Guo2019-04-181-0/+3
| | | | | | 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: add ARG in Dockerfile to allow add sha1sum into docker ↵Joe Guo2019-04-181-0/+4
| | | | | | | | | | image Add ARG SHA1SUM, then we can pass it to docker build with --build-arg 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: rm ENV for ccache since we didn't use it any moreJoe Guo2019-04-181-3/+0
| | | | | | | | When ccache is not installed, this will cause failure. 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: add missing dev packagesJoe Guo2019-04-181-0/+5
| | | | | | | | Add a few extra dev packages missing in current ci image but should be included. 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: adjust package list to align current ci imageJoe Guo2019-04-181-14/+30
| | | | | | | | | Adjust packages to make `dpkg -l` output align current ci image. The ones not required are ignored, add a few missing python3 ones. 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: change UTF-8 to utf8 for locale name in Dockerfile ENVJoe Guo2019-04-181-1/+1
| | | | | | | | | While generating locales, glibc/localedef/locale-gen will normalize `UTF-8` to `utf8`, use same name style to avoid string mismatch issues. 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: mv locale setup from bootstrap.shJoe Guo2019-04-181-36/+55
| | | | | | | | | | | | | | | | | In future, samba developers could run `bootstrap.sh` to update dependencies on their workstation, this is very useful when new people get on board or new dependencies introduced. But currenly it will override locale, which is not expected for this case. Remove locale setup cmds from bootstrap.sh, add a separate script for this. Although this script is written in a generic way and has no variable so far, still follow the same routine as `bootstrap.sh` to keep consistent. Signed-off-by: Joe Guo <joeg@catalyst.net.nz> Reviewed-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org>
* bootstrap/README.md: add README.mdJoe Guo2019-02-211-0/+71
| | | | | | 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/dists: add rendered files for distsJoe Guo2019-02-2131-0/+1887
| | | | | | | | | Add these into repo, then we can link it to samba wiki, for people to get a latest and precise pkg list 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/docker.py: add cli to build/tag/push docker imagesJoe Guo2019-02-211-0/+164
| | | | | | 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/template.py: add cli to render templatesJoe Guo2019-02-211-0/+72
| | | | | | | | | | - bootstrap for each dist - Dockerfile for each dist - Vagrantfile all in one 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/config.py: define package lists and templatesJoe Guo2019-02-211-0/+469
Define default pkg list, and allow to override for each dist. Also define bootstrap/Dockerfile/Vagrantfile templates. 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>