summaryrefslogtreecommitdiff
path: root/bootstrap
AgeCommit message (Collapse)AuthorFilesLines
2022-05-25[ci-images] remove use of sudo in image building smoke testUri Simchoni2-3/+3
Signed-off-by: Uri Simchoni <uri@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Autobuild-User(master): Uri Simchoni <uri@samba.org> Autobuild-Date(master): Wed May 25 20:50:25 UTC 2022 on sn-devel-184
2022-05-25[ci-images] run podman directly instead of docker linkUri Simchoni2-13/+11
Instead of having a symbolic link from docker to podman, use podman directly. This is made for better clarity, and because docker and podman are not 100% intechangeable in this script. Signed-off-by: Uri Simchoni <uri@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2022-05-25[ci-images] use podman instead of dockerUri Simchoni2-6/+6
Use podman as image building tool instead of docker. The image-creation pipeline still runs on docker only (until gitlab-runner supports podman), but the pipeline image may emply podman instead of docker to build images. Signed-off-by: Uri Simchoni <uri@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2022-05-18gitlab-ci: Update Fedora to version 36Andreas Schneider12-21/+21
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 May 18 07:56:52 UTC 2022 on sn-devel-184
2022-05-13bootstrap: Add python3-requests dependencyDavid Mulder18-1/+19
Certificate Auto Enrollment will depend on python3-requests in order to fetch the root chain. Signed-off-by: David Mulder <dmulder@suse.com> Reviewed-by: Andreas Schneider <asn@samba.org>
2022-05-10bootstrap: matplotlib is not a real Samba depAndrew Bartlett8-8/+1
This came in via the original list of packages used at Catalyst when building Samba for testing, in particular related to an example LDB module to trace LDB requests. There is no testing need for this even in make test. Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org>
2022-05-10bootstrap: chown the whole cloned repo, not just the subfoldersAndrew Bartlett2-2/+2
Modern git versions have started to notice the possible security issue. Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org>
2022-03-23gitlab-ci: Drop Debian 10Andreas Schneider8-310/+1
It should be enough to build on the latest Debian version. We have older Ubuntu versions already. Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
2022-03-23gitlab-ci: Update to openSUSE 15.3Andreas Schneider12-345/+11
This drops openSUSE 15.1 and 15.2 to save some CI resources. Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
2022-03-23gitlab-ci: Drop Fedora 34Andreas Schneider8-328/+1
It should be enough to run on the latest Fedora version. This should save us some CI minutes. We have CentOS runners and I would prefer to add CentOS9 Stream. Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
2022-03-04gitlab-ci: Run krb5 tests also with MIT Kerberos 1.20 (prerelease)Andreas Schneider8-1/+349
This adds test against MIT Kerberos 1.20 (prerelease) in order to test Bronze Bit, S4U and RBCD functionality supported only in current MIT Kerberos git master. We created a Fedora COPR package for MIT KRB5 1.20 (prerelease). MIT Kerberos 1.20 will be released in autumn 2022. As soon as MIT Kerberos 1.20 will be in a Fedora release, these runners will be removed again. Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
2022-02-15bootstrap: Install mold linker on Fedora 35Andreas Schneider4-1/+9
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 Feb 15 12:31:43 UTC 2022 on sn-devel-184
2022-02-15bootstrap: If the mold linker is available prefer it over goldAndreas Schneider12-1/+23
The gold linker will be deprecated soon. However we got a new linker called mold: https://github.com/rui314/mold/ Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Alexander Bokovoy <ab@samba.org>
2022-02-04bootstrap: Migrate to CentOS8 StreamAndreas Schneider8-35/+15
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): Fri Feb 4 21:11:40 UTC 2022 on sn-devel-184
2022-02-03bootstrap: Fix CentOS8 runnerAndreas Schneider3-1/+19
CentOS8 is EOL since December 31, 2021. The packages move to vault.centos.org. We should migrate to CentOS8 Stream soon. 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): Thu Feb 3 14:31:01 UTC 2022 on sn-devel-184
2022-01-21bootstrap: use compat-gnutls37-devel for centos7Stefan Metzmacher4-4/+4
Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
2021-11-05gitlab-ci: Add Fedora 35 and drop Fedora 33Andreas Schneider14-38/+32
Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Andreas Schneider <asn@cryptomilk.org> Reviewed-by: Alexander Bokovoy <ab@samba.org> Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org> Autobuild-Date(master): Fri Nov 5 12:36:55 UTC 2021 on sn-devel-184
2021-10-19bootstrap: Debian 11 has liburing-devMartin Schwenke4-2/+3
BUG: https://bugzilla.samba.org/show_bug.cgi?id=14872 Signed-off-by: Martin Schwenke <martin@meltin.net> Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Tue Oct 19 09:14:10 UTC 2021 on sn-devel-184
2021-10-18bootstrap: Add Debian 11Martin Schwenke8-1/+308
BUG: https://bugzilla.samba.org/show_bug.cgi?id=14872 Signed-off-by: Martin Schwenke <martin@meltin.net> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Mon Oct 18 17:19:17 UTC 2021 on sn-devel-184
2021-09-14bootstrap: Remove last references to Ubuntu 16.04Andrew Bartlett8-310/+1
The Ubuntu 16.04 build went away with 4366c3bb71fe9c083dedeae8798547b64a64d2b4 as oss-fuzz moves to Ubuntu 20.04. We don't do a special build for the oss-fuzz, this restores the behaviour before e10910f8de542b0be9b89942791bd37288b7a32a and d048d7e17d756099e208fa4d6b931a147b0b1489 where oss-fuzz was only tested as part of the main build. (In the case of a failure the pipeline would fail, preventing a merge, just the same as for any other failing test). Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Uri Simchoni <uri@samba.org> Autobuild-User(master): Uri Simchoni <uri@samba.org> Autobuild-Date(master): Tue Sep 14 04:44:44 UTC 2021 on sn-devel-184
2021-09-02Update common on currently supported Fedora versionsAndrew Bartlett1-1/+1
Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org>
2021-09-02bootstrap: SAMBA_CI_CONTAINER_TAG is now in .gitlab-ci-main.ymlAndrew Bartlett1-1/+1
Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org>
2021-09-02bootstrap: Update to get newer krb5 on Fedora 34Andrew Bartlett2-1/+4
We need the update FEDORA-2021-20b495cb94 (krb5) to get a fix for CVE-2021-37750 (explicit NULL deref on KDC) so our CI will pass as we have a test for this. Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org>
2021-07-21bootstrap: Install python3-dateutil instead of python3-iso8601 on RPM distrosAndreas Schneider8-7/+10
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 Jul 21 12:18:30 UTC 2021 on sn-devel-184
2021-07-21bootstrap: Install krb5-workstation on Fedora based distrosAndreas Schneider14-2/+14
Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Alexander Bokovoy <ab@samba.org>
2021-05-20gitlab-ci: Install devel files for tracker-sparql (spotlight backend)Andreas Schneider18-1/+23
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 May 20 12:01:06 UTC 2021 on sn-devel-184
2021-05-07bootstrap: Add Fedora 34 CI runnerAndreas Schneider8-18/+18
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): Fri May 7 07:18:02 UTC 2021 on sn-devel-184
2021-05-07bootstrap: Remove libnsl as we dropped NIS supportAndreas Schneider14-16/+1
Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Guenther Deschner <gd@samba.org>
2021-04-13bootstrap/.gitlab-ci.yml: make sure we force gitlab.com runners for nowStefan Metzmacher2-1/+5
We've just added our own runners with 'docker' and 'gce'. Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org>
2020-12-15bootstrap: Update distro list in README.mdMartin Schwenke1-6/+6
Update examples to make them valid. Signed-off-by: Martin Schwenke <martin@meltin.net> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Autobuild-User(master): Martin Schwenke <martins@samba.org> Autobuild-Date(master): Tue Dec 15 12:03:58 UTC 2020 on sn-devel-184
2020-12-15bootstrap: Cope with case changes in CentOS 8 repo namesMartin Schwenke3-5/+9
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>
2020-11-26Test password removal via python proctitleDavid Mulder22-1/+23
Signed-off-by: David Mulder <dmulder@suse.com> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2020-11-17bootstrap: Add OpenSUSE 15.2Samuel Cabrero8-19/+21
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
2020-11-05bootstrap: Add Fedora 33Andreas Schneider8-17/+25
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
2020-09-11bootstrap: Fix the spelling of README.md (again) and get a new GnuTLSAndrew Bartlett2-2/+2
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>
2020-09-07gitlab-ci: Fix the sha1sumAndreas Schneider1-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
2020-09-07bootstrap: install perl-JSON on on rpm distributionsStefan Metzmacher14-2/+15
This will be needed for the next heimdal import. Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2020-09-07bootstrap: document git push -o ci.variable='SAMBA_CI_REBUILD_IMAGES=yes'Stefan Metzmacher1-11/+6
This is much easier than going through the web interface. Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2020-08-20bootstrap: Fix python dependenciesAndrew Bartlett14-5/+14
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>
2020-08-20bootstrap: Fix spelling of README.mdAndrew Bartlett1-0/+0
Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: David Mulder <dmulder@suse.com>
2020-06-22bootstrap: Add back quota-devel on CentOS8Andreas Schneider4-2/+9
https://bugs.centos.org/view.php?id=16549 Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Alexander Bokovoy <ab@samba.org>
2020-04-01gitlab-ci: Add ccache and wgetAndreas Schneider22-1/+43
Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2020-03-27bootstrap: add python3-pyasn1/python3-cryptography for kerberos testingStefan Metzmacher22-5/+45
Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Isaac Boukris <iboukris@samba.org>
2020-03-27bootstrap: add ubuntu2004 Ubuntu Focal Fossa (development branch)Stefan Metzmacher8-1/+297
Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Isaac Boukris <iboukris@samba.org>
2020-03-20gitlab-ci: Add Fedora 32 (Beta)Andreas Schneider8-1/+308
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
2020-03-20gitlab-ci: Remove Fedora 30Andreas Schneider8-305/+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>
2020-03-20gitlab-ci: Remove Fedora 29 which is already EOLAndreas Schneider8-305/+1
Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2020-03-20bootstrap: Add podman command to readmeAndreas Schneider1-0/+4
Reviewed-by: Alexander Bokovoy <ab@samba.org>
2020-03-19bootstrap: Bring back a Ubuntu 16.04 build but just for the samba-fuzz taskAndrew Bartlett8-3/+303
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>
2020-03-09.gitlab-ci.yml: Do not build Samba for Ubuntu 16.04 or Debian 9 any longerAndrew Bartlett12-592/+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>