Skip to content

Commit 28b18cd

Browse files
authored
chore: Rename v8 path to v9 (#632)
1 parent 73c3f24 commit 28b18cd

148 files changed

Lines changed: 619 additions & 556 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/actions/install-relay/action.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@ name: Install Relay
22
description: "Installs Relay's Go module using normal Go tooling."
33
inputs:
44
go-version:
5-
description: 'Go version to use for installation.'
5+
description: "Go version to use for installation."
66
required: true
77
relay-major:
8-
description: "Relay major version to install, e.g. 'v8'."
8+
description: "Relay major version to install, e.g. 'v9'."
99
required: false
1010
relay-version:
1111
description: "Relay semver to install e.g. 'latest'."
@@ -26,7 +26,7 @@ runs:
2626
MAJOR: ${{ inputs.relay-major }}
2727
SEMVER: ${{ inputs.relay-version }}
2828
run: |
29-
echo "major=${MAJOR:-v8}" >> $GITHUB_OUTPUT
29+
echo "major=${MAJOR:-v9}" >> $GITHUB_OUTPUT
3030
echo "semver=${SEMVER:-latest}" >> $GITHUB_OUTPUT
3131
3232
- name: Install Relay ${{ steps.rv.outputs.major }}/${{ steps.rv.outputs.semver }}

.github/workflows/check-alpine-version.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
steps:
1414
- uses: actions/checkout@v4
1515
with:
16-
ref: v8
16+
ref: v9
1717

1818
- name: Get current Alpine version
1919
id: alpine-current
@@ -47,17 +47,17 @@ jobs:
4747
commit-message: "Bumps from ${{ steps.alpine-current.outputs.version }} -> alpine:${{ steps.alpine-latest.outputs.version }}"
4848
body: |
4949
It's time to update Relay's Docker image Alpine versions. Alpine updates should generally be consumed
50-
as soon as possible since they contain patches for CVEs.
51-
52-
50+
as soon as possible since they contain patches for CVEs.
51+
52+
5353
| | Current repo configuration | Desired repo configuration |
5454
|-------------|------------------------------------|---------------------------------------------------------------------------------------------------------------------|
5555
| Alpine Version | ${{ steps.alpine-current.outputs.version }} | [alpine:${{ steps.alpine-latest.outputs.version }}](https://hub.docker.com/_/alpine/tags) |
56-
57-
56+
57+
5858
This PR's change was generated by running:
5959
```bash
6060
./scripts/update-alpine-version.sh ${{ steps.alpine-latest.outputs.version }}
6161
```
62-
62+
6363
- [ ] I have triggered CI on this PR (either close & reopen this PR in Github UI, or `git commit -m "run ci" --allow-empty && git push`)

.github/workflows/check-go-versions.yml

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
name: Check Supported Go Versions
22
on:
33
schedule:
4-
- cron: "0 17 * * *"
4+
- cron: "0 17 * * *"
55
workflow_dispatch:
66

77
jobs:
88
check-go-eol:
99
runs-on: ubuntu-latest
1010
outputs:
11-
latest: ${{ steps.parse.outputs.latest }}
12-
penultimate: ${{ steps.parse.outputs.penultimate }}
11+
latest: ${{ steps.parse.outputs.latest }}
12+
penultimate: ${{ steps.parse.outputs.penultimate }}
1313
timeout-minutes: 2
1414
steps:
1515
- uses: actions/checkout@v4
@@ -28,7 +28,6 @@ jobs:
2828
echo "latest=${{ fromJSON(env.fetch-api-data)[0].latest }}" >> $GITHUB_OUTPUT
2929
echo "penultimate=${{ fromJSON(env.fetch-api-data)[1].latest }}" >> $GITHUB_OUTPUT
3030
31-
3231
create-prs:
3332
permissions:
3433
contents: write
@@ -41,11 +40,11 @@ jobs:
4140
steps:
4241
- uses: actions/checkout@v4
4342
with:
44-
ref: v8
43+
ref: v9
4544

4645
- name: Get current Go versions
4746
id: go-versions
48-
run: cat ./.github/variables/go-versions.env > $GITHUB_OUTPUT
47+
run: cat ./.github/variables/go-versions.env > $GITHUB_OUTPUT
4948

5049
- name: Run update script
5150
if: steps.go-versions.outputs.latest != env.officialLatestVersion
@@ -69,10 +68,10 @@ jobs:
6968
body: |
7069
It's time to update Relay's supported Go versions, due to a recent upstream Go release.
7170
72-
The Go major release cadence is ~every 6 months; the two most recent major versions are supported.
73-
Note that between major releases, the Go team often ships multiple minor versions.
74-
75-
71+
The Go major release cadence is ~every 6 months; the two most recent major versions are supported.
72+
Note that between major releases, the Go team often ships multiple minor versions.
73+
74+
7675
| | Current repo configuration | Desired repo configuration |
7776
|-------------|------------------------------------|---------------------------------------------------------------------------------------------------------------------|
7877
| Latest | ${{ steps.go-versions.outputs.latest }} | [${{ env.officialLatestVersion }}](https://go.dev/doc/devel/release#go${{ env.officialLatestVersion }}) |
@@ -83,5 +82,5 @@ jobs:
8382
```bash
8483
./scripts/update-go-release-version.sh ${{ env.officialLatestVersion }} ${{ env.officialPenultimateVersion }}
8584
```
86-
85+
8786
- [ ] I have triggered CI on this PR (either close & reopen this PR in Github UI, or `git commit -m "run ci" --allow-empty && git push`)

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
name: CI
22
on:
33
push:
4-
branches: ["v8"]
4+
branches: ["v9"]
55
paths-ignore:
66
- "**.md" # Don't run CI on markdown changes.
77
pull_request:
8-
branches: ["v8", "feat/**"]
8+
branches: ["v9", "feat/**"]
99
paths-ignore:
1010
- "**.md"
1111

.github/workflows/daily-installation-test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
strategy:
1515
matrix:
1616
go-version: ${{ fromJson(needs.go-versions.outputs.matrix) }}
17-
relay-major: ['v7', 'v8']
17+
relay-major: ['v7', 'v8', 'v9']
1818
fail-fast: false
1919
steps:
2020
- uses: actions/checkout@v4

.github/workflows/daily-integration-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
fail-fast: false
2121
matrix:
2222
environment: ['staging', 'production']
23-
branch: ['v8']
23+
branch: ['v9']
2424

2525
uses: ./.github/workflows/integration-test.yml
2626
permissions:

.github/workflows/daily-security-scan-alpine.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
scan-relay:
99
strategy:
1010
matrix:
11-
tag: ['latest', 'latest-alpine', 'v8', 'v8-alpine']
11+
tag: ["latest", "latest-alpine", "v9", "v9-alpine"]
1212
fail-fast: false
1313
runs-on: ubuntu-latest
1414
permissions:

.github/workflows/daily-security-scan-distroless.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
scan-relay:
99
strategy:
1010
matrix:
11-
tag: ['latest-static-debian12-nonroot', 'v8-static-debian12-debug-nonroot']
11+
tag: ['latest-static-debian12-nonroot', 'v9-static-debian12-debug-nonroot']
1212
fail-fast: false
1313
runs-on: ubuntu-latest
1414
permissions:

.github/workflows/release-please.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: Run Release Please
33
on:
44
push:
55
branches:
6-
- v8
6+
- v9
77

88
jobs:
99
go-versions:

config/config.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import (
44
"time"
55

66
ct "github.com/launchdarkly/go-configtypes"
7-
"github.com/launchdarkly/ld-relay/v8/internal/logging"
7+
"github.com/launchdarkly/ld-relay/v9/internal/logging"
88
)
99

1010
const (

0 commit comments

Comments
 (0)