mirror of
https://github.com/zeek/zeek.git
synced 2025-10-16 05:28:20 +00:00
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:
commit
144cadf6cd
7 changed files with 28 additions and 19 deletions
|
@ -136,13 +136,6 @@ env:
|
||||||
# Linux EOL timelines: https://linuxlifecycle.com/
|
# Linux EOL timelines: https://linuxlifecycle.com/
|
||||||
# Fedora (~13 months): https://fedoraproject.org/wiki/Fedora_Release_Life_Cycle
|
# 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:
|
fedora36_task:
|
||||||
container:
|
container:
|
||||||
# Fedora 36 EOL: Around May 2023
|
# Fedora 36 EOL: Around May 2023
|
||||||
|
|
2
.github/workflows/coverity-scan.yml
vendored
2
.github/workflows/coverity-scan.yml
vendored
|
@ -13,7 +13,7 @@ jobs:
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-20.04
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3.1.0
|
- uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
submodules: "recursive"
|
submodules: "recursive"
|
||||||
|
|
||||||
|
|
14
.github/workflows/docker.yml
vendored
14
.github/workflows/docker.yml
vendored
|
@ -28,7 +28,7 @@ jobs:
|
||||||
TEST_TAG: zeek:latest
|
TEST_TAG: zeek:latest
|
||||||
CONFFLAGS: --generator=Ninja --build-type=Release
|
CONFFLAGS: --generator=Ninja --build-type=Release
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3.1.0
|
- uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
submodules: "recursive"
|
submodules: "recursive"
|
||||||
|
|
||||||
|
@ -54,7 +54,7 @@ jobs:
|
||||||
|
|
||||||
- name: Get version
|
- name: Get version
|
||||||
id: version
|
id: version
|
||||||
run: echo "::set-output name=RELEASE_VERSION::$(cat VERSION)"
|
run: echo "RELEASE_VERSION=$(cat VERSION)" >> $GITHUB_OUTPUT
|
||||||
|
|
||||||
- name: Compute target tag
|
- name: Compute target tag
|
||||||
id: target
|
id: target
|
||||||
|
@ -69,11 +69,11 @@ jobs:
|
||||||
#
|
#
|
||||||
# Any other refs are not published below.
|
# Any other refs are not published below.
|
||||||
if [ "${GITHUB_REF}" = "refs/tags/release" ]; then
|
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
|
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
|
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
|
fi
|
||||||
|
|
||||||
- name: Login to ECR
|
- name: Login to ECR
|
||||||
|
@ -134,7 +134,7 @@ jobs:
|
||||||
# Grab the sources so we have access to btest. Could also use pip, but it
|
# 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
|
# seems appealing to be using the in-tree version of btest. btest is in a
|
||||||
# submodule; we check it out selectively to save time.
|
# submodule; we check it out selectively to save time.
|
||||||
- uses: actions/checkout@v3.1.0
|
- uses: actions/checkout@v3
|
||||||
- name: Check out btest
|
- name: Check out btest
|
||||||
run: git submodule update --init ./auxil/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
|
echo "TESTSUITE_COMMIT=$(cat ./testing/external/commit-hash.zeek-testing-cluster)" >> $GITHUB_ENV
|
||||||
|
|
||||||
- name: Retrieve cluster testsuite
|
- name: Retrieve cluster testsuite
|
||||||
uses: actions/checkout@v3.1.0
|
uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
repository: zeek/zeek-testing-cluster
|
repository: zeek/zeek-testing-cluster
|
||||||
path: testing/external/zeek-testing-cluster
|
path: testing/external/zeek-testing-cluster
|
||||||
|
|
4
.github/workflows/generate-docs.yml
vendored
4
.github/workflows/generate-docs.yml
vendored
|
@ -24,12 +24,12 @@ jobs:
|
||||||
# event, so we only need to authenticate in that case. Use
|
# event, so we only need to authenticate in that case. Use
|
||||||
# unauthenticated access otherwise so this action can e.g., also run from
|
# unauthenticated access otherwise so this action can e.g., also run from
|
||||||
# clones.
|
# clones.
|
||||||
- uses: actions/checkout@v3.1.0
|
- uses: actions/checkout@v3
|
||||||
if: github.event_name == 'schedule'
|
if: github.event_name == 'schedule'
|
||||||
with:
|
with:
|
||||||
submodules: "recursive"
|
submodules: "recursive"
|
||||||
token: ${{ secrets.ZEEK_BOT_TOKEN }}
|
token: ${{ secrets.ZEEK_BOT_TOKEN }}
|
||||||
- uses: actions/checkout@v3.1.0
|
- uses: actions/checkout@v3
|
||||||
if: github.event_name != 'schedule'
|
if: github.event_name != 'schedule'
|
||||||
with:
|
with:
|
||||||
submodules: "recursive"
|
submodules: "recursive"
|
||||||
|
|
2
.github/workflows/pre-commit.yml
vendored
2
.github/workflows/pre-commit.yml
vendored
|
@ -9,6 +9,6 @@ jobs:
|
||||||
pre-commit:
|
pre-commit:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3.1.0
|
- uses: actions/checkout@v3
|
||||||
- uses: actions/setup-python@v4
|
- uses: actions/setup-python@v4
|
||||||
- uses: pre-commit/action@v3.0.0
|
- uses: pre-commit/action@v3.0.0
|
||||||
|
|
16
CHANGES
16
CHANGES
|
@ -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
|
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)
|
* Expand docstrings of file_new and file_over_new_connection events (Christian Kreibich, Corelight)
|
||||||
|
|
2
VERSION
2
VERSION
|
@ -1 +1 @@
|
||||||
5.2.0-dev.464
|
5.2.0-dev.476
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue