Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/build-legacy-branch.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
contents: read
steps:
- name: Checkout code
uses: actions/checkout@v4
uses: actions/checkout@v5
with:
ref: ${{ inputs.ref }}

Expand Down Expand Up @@ -53,7 +53,7 @@ jobs:
packages: write
steps:
- name: Checkout the docker build repo for legacy builds
uses: actions/checkout@v4
uses: actions/checkout@v5
with:
repository: fluent/fluent-bit-docker-image
ref: "1.8" # Fixed to this branch
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/call-build-images.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ jobs:
contents: read
steps:
- name: Checkout code
uses: actions/checkout@v4
uses: actions/checkout@v5
with:
ref: ${{ inputs.ref }}

Expand Down Expand Up @@ -98,7 +98,7 @@ jobs:
runs-on: ${{ (contains(matrix.platform, 'arm') && 'ubuntu-22.04-arm') || 'ubuntu-latest' }}
steps:
- name: Checkout code
uses: actions/checkout@v4
uses: actions/checkout@v5
with:
ref: ${{ inputs.ref }}
token: ${{ secrets.token }}
Expand Down Expand Up @@ -173,7 +173,7 @@ jobs:
raw,latest

- name: Download production digests
uses: actions/download-artifact@v4
uses: actions/download-artifact@v5
with:
pattern: production-digests-*
path: /tmp/production-digests
Expand Down Expand Up @@ -225,7 +225,7 @@ jobs:
raw,latest-debug

- name: Download debug digests
uses: actions/download-artifact@v4
uses: actions/download-artifact@v5
with:
pattern: debug-digests-*
path: /tmp/debug-digests
Expand Down Expand Up @@ -397,7 +397,7 @@ jobs:
packages: write
steps:
- name: Checkout repository
uses: actions/checkout@v4
uses: actions/checkout@v5
with:
ref: ${{ inputs.ref }}

Expand Down
18 changes: 11 additions & 7 deletions .github/workflows/call-build-linux-packages.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ jobs:
contents: read
steps:
- name: Checkout code
uses: actions/checkout@v4
uses: actions/checkout@v5
with:
ref: ${{ inputs.ref }}
path: source
Expand All @@ -87,7 +87,7 @@ jobs:
# Pick up latest master version
- name: Checkout code for action
if: inputs.environment == 'staging'
uses: actions/checkout@v4
uses: actions/checkout@v5
with:
path: action-support

Expand Down Expand Up @@ -115,7 +115,7 @@ jobs:
continue-on-error: ${{ inputs.ignore_failing_targets || false }}
steps:
- name: Checkout code
uses: actions/checkout@v4
uses: actions/checkout@v5
with:
ref: ${{ inputs.ref }}

Expand Down Expand Up @@ -163,7 +163,9 @@ jobs:
# For ubuntu map to codename using the disto-info list (CSV)
run: |
sudo apt-get update
sudo apt-get install -y distro-info awscli
sudo apt-get install -y distro-info
sudo apt-get install -y awscli || sudo snap install aws-cli --classic

TARGET=${DISTRO%*.arm64v8}
if [[ "$TARGET" == "ubuntu/"* ]]; then
UBUNTU_CODENAME=$(cut -d ',' -f 1,3 < "/usr/share/distro-info/ubuntu.csv"|grep "${TARGET##*/}"|cut -d ',' -f 2)
Expand Down Expand Up @@ -194,7 +196,7 @@ jobs:
# Pick up latest master version
- name: Checkout code for action
if: inputs.environment == 'staging'
uses: actions/checkout@v4
uses: actions/checkout@v5
with:
path: action-support

Expand Down Expand Up @@ -224,12 +226,14 @@ jobs:
timeout-minutes: 10
run: |
sudo apt-get update
sudo apt-get install -y createrepo-c aptly awscli
sudo apt-get install -y createrepo-c aptly
sudo apt-get install -y awscli || sudo snap install aws-cli --classic
shell: bash
env:
DEBIAN_FRONTEND: noninteractive

- name: Checkout code for repo metadata construction - always latest
uses: actions/checkout@v4
uses: actions/checkout@v5

- name: Import GPG key for signing
id: import_gpg
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/call-build-macos.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
contents: read
steps:
- name: Checkout code
uses: actions/checkout@v4
uses: actions/checkout@v5
with:
ref: ${{ inputs.ref }}

Expand Down Expand Up @@ -83,7 +83,7 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v4
uses: actions/checkout@v5
with:
ref: ${{ inputs.ref }}

Expand Down Expand Up @@ -133,13 +133,13 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v4
uses: actions/checkout@v5
with:
ref: ${{ inputs.ref }}

- name: Download all artefacts
continue-on-error: true
uses: actions/download-artifact@v4
uses: actions/download-artifact@v5
with:
name: macos-packages on ${{ matrix.config.os }}
path: artifacts/
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/call-build-windows.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ jobs:
armSupported: ${{ steps.armcheck.outputs.armSupported }}
steps:
- name: Checkout repository
uses: actions/checkout@v4
uses: actions/checkout@v5
with:
ref: ${{ inputs.ref }}

Expand Down Expand Up @@ -102,7 +102,7 @@ jobs:
PATH: C:\ProgramData\Chocolatey\bin;c:/Program Files/Git/cmd;c:/Windows/system32;C:/Windows/System32/WindowsPowerShell/v1.0;$ENV:WIX/bin;C:/Program Files/CMake/bin;C:\vcpkg;
steps:
- name: Checkout repository
uses: actions/checkout@v4
uses: actions/checkout@v5
with:
ref: ${{ inputs.ref }}

Expand Down Expand Up @@ -205,13 +205,13 @@ jobs:
contents: read
steps:
- name: Checkout repository
uses: actions/checkout@v4
uses: actions/checkout@v5
with:
# Need latest for checksum packaging script
ref: master

- name: Download all artefacts
uses: actions/download-artifact@v4
uses: actions/download-artifact@v5
with:
pattern: windows-packages-*
merge-multiple: true
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/call-integration-image-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
contents: read
packages: write
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
with:
ref: ${{ inputs.ref }}

Expand Down Expand Up @@ -105,7 +105,7 @@ jobs:
packages: read
steps:
- name: Checkout repository
uses: actions/checkout@v4
uses: actions/checkout@v5
with:
ref: ${{ inputs.ref }}

Expand Down
18 changes: 9 additions & 9 deletions .github/workflows/call-run-integration-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
gke-cluster-region: ${{ steps.gke-cluster-region.outputs.stdout }}
gke-cluster-zone: ${{ steps.gke-cluster-zone.outputs.stdout }}
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
with:
ref: ${{ inputs.ref }}
repository: fluent/fluent-bit-ci
Expand All @@ -57,12 +57,12 @@ jobs:
cli_config_credentials_token: ${{ secrets.terraform_api_token }}

- id: 'auth'
uses: 'google-github-actions/auth@v2'
uses: 'google-github-actions/auth@v3'
with:
credentials_json: ${{ secrets.gcp-service-account-key }}

- name: 'Set up Cloud SDK'
uses: 'google-github-actions/setup-gcloud@v2'
uses: 'google-github-actions/setup-gcloud@v3'

- name: Replace terraform variables.
run: |
Expand Down Expand Up @@ -101,7 +101,7 @@ jobs:
working-directory: terraform
continue-on-error: true

- uses: actions/github-script@v7
- uses: actions/github-script@v8
if: github.event_name == 'pull_request'
env:
PLAN: "terraform\n${{ steps.plan.outputs.stdout }}"
Expand Down Expand Up @@ -175,7 +175,7 @@ jobs:
- name: Test image exists and cache locally
run: docker pull ${{ inputs.image_name }}:${{ inputs.image_tag }}

- uses: actions/checkout@v4
- uses: actions/checkout@v5
with:
ref: ${{ inputs.ref }}
repository: fluent/fluent-bit-ci
Expand Down Expand Up @@ -234,18 +234,18 @@ jobs:
env:
USE_GKE_GCLOUD_AUTH_PLUGIN: true
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
with:
ref: ${{ inputs.ref }}
repository: fluent/fluent-bit-ci

- if: matrix.cloud == 'gke'
uses: 'google-github-actions/auth@v2'
uses: 'google-github-actions/auth@v3'
with:
credentials_json: ${{ secrets.gcp-service-account-key }}

- if: matrix.cloud == 'gke'
uses: 'google-github-actions/setup-gcloud@v2'
uses: 'google-github-actions/setup-gcloud@v3'
with:
install_components: 'gke-gcloud-auth-plugin'

Expand All @@ -264,7 +264,7 @@ jobs:

- name: Get the GKE Kubeconfig
if: matrix.cloud == 'gke'
uses: 'google-github-actions/get-gke-credentials@v2'
uses: 'google-github-actions/get-gke-credentials@v3'
with:
cluster_name: ${{ needs.call-run-terraform-setup.outputs.gke-cluster-name }}
location: ${{ needs.call-run-terraform-setup.outputs.gke-cluster-zone }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/call-test-images.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ jobs:
arch: [ linux/amd64, linux/arm64, linux/arm/v7 ]
steps:
- name: Checkout repository
uses: actions/checkout@v4
uses: actions/checkout@v5
with:
ref: ${{ inputs.ref }}

Expand Down Expand Up @@ -177,7 +177,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
uses: actions/checkout@v5
with:
ref: ${{ inputs.ref }}

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/call-test-packages.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
distro: [ amazonlinux2022, amazonlinux2, centos7, centos8, debian10, debian11, ubuntu1804, ubuntu2004, ubuntu2204 ]
steps:
- name: Checkout repository
uses: actions/checkout@v4
uses: actions/checkout@v5

- name: Get the version
id: get_version
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/call-windows-unit-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ jobs:
PATH: C:\ProgramData\Chocolatey\bin;c:/Program Files/Git/cmd;c:/Windows/system32;C:/Windows/System32/WindowsPowerShell/v1.0;$ENV:WIX/bin;C:/Program Files/CMake/bin;C:\vcpkg;
steps:
- name: Checkout repository
uses: actions/checkout@v4
uses: actions/checkout@v5
with:
ref: ${{ inputs.ref }}

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/cron-scorecards-analysis.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
id-token: write
steps:
- name: "Checkout code"
uses: actions/checkout@v4
uses: actions/checkout@v5
with:
persist-credentials: false

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/cron-stale.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
name: Mark stale
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v9
- uses: actions/stale@v10
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
stale-issue-message: 'This issue is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 5 days. Maintainers can add the `exempt-stale` label.'
Expand Down
12 changes: 9 additions & 3 deletions .github/workflows/cron-unstable-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,12 @@ jobs:
echo "cron_branch=master" >> $GITHUB_ENV
shell: bash

- name: 4.0 run
if: github.event_name == 'schedule' && github.event.schedule=='0 24 * * *'
run: |
echo "cron_branch=4.0" >> $GITHUB_ENV
shell: bash

- name: Output the branch to use
id: branch
run: |
Expand Down Expand Up @@ -101,7 +107,7 @@ jobs:
contents: read
steps:
- name: Checkout repository, always latest for action
uses: actions/checkout@v4
uses: actions/checkout@v5

# Set up the list of target to build so we can pass the JSON to the reusable job
- uses: ./.github/actions/generate-package-build-matrix
Expand Down Expand Up @@ -163,11 +169,11 @@ jobs:
steps:
# Required to make a release later
- name: Checkout repository
uses: actions/checkout@v4
uses: actions/checkout@v5

- name: Download all artefacts
continue-on-error: true
uses: actions/download-artifact@v4
uses: actions/download-artifact@v5
with:
path: artifacts/

Expand Down
Loading
Loading