Merge branch 'topic/christian/ci-updates'

* topic/christian/ci-updates:
  CI: remove Fedora 35, now EOL
  CI: avoid deprecated ::set-output use
  CI: move action/checkout use to v3
This commit is contained in:
Christian Kreibich 2023-01-11 17:00:32 -08:00
commit 144cadf6cd
7 changed files with 28 additions and 19 deletions

View file

@ -136,13 +136,6 @@ env:
# Linux EOL timelines: https://linuxlifecycle.com/
# Fedora (~13 months): https://fedoraproject.org/wiki/Fedora_Release_Life_Cycle
fedora35_task:
container:
# Fedora 35 EOL: Around Dec 2022
dockerfile: ci/fedora-35/Dockerfile
<< : *RESOURCES_TEMPLATE
<< : *CI_TEMPLATE
fedora36_task:
container:
# Fedora 36 EOL: Around May 2023

View file

@ -13,7 +13,7 @@ jobs:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3.1.0
- uses: actions/checkout@v3
with:
submodules: "recursive"

View file

@ -28,7 +28,7 @@ jobs:
TEST_TAG: zeek:latest
CONFFLAGS: --generator=Ninja --build-type=Release
steps:
- uses: actions/checkout@v3.1.0
- uses: actions/checkout@v3
with:
submodules: "recursive"
@ -54,7 +54,7 @@ jobs:
- name: Get version
id: version
run: echo "::set-output name=RELEASE_VERSION::$(cat VERSION)"
run: echo "RELEASE_VERSION=$(cat VERSION)" >> $GITHUB_OUTPUT
- name: Compute target tag
id: target
@ -69,11 +69,11 @@ jobs:
#
# Any other refs are not published below.
if [ "${GITHUB_REF}" = "refs/tags/release" ]; then
echo "::set-output name=tag::zeek:latest"
echo "tag=zeek:latest" >> $GITHUB_OUTPUT
elif [ "${GITHUB_REF}" = "refs/heads/master" ]; then
echo "::set-output name=tag::zeek-dev:latest"
echo "tag=zeek-dev:latest" >> $GITHUB_OUTPUT
elif [[ "${GITHUB_REF}" = refs/tags/v* ]] && [[ "${GITHUB_REF}" != refs/tags/v*-dev ]]; then
echo "::set-output name=tag::zeek:${RELEASE_VERSION}"
echo "tag=zeek:${RELEASE_VERSION}" >> $GITHUB_OUTPUT
fi
- name: Login to ECR
@ -134,7 +134,7 @@ jobs:
# Grab the sources so we have access to btest. Could also use pip, but it
# seems appealing to be using the in-tree version of btest. btest is in a
# submodule; we check it out selectively to save time.
- uses: actions/checkout@v3.1.0
- uses: actions/checkout@v3
- name: Check out btest
run: git submodule update --init ./auxil/btest
@ -156,7 +156,7 @@ jobs:
echo "TESTSUITE_COMMIT=$(cat ./testing/external/commit-hash.zeek-testing-cluster)" >> $GITHUB_ENV
- name: Retrieve cluster testsuite
uses: actions/checkout@v3.1.0
uses: actions/checkout@v3
with:
repository: zeek/zeek-testing-cluster
path: testing/external/zeek-testing-cluster

View file

@ -24,12 +24,12 @@ jobs:
# event, so we only need to authenticate in that case. Use
# unauthenticated access otherwise so this action can e.g., also run from
# clones.
- uses: actions/checkout@v3.1.0
- uses: actions/checkout@v3
if: github.event_name == 'schedule'
with:
submodules: "recursive"
token: ${{ secrets.ZEEK_BOT_TOKEN }}
- uses: actions/checkout@v3.1.0
- uses: actions/checkout@v3
if: github.event_name != 'schedule'
with:
submodules: "recursive"

View file

@ -9,6 +9,6 @@ jobs:
pre-commit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3.1.0
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
- uses: pre-commit/action@v3.0.0

16
CHANGES
View file

@ -1,3 +1,19 @@
5.2.0-dev.476 | 2023-01-11 17:00:32 -0800
* CI updates (Christian Kreibich, Corelight)
- remove Fedora 35, now EOL
- avoid deprecated ::set-output use
- move action/checkout use to v3
* Bump zeek-archiver, zeek-af_packet-plugin, and doc submodules (Christian Kreibich, Corelight)
* Fixes to support the Npcap library on Windows (Tim Wojtulewicz, Corelight)
* GH-2645: fix for crash when specifying an unwriteable file to --profile-scripts (GH-2645) (Vern Paxson, Corelight)
* Fix a docstring typo (Christian Kreibich, Corelight)
5.2.0-dev.464 | 2023-01-10 10:25:28 +0100
* Expand docstrings of file_new and file_over_new_connection events (Christian Kreibich, Corelight)

View file

@ -1 +1 @@
5.2.0-dev.464
5.2.0-dev.476