Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/topic/timw/ci-python-upgrades'
Browse files Browse the repository at this point in the history
* origin/topic/timw/ci-python-upgrades:
  CI: Remove EOL ubuntu 22.10 build
  CI: Fix a spelling error in (almost) every Dockerfile
  CI: Force alpine image to rebuild
  CI: Install newer version of python on older distros
  • Loading branch information
timwoj committed Aug 28, 2023
2 parents cb715d3 + 9d2afd8 commit 2121956
Show file tree
Hide file tree
Showing 21 changed files with 53 additions and 50 deletions.
8 changes: 0 additions & 8 deletions .cirrus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -151,14 +151,6 @@ opensuse_tumbleweed_task:
<< : *CI_TEMPLATE
<< : *UNIX_ENV

ubuntu2210_task:
container:
# Ubuntu 22.10 EOL: July 2023
dockerfile: ci/ubuntu-22.10/Dockerfile
<< : *RESOURCES_TEMPLATE
<< : *CI_TEMPLATE
<< : *UNIX_ENV

ubuntu22_task:
container:
# Ubuntu 22.04 EOL: April 2027
Expand Down
19 changes: 19 additions & 0 deletions CHANGES
Original file line number Diff line number Diff line change
@@ -1,3 +1,22 @@
2.7.0-dev.32 | 2023-08-28 09:41:33 -0700

* CI: Remove EOL ubuntu 22.10 build (Tim Wojtulewicz, Corelight)

* CI: Fix a spelling error in (almost) every Dockerfile (Tim Wojtulewicz, Corelight)

* CI: Force alpine image to rebuild (Tim Wojtulewicz, Corelight)

* CI: Install newer version of python on older distros (Tim Wojtulewicz, Corelight)

* Merge branch 'topic/awelzel/fix-rtd-doc-build' (Arne Welzel, Corelight)

* topic/awelzel/fix-rtd-doc-build:
doc/conf: Fix html_theme not defined

* doc/conf: Fix html_theme not defined (Arne Welzel, Corelight)

Zeek side reference: zeek/zeek-docs#206

2.7.0-dev.25 | 2023-08-24 15:32:31 -0700

* Bump dockerfile images (Dominik Charousset, Corelight)
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.7.0-dev.25
2.7.0-dev.32
2 changes: 1 addition & 1 deletion ci/alpine/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ FROM alpine:latest

# 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 20230728
ENV DOCKERFILE_VERSION 20230823

RUN apk add --no-cache \
bash \
Expand Down
9 changes: 6 additions & 3 deletions ci/centos-7/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FROM centos:7

# A version field to invalide Cirrus's build cache when needed, as suggested in
# 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 20220519

Expand Down Expand Up @@ -33,12 +33,15 @@ RUN yum -y install \
make \
openssl \
openssl-devel \
python3 \
python3-devel \
rh-python38 \
rh-python38-devel \
rh-python38-python-devel \
rh-python38-pip \
&& yum clean all && rm -rf /var/cache/yum

RUN echo 'unset BASH_ENV PROMPT_COMMAND ENV' > /usr/bin/zeek-ci-env && \
echo 'source /opt/rh/devtoolset-8/enable' >> /usr/bin/zeek-ci-env && \
echo 'source /opt/rh/rh-python38/enable' >> /usr/bin/zeek-ci-env && \
echo 'export PATH=${PATH}:${FLEX_DIR}/bin' >> /usr/bin/zeek-ci-env

ENV BASH_ENV="/usr/bin/zeek-ci-env" \
Expand Down
7 changes: 4 additions & 3 deletions ci/centos-stream-8/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FROM quay.io/centos/centos:stream8

# A version field to invalide Cirrus's build cache when needed, as suggested in
# 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 20220519

Expand All @@ -13,6 +13,7 @@ RUN dnf -y install \
make \
openssl \
openssl-devel \
python3 \
python3-devel \
python38 \
python38-devel \
python38-pip\
&& dnf clean all && rm -rf /var/cache/dnf
2 changes: 1 addition & 1 deletion ci/centos-stream-9/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FROM quay.io/centos/centos:stream9

# A version field to invalide Cirrus's build cache when needed, as suggested in
# 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 20220519

Expand Down
2 changes: 1 addition & 1 deletion ci/debian-10/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ FROM debian:10

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

# A version field to invalide Cirrus's build cache when needed, as suggested in
# 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 20230813

Expand Down
2 changes: 1 addition & 1 deletion ci/debian-11/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ FROM debian:11

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

# A version field to invalide Cirrus's build cache when needed, as suggested in
# 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 20230813

Expand Down
2 changes: 1 addition & 1 deletion ci/debian-12/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ FROM debian:12

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

# A version field to invalide Cirrus's build cache when needed, as suggested in
# 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 20230612

Expand Down
2 changes: 1 addition & 1 deletion ci/fedora-35/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FROM fedora:35

# A version field to invalide Cirrus's build cache when needed, as suggested in
# 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 20220519

Expand Down
2 changes: 1 addition & 1 deletion ci/fedora-37/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FROM fedora:37

# A version field to invalide Cirrus's build cache when needed, as suggested in
# 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 20230813

Expand Down
2 changes: 1 addition & 1 deletion ci/fedora-38/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FROM fedora:38

# A version field to invalide Cirrus's build cache when needed, as suggested in
# 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 20230813

Expand Down
12 changes: 9 additions & 3 deletions ci/opensuse-leap-15.4/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FROM opensuse/leap:15.4

# A version field to invalide Cirrus's build cache when needed, as suggested in
# 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 20220615

Expand All @@ -9,8 +9,14 @@ RUN zypper in -y \
gcc \
gcc-c++ \
git \
gzip \
libopenssl-devel \
make \
python3 \
python3-devel \
python39 \
python39-devel \
python39-pip \
tar \
&& rm -rf /var/cache/zypp

RUN update-alternatives --install /usr/bin/pip3 pip3 /usr/bin/pip3.9 100
RUN update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.9 100
2 changes: 1 addition & 1 deletion ci/opensuse-leap-15.5/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FROM opensuse/leap:15.5

# A version field to invalide Cirrus's build cache when needed, as suggested in
# 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 20230612

Expand Down
2 changes: 1 addition & 1 deletion ci/opensuse-tumbleweed/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FROM opensuse/tumbleweed

# A version field to invalide Cirrus's build cache when needed, as suggested in
# 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 20230329

Expand Down
2 changes: 1 addition & 1 deletion ci/ubuntu-18.04/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ FROM ubuntu:18.04

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

# A version field to invalide Cirrus's build cache when needed, as suggested in
# 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 20220519

Expand Down
2 changes: 1 addition & 1 deletion ci/ubuntu-20.04/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ FROM ubuntu:20.04

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

# A version field to invalide Cirrus's build cache when needed, as suggested in
# 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 20220519

Expand Down
2 changes: 1 addition & 1 deletion ci/ubuntu-22.04/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ FROM ubuntu:22.04

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

# A version field to invalide Cirrus's build cache when needed, as suggested in
# 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 20230813

Expand Down
18 changes: 0 additions & 18 deletions ci/ubuntu-22.10/Dockerfile

This file was deleted.

2 changes: 1 addition & 1 deletion ci/windows/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

FROM mcr.microsoft.com/dotnet/framework/sdk:4.8-windowsservercore-ltsc2019

# A version field to invalide Cirrus's build cache when needed, as suggested in
# 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 20230728

Expand Down

0 comments on commit 2121956

Please sign in to comment.