Commit graph

203 commits

Author SHA1 Message Date
Arne Welzel
3f4de778ae ci: Add dnsmasq to a few platforms for testing 2024-11-08 09:50:35 -07:00
Evan Typanski
04c3c2ec72 CI: Add Ubuntu Clang task
This feels more like a band-aid solution - it still requires very manual
intervention to get the next builds, but at least this way we don't rely
on whatever Clang/libc++ happens to ship with FreeBSD for the only
libc++ testing. It seems like sanitizer builds don't use libc++, but I'd
rather a dedicated Linux/Clang/libc++ task at least.
2024-10-30 09:04:24 -04:00
Benjamin Bannier
2d1c865654 Install procps in OpenSuse Leap images
The tests `core.sigterm-regular` and `core.sigterm-stdin` rely on `ps`
to be present which is not the case anymore on OpenSuse Leap; install it
explicitly there.
2024-09-27 10:00:13 +02:00
Arne Welzel
84c9daafd1 ci/ubuntu-24.04: Use ccache 4.10.2
The ccache version shipped with Ubuntu 24.04 does not yet recognize
--fprofile-update=atomic, install one that does.

Now that the asan_sanitizer build also includes building Spicy and
running the spicyz test suite, ccache is quite important.

Reference ccache/ccache#1408 and zeek/zeek#3777.
2024-08-07 11:36:00 +02:00
Arne Welzel
cb500536ea Revert "CI: Use ccache and a single CPU when building spicy analyzers for btests"
This reverts commit b59bed9d06.
2024-07-10 10:02:53 +02:00
Tim Wojtulewicz
b59bed9d06 CI: Use ccache and a single CPU when building spicy analyzers for btests 2024-07-09 14:31:09 -07:00
Christian Kreibich
59d0f311a5 CI: drop Fedora 38, add 40 2024-06-17 18:45:39 -07:00
Benjamin Bannier
20eeb6dbf6 Drop EOL centos8-stream in CI 2024-06-11 14:48:35 +02:00
Tim Wojtulewicz
753127be6d Suppress a known data race during civetweb shutdown 2024-06-07 11:31:34 -07:00
Tim Wojtulewicz
074a87b609 Fix the scripts.policy.frameworks.telemetry.prometheus btest to use the service discovery endpoint 2024-05-31 13:30:31 -07:00
Tim Wojtulewicz
9e9931f2d6 CI: Add coveralls-lcov gem to ubuntu 24, remove from ubuntu 20 2024-05-28 20:30:22 -07:00
Tim Wojtulewicz
0cd023b839 CI: Run coverage builds for PRs, but only upload on master 2024-05-21 15:11:44 -07:00
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