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/actions/apply-docker-version/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ runs:
using: "composite"
steps:
- name: Checkout common functions
uses: actions/checkout@v4
uses: actions/checkout@v6
with:
repository: redis-developer/redis-oss-release-automation
ref: main
Expand All @@ -35,7 +35,7 @@ runs:

- name: Create verified commit
if: steps.apply-version.outputs.changed_files != ''
uses: iarekylew00t/verified-bot-commit@v1
uses: iarekylew00t/verified-bot-commit@v2
with:
message: ${{ inputs.release_tag }}
files: ${{ steps.apply-version.outputs.changed_files }}
Expand Down
14 changes: 7 additions & 7 deletions .github/actions/build-and-tag-locally/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ runs:
sudo apt-get update
sudo apt-get install -y qemu-user-static
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
uses: docker/setup-buildx-action@v4

- name: Calculate architecture name
id: platform
Expand Down Expand Up @@ -96,7 +96,7 @@ runs:
docker rmi -f ${{ github.sha }}:${{ steps.platform.outputs.display_name }} || true

- name: Docker Login
uses: docker/login-action@v3
uses: docker/login-action@v4
if: inputs.publish_image == 'true'
with:
registry: ${{ inputs.registry_repository }}
Expand Down Expand Up @@ -185,7 +185,7 @@ runs:

- name: Build
id: build
uses: docker/build-push-action@v6
uses: docker/build-push-action@v7
with:
context: ${{ inputs.distribution }}
push: false
Expand Down Expand Up @@ -244,7 +244,7 @@ runs:

- name: Upload build failure logs
if: failure() && steps.build.outcome == 'failure' && inputs.run_type == 'nightly'
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v7
with:
name: build-failure-${{ steps.platform.outputs.display_name }}-${{ inputs.distribution }}
path: /tmp/build-logs/
Expand Down Expand Up @@ -372,7 +372,7 @@ runs:
-- --output-junit-xml=report-entrypoint.xml

- name: Test Report
uses: dorny/test-reporter@v2
uses: dorny/test-reporter@v3
# run this step even if previous step failed, but not if it was skipped
if: ${{ !cancelled() && steps.test_entrypoint.conclusion != 'skipped' }}
with:
Expand Down Expand Up @@ -417,7 +417,7 @@ runs:
redistimeseries_version: ${{ inputs.redistimeseries_version }}

- name: Push image
uses: docker/build-push-action@v6
uses: docker/build-push-action@v7
if: ${{ inputs.publish_image == 'true' && contains(fromJSON('["amd64", "arm64"]'), steps.platform.outputs.display_name) }}
with:
context: ${{ inputs.distribution }}
Expand Down Expand Up @@ -457,7 +457,7 @@ runs:
fi

- name: Upload image metadata artifact
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v7
if: ${{ inputs.publish_image == 'true' && contains(fromJSON('["amd64", "arm64"]'), steps.platform.outputs.display_name) }}
with:
name: image-metadata-${{ inputs.distribution }}-${{ steps.platform.outputs.display_name }}
Expand Down
10 changes: 5 additions & 5 deletions .github/actions/create-image-labels/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ runs:
using: "composite"
steps:
- name: Checkout Redis repository
uses: actions/checkout@v4
uses: actions/checkout@v6
with:
repository: redis/redis
path: redis
Expand Down Expand Up @@ -61,31 +61,31 @@ runs:

- name: Checkout Redisearch repository
if: inputs.modules_enabled == 'true'
uses: actions/checkout@v4
uses: actions/checkout@v6
with:
repository: RediSearch/RediSearch
path: redisearch
ref: ${{ inputs.redisearch_version != '' && inputs.redisearch_version || env.redisearch_version }}

- name: Checkout Redisjson repository
if: inputs.modules_enabled == 'true'
uses: actions/checkout@v4
uses: actions/checkout@v6
with:
repository: redisjson/redisjson
path: redisjson
ref: ${{ inputs.redisjson_version != '' && inputs.redisjson_version || env.redisjson_version }}

- name: Checkout RedisTimeSeries repository
if: inputs.modules_enabled == 'true'
uses: actions/checkout@v4
uses: actions/checkout@v6
with:
repository: RedisTimeSeries/RedisTimeSeries
path: redistimeseries
ref: ${{ inputs.redistimeseries_version != '' && inputs.redistimeseries_version || env.redistimeseries_version }}

- name: Checkout RedisBloom repository
if: inputs.modules_enabled == 'true'
uses: actions/checkout@v4
uses: actions/checkout@v6
with:
repository: RedisBloom/RedisBloom
path: redisbloom
Expand Down
2 changes: 1 addition & 1 deletion .github/actions/slack-notification/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ runs:
using: "composite"
steps:
- name: Checkout common functions
uses: actions/checkout@v4
uses: actions/checkout@v6
with:
repository: redis-developer/redis-oss-release-automation
ref: main
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/build-n-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ jobs:
matrix: ${{ steps.generate-matrix.outputs.matrix }}
steps:
- name: Checkout code
uses: actions/checkout@v4
uses: actions/checkout@v6
with:
ref: >-
${{ (github.ref_name == 'unstable'
Expand Down Expand Up @@ -99,7 +99,7 @@ jobs:
matrix: ${{ fromJson(needs.prepare-build-matrix.outputs.matrix) }}
steps:
- name: Checkout code
uses: actions/checkout@v4
uses: actions/checkout@v6
with:
ref: >-
${{ (github.ref_name == 'unstable'
Expand Down Expand Up @@ -141,10 +141,10 @@ jobs:
- alpine
steps:
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
uses: docker/setup-buildx-action@v4

- name: Log in to Container Registry
uses: docker/login-action@v3
uses: docker/login-action@v4
with:
registry: ghcr.io
username: ${{ github.actor }}
Expand Down Expand Up @@ -212,7 +212,7 @@ jobs:
EOF

- name: Upload image metadata artifact
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v7
with:
name: image-metadata-${{ matrix.distribution }}-multi-arch
path: /tmp/image-metadata/${{ matrix.distribution }}-multi-arch.json
Expand All @@ -226,7 +226,7 @@ jobs:
docker_images_metadata: ${{ steps.collect-metadata.outputs.metadata }}
steps:
- name: Download all images metadata artifacts
uses: actions/download-artifact@v4
uses: actions/download-artifact@v7
with:
pattern: image-metadata-*
path: ./images-metadata
Expand Down Expand Up @@ -256,7 +256,7 @@ jobs:
slack_url: ${{ steps.slack-success.outputs.slack_url }}
steps:
- name: Checkout code
uses: actions/checkout@v4
uses: actions/checkout@v6

- name: Send Slack notification
id: slack-success
Expand All @@ -279,7 +279,7 @@ jobs:
slack_url: ${{ steps.slack-failure.outputs.slack_url }}
steps:
- name: Checkout code
uses: actions/checkout@v4
uses: actions/checkout@v6

- name: Send Failure Slack notification
id: slack-failure
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
uses: actions/checkout@v6
- name: Validate Dockerfiles are synced with templates
uses: ./.github/actions/validate-dockerfiles-synced

Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/release_build_and_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ jobs:
slack_fanout_msg_links: ${{ steps.slack-routing.outputs.slack_fanout_msg_links }}
steps:
- name: Checkout code
uses: actions/checkout@v4
uses: actions/checkout@v6

- name: Install release automation dependencies
uses: ./.github/actions/release-automation-install
Expand Down Expand Up @@ -124,7 +124,7 @@ jobs:
fi

- name: Log in to Container Registry
uses: docker/login-action@v3
uses: docker/login-action@v4
with:
registry: ghcr.io
username: ${{ github.actor }}
Expand Down Expand Up @@ -179,7 +179,7 @@ jobs:
runs-on: ["ubuntu-latest"]
steps:
- name: Checkout code
uses: actions/checkout@v4
uses: actions/checkout@v6

- name: Ensure Release Branch
if: github.event.inputs.run_type == 'release'
Expand Down Expand Up @@ -258,7 +258,7 @@ jobs:
cat result.json | jq '.'

- name: Upload release handle artifact
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v7
with:
name: release_handle
path: result.json
Expand All @@ -275,7 +275,7 @@ jobs:
runs-on: ["ubuntu-latest"]
steps:
- name: Checkout code
uses: actions/checkout@v4
uses: actions/checkout@v6

- name: Post announcement link to Slack
uses: ./.github/actions/slack-notification
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/release_publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
runs-on: ["ubuntu-latest"]
steps:
- name: Checkout code
uses: actions/checkout@v4
uses: actions/checkout@v6

- name: Parse release handle and validate
id: parse-release
Expand Down Expand Up @@ -124,7 +124,7 @@ jobs:
fi

- name: Checkout official-images repo
uses: actions/checkout@v4
uses: actions/checkout@v6
with:
path: official-images
repository: ${{ github.event.inputs.pr_to_official_library == 'true' && env.TARGET_OFFICIAL_IMAGES_REPO || env.FORKED_OFFICIAL_IMAGES_REPO }}
Expand All @@ -133,10 +133,10 @@ jobs:
uses: ./.github/actions/release-automation-install

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
uses: docker/setup-buildx-action@v4

- name: Log in to Container Registry
uses: docker/login-action@v3
uses: docker/login-action@v4
with:
registry: ghcr.io
username: ${{ github.actor }}
Expand Down Expand Up @@ -189,7 +189,7 @@ jobs:

- name: Create pull request to official-images
id: create-pr
uses: peter-evans/create-pull-request@v7
uses: peter-evans/create-pull-request@v8
with:
token: ${{ secrets.GH_TOKEN_FOR_PR_2 }}
draft: true
Expand Down Expand Up @@ -271,7 +271,7 @@ jobs:
cat result.json | jq '.'

- name: Upload release info artifact
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v7
with:
name: release_info
path: result.json
Expand Down