Skip to content

Commit 6db50be

Browse files
authored
Merge pull request #66 from redis/release_automation_8.2
Release automation 8.2 (#63)
2 parents 67ca1e5 + bced0ee commit 6db50be

File tree

5 files changed

+5
-27
lines changed

5 files changed

+5
-27
lines changed

.github/actions/build-binary-package/action.yml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,17 +9,10 @@ inputs:
99
arch:
1010
description: "Architecture to build for"
1111
required: true
12-
checkout_ref:
13-
description: "Ref to checkout"
14-
required: false
15-
default: ''
1612

1713
runs:
1814
using: "composite"
1915
steps:
20-
- uses: actions/checkout@v4
21-
with:
22-
ref: ${{ inputs.checkout_ref || '' }}
2316
- name: Determine build architecture
2417
shell: bash
2518
run: |

.github/actions/build-source-package/action.yml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,17 +7,10 @@ inputs:
77
release_tag:
88
description: "Release tag to build for (value 'unstable' is supported)"
99
required: false
10-
checkout_ref:
11-
description: "Ref to checkout"
12-
required: false
13-
default: ''
1410

1511
runs:
1612
using: "composite"
1713
steps:
18-
- uses: actions/checkout@v4
19-
with:
20-
ref: ${{ inputs.checkout_ref || '' }}
2114
- name: Install dependencies
2215
shell: bash
2316
run: |

.github/actions/run-smoke-tests/action.yml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,17 +9,10 @@ inputs:
99
arch:
1010
description: "Architecture to run smoke tests for"
1111
required: true
12-
checkout_ref:
13-
description: "Ref to checkout"
14-
required: false
15-
default: ''
1612

1713
runs:
1814
using: "composite"
1915
steps:
20-
- uses: actions/checkout@v4
21-
with:
22-
ref: ${{ inputs.checkout_ref || '' }}
2316
- name: Extract distribution from image
2417
id: extract_dist
2518
shell: bash

.github/workflows/build-n-test-all-distros.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,6 @@ jobs:
4949
with:
5050
dist: ${{ matrix.dist }}
5151
release_tag: ${{ inputs.release_tag }}
52-
checkout_ref: ${{ inputs.release_tag == 'unstable' && 'unstable' || '' }}
5352

5453
build-binary-package:
5554
runs-on: ${{ contains(matrix.arch, 'arm') && 'ubuntu24-arm64-2-8' || 'ubuntu-24.04' }}
@@ -78,7 +77,6 @@ jobs:
7877
dist: ${{ matrix.dist }}
7978
arch: ${{ matrix.arch }}
8079
run_id: ${{ github.run_id }}
81-
checkout_ref: ${{ inputs.release_tag == 'unstable' && 'unstable' || '' }}
8280

8381
smoke-test-archs:
8482
runs-on: ubuntu-latest
@@ -115,4 +113,3 @@ jobs:
115113
image: ${{ matrix.image }}
116114
arch: ${{ matrix.arch }}
117115
run_id: ${{ github.run_id }}
118-
checkout_ref: ${{ inputs.release_tag == 'unstable' && 'unstable' || '' }}

.github/workflows/release_publish.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -64,17 +64,19 @@ jobs:
6464
with:
6565
release_handle: ${{ github.event.inputs.release_handle }}
6666

67-
- name: Upload staging packages
67+
- name: Upload packages
6868
id: upload
6969
uses: ./.github/actions/upload-packages
7070
with:
7171
run_id: ${{ steps.parse-handle.outputs.run_id }}
7272
release_type: ${{ github.event.inputs.release_type }}
7373
gh_token: ${{ secrets.GITHUB_TOKEN }}
7474
APT_SIGNING_KEY: ${{ secrets.APT_SIGNING_KEY }}
75-
APT_S3_BUCKET: ${{ secrets.APT_S3_BUCKET_STAGING }}
7675
APT_S3_REGION: ${{ secrets.APT_S3_REGION }}
77-
APT_S3_IAM_ARN: ${{ secrets.APT_S3_IAM_ARN_STAGING }}
76+
APT_S3_BUCKET: ${{ github.event.inputs.release_type == 'public' && secrets.APT_S3_BUCKET || secrets.APT_S3_BUCKET_STAGING }}
77+
APT_S3_IAM_ARN: ${{ github.event.inputs.release_type == 'internal' && secrets.APT_S3_IAM_ARN_STAGING || '' }}
78+
APT_S3_ACCESS_KEY_ID: ${{ github.event.inputs.release_type == 'public' && secrets.APT_S3_ACCESS_KEY_ID || '' }}
79+
APT_S3_SECRET_ACCESS_KEY: ${{ github.event.inputs.release_type == 'public' && secrets.APT_S3_SECRET_ACCESS_KEY || '' }}
7880

7981
- name: Merge back to release branch
8082
id: merge-back

0 commit comments

Comments
 (0)