Skip to content

Commit

Permalink
Merge branch 'topic/christian/ci-updates'
Browse files Browse the repository at this point in the history
* topic/christian/ci-updates:
  CI updates
  • Loading branch information
ckreibich committed Dec 15, 2023
2 parents 6bd1725 + 8660b60 commit 0745882
Show file tree
Hide file tree
Showing 7 changed files with 67 additions and 40 deletions.
49 changes: 23 additions & 26 deletions .cirrus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,16 +15,16 @@ ci_template: &CI_TEMPLATE
# Linux EOL timelines: https://linuxlifecycle.com/
# Fedora (~13 months): https://fedoraproject.org/wiki/Fedora_Release_Life_Cycle

fedora38_task:
fedora39_task:
container:
# Fedora 38 EOL: Around May 2024
dockerfile: ci/fedora-38/Dockerfile
# Fedora 39 EOL: Around Nov 2024
dockerfile: ci/fedora-39/Dockerfile
<< : *CI_TEMPLATE

fedora37_task:
fedora38_task:
container:
# Fedora 37 EOL: Around Dec 2024
dockerfile: ci/fedora-37/Dockerfile
# Fedora 38 EOL: Around May 2024
dockerfile: ci/fedora-38/Dockerfile
<< : *CI_TEMPLATE

centos7_task:
Expand All @@ -41,10 +41,16 @@ centosstream9_task:

centosstream8_task:
container:
# Stream 8 support should be 5 years, so until 2024. but I cannot find a concrete timeline --cpk
# Stream 8 EOL: May 31, 2024
dockerfile: ci/centos-stream-8/Dockerfile
<< : *CI_TEMPLATE

debian12_task:
container:
# Debian 12 EOL: TBD
dockerfile: ci/debian-12/Dockerfile
<< : *CI_TEMPLATE

debian11_task:
container:
# Debian 11 EOL: June 2026
Expand All @@ -57,10 +63,10 @@ debian10_task:
dockerfile: ci/debian-10/Dockerfile
<< : *CI_TEMPLATE

opensuse_leap_15_4_task:
opensuse_leap_15_5_task:
container:
# Opensuse Leap 15.4 EOL: TBD
dockerfile: ci/opensuse-leap-15.4/Dockerfile
# Opensuse Leap 15.5 EOL: Around Dec 25
dockerfile: ci/opensuse-leap-15.5/Dockerfile
<< : *CI_TEMPLATE

opensuse_tumbleweed_task:
Expand All @@ -84,38 +90,29 @@ ubuntu20_task:

# Apple doesn't publish official long-term support timelines.
# We aim to support both the current and previous macOS release.
macos_ventura_task:
macos_sonoma_task:
macos_instance:
image: ghcr.io/cirruslabs/macos-ventura-base:latest
image: ghcr.io/cirruslabs/macos-sonoma-base:latest
prepare_script: ./ci/macos/prepare.sh
<< : *CI_TEMPLATE

macos_monterey_task:
macos_ventura_task:
macos_instance:
image: ghcr.io/cirruslabs/macos-monterey-base:latest
image: ghcr.io/cirruslabs/macos-ventura-base:latest
prepare_script: ./ci/macos/prepare.sh
<< : *CI_TEMPLATE

# FreeBSD EOL timelines: https://www.freebsd.org/security/#sup
freebsd14_task:
freebsd_instance:
# We don't support FreeBSD 14 yet, this is a purely informative task
image_family: freebsd-14-0-snap
allow_failures: true
skip_notification: true
# FreeBSD 14 EOL: Nov 30 2028
image_family: freebsd-14-0
prepare_script: ./ci/freebsd/prepare.sh
<< : *CI_TEMPLATE

freebsd13_task:
freebsd_instance:
# FreeBSD 13.1 EOL: TBD (13.2 + 3 months)
# FreeBSD 13 EOL: January 31, 2026
image_family: freebsd-13-2
prepare_script: ./ci/freebsd/prepare.sh
<< : *CI_TEMPLATE

freebsd12_task:
freebsd_instance:
# FreeBSD 12 EOL: June 30, 2024
image_family: freebsd-12-2
prepare_script: ./ci/freebsd/prepare.sh
<< : *CI_TEMPLATE
10 changes: 10 additions & 0 deletions CHANGES
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
0.50-29 | 2023-12-14 19:58:52 -0800

* CI updates (Christian Kreibich, Corelight)

- Remove Fedora 37, add 39
- Remove macOS Monterey, add Sonoma
- Remove openSUSE Leap 15.4, add 15.5
- Add Debian 12
- Take FreeBSD 14 out of test-only mode, remove 12 (about to EOL)

0.50-27 | 2023-12-06 18:40:17 +0100

* rst: Handle setuid() error (Arne Welzel, Corelight)
Expand Down
2 changes: 1 addition & 1 deletion README
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
.. -*- mode: rst; -*-
..
.. Version number is filled in automatically.
.. |version| replace:: 0.50-27
.. |version| replace:: 0.50-29

=======================
Zeek Auxiliary Programs
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.50-27
0.50-29
20 changes: 20 additions & 0 deletions ci/debian-12/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
FROM debian:12

# A version field to invalidate Cirrus's build cache when needed, as suggested in
# https://github.com/cirruslabs/cirrus-ci-docs/issues/544#issuecomment-566066822
ENV DOCKERFILE_VERSION 20231213

ENV DEBIAN_FRONTEND="noninteractive" TZ="America/Los_Angeles"

RUN apt-get update && apt-get -y install \
cmake \
g++ \
git \
libpcap-dev \
make \
python3 \
python3-pip\
&& apt autoclean \
&& rm -rf /var/lib/apt/lists/*

RUN pip3 install --break-system-packages btest
4 changes: 2 additions & 2 deletions ci/fedora-37/Dockerfile → ci/fedora-39/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
FROM fedora:37
FROM fedora:39

# A version field to invalidate Cirrus's build cache when needed, as suggested in
# https://github.com/cirruslabs/cirrus-ci-docs/issues/544#issuecomment-566066822
ENV DOCKERFILE_VERSION 20230823
ENV DOCKERFILE_VERSION 20231213

RUN dnf -y install \
cmake \
Expand Down
Original file line number Diff line number Diff line change
@@ -1,28 +1,28 @@
FROM opensuse/leap:15.4
FROM opensuse/leap:15.5

# A version field to invalidate Cirrus's build cache when needed, as suggested in
# https://github.com/cirruslabs/cirrus-ci-docs/issues/544#issuecomment-566066822
ENV DOCKERFILE_VERSION 20230823
ENV DOCKERFILE_VERSION 20231213

RUN zypper refresh \
&& zypper in -y \
cmake \
gcc10 \
gcc10-c++ \
gcc12 \
gcc12-c++ \
git \
gzip \
libpcap-devel \
make \
python39 \
python39-devel \
python39-pip \
python311 \
python311-devel \
python311-pip \
tar \
which \
&& rm -rf /var/cache/zypp

RUN update-alternatives --install /usr/bin/pip3 pip3 /usr/bin/pip3.9 100
RUN update-alternatives --install /usr/bin/pip3 pip3 /usr/bin/pip3.11 100

RUN pip3 install btest

RUN update-alternatives --install /usr/bin/cc cc /usr/bin/gcc-10 100
RUN update-alternatives --install /usr/bin/c++ c++ /usr/bin/g++-10 100
RUN update-alternatives --install /usr/bin/cc cc /usr/bin/gcc-12 100
RUN update-alternatives --install /usr/bin/c++ c++ /usr/bin/g++-12 100

0 comments on commit 0745882

Please sign in to comment.