Commit graph

241 commits

Author SHA1 Message Date
Tim Wojtulewicz
d5707d606c CI: Add missing lcov package to ubuntu 24 Dockerfile 2024-05-13 22:10:36 -07:00
Tim Wojtulewicz
1a227659fa CI: Add clang-18 to Ubuntu 24.04 VM 2024-05-13 17:40:26 -07:00
Tim Wojtulewicz
e72714410a CI: Replace Ubuntu 23.10 with Ubuntu 24.04 2024-05-08 15:17:35 -07:00
Tim Wojtulewicz
da705c1199 Revert "Install gcc9 on CentOS Stream 8"
This reverts commit 09cc5c37e0.
2024-05-02 19:12:03 -07:00
Tim Wojtulewicz
09cc5c37e0 Install gcc9 on CentOS Stream 8 2024-05-02 19:10:58 -07:00
Johanna Amann
f0acb19823 Add Opensuse leap 15.6 to CI 2024-04-16 10:00:01 +01:00
Tim Wojtulewicz
2491650873 CI: Remove commented openssl 1.1 workaround from macOS preparation script 2024-04-08 12:01:49 -07:00
Tim Wojtulewicz
167cbaf6e4 CI: Fix installation of python package on macOS 2024-04-08 12:01:49 -07:00
Tim Wojtulewicz
17ad726321 CI: Remove CentOS 7 and Debian 10 builds 2024-03-14 13:28:54 -07:00
Tim Wojtulewicz
60da270800 CI: Remove emacs backup file of fedora-38 Dockerfile 2024-02-05 13:33:52 -07:00
Tim Wojtulewicz
2736e8e527 CI: Fix building of alpine image with regards to python packages 2024-02-05 13:32:19 -07:00
Tim Wojtulewicz
674816a01d Switch all of the conan configuration to vcpkg 2024-02-02 14:52:16 -07:00
Tim Wojtulewicz
5a7c482a0f Force Windows CI to use OpenSSL 3.1.1
There's something wrong with chocolatey's OpenSSL 3.2.0 package that
causes cmake to not be able to find libcrypto even though it's clearly
in the directory. Pinning to 3.1.1 fixes the build issue.
2024-01-26 13:10:51 -07:00
Arne Welzel
43fec1f2c8 ci/btest: Remove ZEEK_PROFILER_FILE from btest.cfg, set in ci/test.sh explicitly
The produced coverage files are of little use in current local workflows
and usually just end-up taking up disk space. ZEEK_PROFILER_FILE can be
set explicitly if there's a one-off need to produce these locally, too.
2023-12-15 15:23:52 +01:00
Arne Welzel
344369f169 ci: Remove ZEEK_CI_DISABLE_SCRIPT_PROFILING logic
To my knowledge this doesn't make a huge difference anymore and locally
I'm only using ASAN builds. It's not actually too slow.
2023-12-15 15:23:52 +01:00
Christian Kreibich
866d4b4127 CI: Bump Ubuntu 23.04 to 23.10 2023-12-14 15:35:13 -08:00
Christian Kreibich
ddd56b9ad7 CI: Drop openSUSE Leap 15.4, about to EOL. 2023-12-13 22:03:25 -08:00
Christian Kreibich
ee8cc77050 CI: drop Fedora 37, add Fedora 39
This makes 39 the ony to run at all times, and 38 one to run only with fullci.
2023-12-13 17:45:13 -08:00
Tim Wojtulewicz
a3ad1a24f1 CI: Install missing packages on opensuse 2023-11-17 09:24:15 -07:00
Tim Wojtulewicz
b1e63ffd26 CI: Use other base64 options on macOS Sonoma too 2023-11-06 11:29:44 -07:00
Tim Wojtulewicz
4c9721e8bf Update c-ares in Windows conanfile 2023-11-03 11:11:15 -07:00
Benjamin Bannier
dfba2d6df7 Install libmaxminddb in macOS CI 2023-10-26 14:47:59 +02:00
Arne Welzel
2cbe76d296 ci/update-zeekygen-docs.sh: Do output stderr by default
stderr was only produced when there was a real failure as it had been a
bit noisy previously, but has hidden actual problems. Now that there is
less noise, just output stderr all the time.
2023-10-11 15:18:36 +02:00
Arne Welzel
80eaa4aa64 cirrus/ci: Add ubuntu22_spicy_task and ubuntu22_spicy_head_task
These tasks are meant to run nightly on the master branch. Currently,
the external dns, http and dhcp Spicy analyzers are installed via zkg
post building. The build artifact is uploaded to Cirrus and the benchmarker
API triggered.

For the spicy_head task, the auxil/spicy submodule is pulled to the latest
commit. This also provides a bit of a nightly integration test.
2023-09-26 19:45:07 +02:00
Arne Welzel
8a2c81aa0c cirrus/ci: Add pre_build_script mechanism
Allow tasks to run a bit of code just before ci/build.sh.
2023-09-26 19:37:32 +02:00
Arne Welzel
9fedab9845 ci/benchmark: Also send CIRRUS_TASK_NAME to benchmarker API
We otherwise cannot distinguish between different benchmarking jobs when
we introduce them (think ubuntu22_jemalloc or ubuntu22_spicy).
2023-09-25 13:50:50 +02:00
Arne Welzel
7b28152a92 ci/benchmark: Send more Cirrus, GitHub and Zeek version information
I wonder if we hit a query string limitation and should instead switch
to post body here. It's the `curl -G -X POST` part making this a POST
with a long query string.
2023-09-19 19:10:09 +02:00
Arne Welzel
d7b9d70fa8 ci: update-alternative to have python3 be python3.9
Tweak so that python3 is correct for the Python_FIND_UNVERSIONED_NAMES
change. python3 on 15.4 was pointing at Python3.6 still and for that
there are no dev headers installed.

A normal user could use --with-python instead, but in CI this is easier.
2023-09-07 13:03:03 +02:00
Johanna Amann
4ad2a6ab9a Add OpenSUSE Leap 15.5 to ci
This also adds 15.4 to the list of distributions that are skipped by
default - let me know if this is not a good idea. I assume that by now
most people will be running 15.5 (15.4 will be EOL in ~3 months).
2023-09-07 12:48:46 +02:00
Tim Wojtulewicz
ac82d4bcbd CI: Add ubuntu 23.04 build 2023-08-29 09:11:07 -07:00
Tim Wojtulewicz
b551bc9fc3 CI: Remove EOL ubuntu 22.10 build 2023-08-29 09:11:07 -07:00
Tim Wojtulewicz
8d5b9a9293 CI: Force alpine image to rebuild 2023-08-23 11:12:19 -07:00
Tim Wojtulewicz
5b5a771339 CI: Install python3.8 on older distros 2023-08-23 09:49:36 -07:00
Tim Wojtulewicz
56ec2dfeba CI: Remove Ubuntu 18 build (EOL) 2023-08-23 09:49:36 -07:00
Arne Welzel
7d3ded06c7 ci: Bump centos-7
Failing currently with:

    Failed to start an instance! Failed to pull null image! Repository does not exist or may require authentication.
    Container errored with 'ImagePullBackOff: Back-off pulling image "gcr.io/cirrus-ci-community/zeek/zeek/ci/centos-7/dockerfile:a0c25357a3a7dc08f6c1e61e6f81ad36"'
2023-08-07 15:47:40 +02:00
Tim Wojtulewicz
0fdff44cf0 Suppress new tsan findings from Ubuntu 22 upgrade 2023-08-04 14:18:00 -07:00
Tim Wojtulewicz
59454b8184 Force refresh of all CI docker images
There's something going on with the image cache on Cirrus where the images
are sometimes vanishing from the cache, thus causing builds to fail
because it can't load them. This forces a rebuild of all of the images,
thus refreshing the cached version of all of them.
2023-08-01 12:18:59 -07:00
Tim Wojtulewicz
190728ab40 Force rebuild of windows CI image 2023-07-28 12:40:32 -07:00
Tim Wojtulewicz
1c0795fe87 Bump debian 11 and alpine Dockerfile versions 2023-07-25 09:18:33 -07:00
Arne Welzel
da6ee8125d ci: Bust Ubuntu 22.10 image cache
Cirrus jobs failing to pull the image, try rebuilding.
2023-07-11 12:53:05 +02:00
Tim Wojtulewicz
25da02fe50 Move CMake template files to separate directory 2023-06-26 13:39:59 -07:00
Tim Wojtulewicz
7e9daea82b CI: Force rebuild of tumbleweed VM to pick up newer version of python
The version of python included in the existing VM doesn't have the sqlite
module included for some reason. Forcing the VM to rebuild installs python311
which does include it, fixing a build failure.
2023-06-20 09:59:35 -07:00
Arne Welzel
7a043e5e8f all: Fix typos identified by typos pre-commit hook 2023-06-13 17:57:32 +02:00
Arne Welzel
528e27e542 ci/windows: choco --localonly is gone
choco 2.0 is now used after some caching changes on the Cirrus side [1]
and the --localonly flag is gone from choco [2], remove its usage.

[1] https://github.com/cirruslabs/cirrus-ci-docs/issues/1174#issuecomment-1580928673
[2] https://docs.chocolatey.org/en-us/guides/upgrading-to-chocolatey-v2-v6#the-list-command-now-lists-local-packages-only-and-the-local-only-and-lo-options-have-been-removed
2023-06-07 17:30:15 +02:00
Arne Welzel
9f5ef553d5 ci: Disable openh264 repository on tumbleweed
zypper refresh failed on it and we should not be needing packages
either.
2023-05-23 18:39:57 +02:00
Robin Sommer
40b1d8f913
Tweak format of zkg information in build info. 2023-05-16 10:21:21 +02:00
Robin Sommer
cc15948239
Add zkg_provides to --build-info.
This makes dependencies explicit that Zeek provides built-in for
`zkg`. It's in support of
https://github.com/zeek/package-manager/pull/157.

For now, `zkg_provides` contains the same data as `included_plugins`
plus an entry for `spicy-plugin`.
2023-05-16 10:21:20 +02:00
Arne Welzel
4387532613 ci: Add public-ecr-vacuum.sh 2023-05-05 12:11:09 +02:00
Tim Wojtulewicz
15a39c230c CI: Automatically update opensuse-tumbleweed 2023-04-28 16:33:11 -07:00
Tim Wojtulewicz
64bcf50837 CI: Remove Fedora 36, add Fedora 38 2023-04-28 16:33:11 -07:00