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: remove Fedora 35, now EOL
  CI: avoid deprecated ::set-output use
  CI: move action/checkout use to v3
  • Loading branch information
ckreibich committed Jan 12, 2023
2 parents 67cea91 + 1697bf1 commit 144cadf
Show file tree
Hide file tree
Showing 7 changed files with 28 additions and 19 deletions.
7 changes: 0 additions & 7 deletions .cirrus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/coverity-scan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
runs-on: ubuntu-20.04

steps:
- uses: actions/checkout@v3.1.0
- uses: actions/checkout@v3
with:
submodules: "recursive"

Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand All @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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

Expand All @@ -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
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/generate-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pre-commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: 16 additions & 0 deletions CHANGES
Original file line number Diff line number Diff line change
@@ -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)
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
5.2.0-dev.464
5.2.0-dev.476

0 comments on commit 144cadf

Please sign in to comment.