summaryrefslogtreecommitdiff
path: root/bootstrap
Commit message (Collapse)AuthorAgeFilesLines
* gitlab-ci: Update Fedora to version 38Andreas Schneider2023-04-2714-31/+340
| | | | | | | | 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): Thu Apr 27 08:22:58 UTC 2023 on atb-devel-224
* bootstrap: Fix spelling in README.mdAndreas Schneider2023-04-041-2/+2
| | | | | | Best reviewed with: `git show --word-diff`. Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* bootstrap: Update to Ubuntu 22.04 as base default OSStefan Metzmacher2023-01-188-1/+315
| | | | | | | | | | | | | We'll try to move autobuild to ubuntu 22.04 soon. Note we leave ubuntu 18.04 for the coverage and 32bit builds for now. As well as 20.04 for samba-fuzz. 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 Jan 18 14:17:23 UTC 2023 on atb-devel-224
* gitlab-ci: do some basic testing on ubuntu1804-32bitStefan Metzmacher2022-11-248-1/+317
| | | | | | | | | | | | | | | | | For now we allow build warnings and only do some basic testing. We also ignore timestamp related problems, as well as some charset failures. Over time we should try to address the situation by not allowing warnings and verify if expected failures are harmless or not. But it's already much better then having no 32bit testing at all! Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Thu Nov 24 12:05:26 UTC 2022 on sn-devel-184
* bootstrap: Remove duplicate line from CentOS 8 powertools installJoseph Sutton2022-11-243-5/+3
| | | | | | | | This was missed in 136ec5bc01e2648bae34a1158f923fbf5a86d561 when we moved to CentOS 8 stream. Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz> Reviewed-by: Stefan Metzmacher <metze@samba.org>
* bootstrap: Spelling fix in bootstrap from Michael TokarevAndrew Bartlett2022-11-242-2/+2
| | | | | | | | This could not previously be included as all changes require a full image rebuild as they change the SHA1 hash. Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
* gitlab-ci: Update Fedora to version 37Andreas Schneider2022-11-1612-22/+22
| | | | | | | | 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 16 16:29:30 UTC 2022 on sn-devel-184
* bootstrap: Update to openSUSE 15.4Samuel Cabrero2022-10-278-17/+17
| | | | | Signed-off-by: Samuel Cabrero <scabrero@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* bootstrap: Install ShellCheck and shfmtAndreas Schneider2022-08-176-1/+17
| | | | Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Pavel Filipenský <pfilipensky@samba.org>
* bootstrap: Use quay.io to download fedora imagesAndreas Schneider2022-06-264-5/+5
| | | | | | | | | | | The docker registry is rate limited now. This often leads to errors, so use the Red Hat registry. 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): Sun Jun 26 23:08:03 UTC 2022 on sn-devel-184
* gitlab-ci: Add jqRalph Boehme2022-06-1018-1/+18
| | | | | | | | | | | | | | | | Pair-Programmed-With: Jule Anger <janger@samba.org> Signed-off-by: Ralph Boehme <slow@samba.org> Signed-off-by: Jule Anger <janger@samba.org> [abartlet@samba.org Regenerated sha1sum after rebase This commit in aid of future tests for smbstatus JSON output] 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): Fri Jun 10 07:51:02 UTC 2022 on sn-devel-184
* bootstrap: Fix [gm]old linker existence checkJoseph Sutton2022-06-1010-19/+19
| | | | | | | | | | | | | | | | | | | We used 'test -x $LD_GOLD' to test whether the alternate linker was available and executable. However, if $LD_GOLD expanded to an empty string, the 'test' command would be run in single argument mode, see that '-x' was a non-empty string, and duly return a successful status code. The result would be a meaningless symlink created, and a misleading message. Because 'which' already tests that its argument is executable, the solution is simply to remove the 'test' command. We also invert the return code of the 'which' command so that if the alternate linker is not found, the overall code returned to Docker is still successful. Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org>
* bootstrap: Remove duplicate dict keyJoseph Sutton2022-06-104-2/+3
| | | | | | | | | Commit 86d4836919e29c0bdf927658df641811247534c6 added python36-gpg, but the duplicate key lower down in the same dict meant it never had any effect. Now it does. Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org>
* gitlab-ci: Allow --xz compression on our samba-testbase.tarAndrew Bartlett2022-06-1018-1/+18
| | | | | | | | | This may make this faster to upload to our private gitlab server which is not as close to our runners. BUG: https://bugzilla.samba.org/show_bug.cgi?id=14863 Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org>
* ci-images: install diffutils prior to building imagesUri Simchoni2022-06-092-1/+3
| | | | | | | | | | | Ensure the podman image used for generating Samba CI images includes 'diff' utility Signed-off-by: Uri Simchoni <uri@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Thu Jun 9 23:48:42 UTC 2022 on sn-devel-184
* [ci-images] remove use of sudo in image building smoke testUri Simchoni2022-05-252-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
* [ci-images] run podman directly instead of docker linkUri Simchoni2022-05-252-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>
* [ci-images] use podman instead of dockerUri Simchoni2022-05-252-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>
* gitlab-ci: Update Fedora to version 36Andreas Schneider2022-05-1812-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
* bootstrap: Add python3-requests dependencyDavid Mulder2022-05-1318-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>
* bootstrap: matplotlib is not a real Samba depAndrew Bartlett2022-05-108-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>
* bootstrap: chown the whole cloned repo, not just the subfoldersAndrew Bartlett2022-05-102-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>
* gitlab-ci: Drop Debian 10Andreas Schneider2022-03-238-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>
* gitlab-ci: Update to openSUSE 15.3Andreas Schneider2022-03-2312-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>
* gitlab-ci: Drop Fedora 34Andreas Schneider2022-03-238-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>
* gitlab-ci: Run krb5 tests also with MIT Kerberos 1.20 (prerelease)Andreas Schneider2022-03-048-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>
* bootstrap: Install mold linker on Fedora 35Andreas Schneider2022-02-154-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
* bootstrap: If the mold linker is available prefer it over goldAndreas Schneider2022-02-1512-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>
* bootstrap: Migrate to CentOS8 StreamAndreas Schneider2022-02-048-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
* bootstrap: Fix CentOS8 runnerAndreas Schneider2022-02-033-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
* bootstrap: use compat-gnutls37-devel for centos7Stefan Metzmacher2022-01-214-4/+4
| | | | | Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
* gitlab-ci: Add Fedora 35 and drop Fedora 33Andreas Schneider2021-11-0514-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
* bootstrap: Debian 11 has liburing-devMartin Schwenke2021-10-194-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
* bootstrap: Add Debian 11Martin Schwenke2021-10-188-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
* bootstrap: Remove last references to Ubuntu 16.04Andrew Bartlett2021-09-148-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
* Update common on currently supported Fedora versionsAndrew Bartlett2021-09-021-1/+1
| | | | Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org>
* bootstrap: SAMBA_CI_CONTAINER_TAG is now in .gitlab-ci-main.ymlAndrew Bartlett2021-09-021-1/+1
| | | | Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org>
* bootstrap: Update to get newer krb5 on Fedora 34Andrew Bartlett2021-09-022-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>
* bootstrap: Install python3-dateutil instead of python3-iso8601 on RPM distrosAndreas Schneider2021-07-218-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
* bootstrap: Install krb5-workstation on Fedora based distrosAndreas Schneider2021-07-2114-2/+14
| | | | Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Alexander Bokovoy <ab@samba.org>
* gitlab-ci: Install devel files for tracker-sparql (spotlight backend)Andreas Schneider2021-05-2018-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
* bootstrap: Add Fedora 34 CI runnerAndreas Schneider2021-05-078-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
* bootstrap: Remove libnsl as we dropped NIS supportAndreas Schneider2021-05-0714-16/+1
| | | | Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Guenther Deschner <gd@samba.org>
* bootstrap/.gitlab-ci.yml: make sure we force gitlab.com runners for nowStefan Metzmacher2021-04-132-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>
* bootstrap: Update distro list in README.mdMartin Schwenke2020-12-151-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
* bootstrap: Cope with case changes in CentOS 8 repo namesMartin Schwenke2020-12-153-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>
* Test password removal via python proctitleDavid Mulder2020-11-2622-1/+23
| | | | | Signed-off-by: David Mulder <dmulder@suse.com> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* bootstrap: Add OpenSUSE 15.2Samuel Cabrero2020-11-178-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
* bootstrap: Add Fedora 33Andreas Schneider2020-11-058-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
* bootstrap: Fix the spelling of README.md (again) and get a new GnuTLSAndrew Bartlett2020-09-112-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>