Skip to content

Commit eac0c35

Browse files
chore: replace akka resolver (#32741)
1 parent 8f8ab2f commit eac0c35

17 files changed

Lines changed: 114 additions & 9 deletions

.github/workflows/binary-compatibility-checks.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ on:
99
- v2.6.*
1010
- v2.7.*
1111

12+
env:
13+
CLOUDSMITH_MACHINE_AKKA_CREDS: ${{ secrets.CLOUDSMITH_MACHINE_AKKA_CREDS }}
14+
1215
permissions:
1316
contents: read
1417

@@ -45,6 +48,11 @@ jobs:
4548
with:
4649
jvm: temurin:1.11
4750

51+
- name: Set up Akka resolver
52+
run: |-
53+
mkdir ~/.sbt
54+
printf "%s" "$CLOUDSMITH_MACHINE_AKKA_CREDS" > ~/.sbt/.credentials
55+
4856
- name: Test/compile
4957
run: |-
5058
cp .jvmopts-ci .jvmopts

.github/workflows/build-test-prValidation.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ concurrency:
88
group: ci-${{ github.ref }}
99
cancel-in-progress: true
1010

11+
env:
12+
CLOUDSMITH_MACHINE_AKKA_CREDS: ${{ secrets.CLOUDSMITH_MACHINE_AKKA_CREDS }}
13+
1114
permissions:
1215
contents: read
1316

@@ -36,6 +39,11 @@ jobs:
3639
with:
3740
jvm: temurin:1.11
3841

42+
- name: Set up Akka resolver
43+
run: |-
44+
mkdir ~/.sbt
45+
printf "%s" "$CLOUDSMITH_MACHINE_AKKA_CREDS" > ~/.sbt/.credentials
46+
3947
- name: Code style check
4048
run: |-
4149
cp .jvmopts-ci .jvmopts
@@ -68,6 +76,11 @@ jobs:
6876
with:
6977
jvm: temurin:1.11
7078

79+
- name: Set up Akka resolver
80+
run: |-
81+
mkdir ~/.sbt
82+
printf "%s" "$CLOUDSMITH_MACHINE_AKKA_CREDS" > ~/.sbt/.credentials
83+
7184
- name: sbt validatePullRequest
7285
run: |-
7386
cp .jvmopts-ci .jvmopts

.github/workflows/check-samples.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@ concurrency:
1111
group: ci-${{ github.ref }}
1212
cancel-in-progress: true
1313

14+
env:
15+
CLOUDSMITH_MACHINE_AKKA_CREDS: ${{ secrets.CLOUDSMITH_MACHINE_AKKA_CREDS }}
16+
1417
permissions:
1518
contents: read
1619

@@ -44,6 +47,11 @@ jobs:
4447
with:
4548
jvm: temurin:1.17
4649

50+
- name: Set up Akka resolver
51+
run: |-
52+
mkdir ~/.sbt
53+
printf "%s" "$CLOUDSMITH_MACHINE_AKKA_CREDS" > ~/.sbt/.credentials
54+
4755
- name: Gather version
4856
# some cleanup of the sbt output to get the version sbt will use when publishing below
4957
run: |-

.github/workflows/fossa.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ on:
55
schedule:
66
- cron: '0 0 * * 6' # At 00:00 on saturdays
77

8+
env:
9+
CLOUDSMITH_MACHINE_AKKA_CREDS: ${{ secrets.CLOUDSMITH_MACHINE_AKKA_CREDS }}
10+
811
permissions:
912
contents: read
1013

@@ -34,6 +37,11 @@ jobs:
3437
with:
3538
jvm: temurin:1.17
3639

40+
- name: Set up Akka resolver
41+
run: |-
42+
mkdir ~/.sbt
43+
printf "%s" "$CLOUDSMITH_MACHINE_AKKA_CREDS" > ~/.sbt/.credentials
44+
3745
- name: FOSSA policy check
3846
run: |-
3947
curl -H 'Cache-Control: no-cache' https://raw.githubusercontent.com/fossas/fossa-cli/master/install-latest.sh | bash

.github/workflows/link-validator.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ on:
55
- cron: '0 6 * * 1'
66
workflow_dispatch:
77

8+
env:
9+
CLOUDSMITH_MACHINE_AKKA_CREDS: ${{ secrets.CLOUDSMITH_MACHINE_AKKA_CREDS }}
10+
811
permissions:
912
contents: read
1013

@@ -39,7 +42,12 @@ jobs:
3942
with:
4043
jvm: temurin:1.11
4144
apps: cs
42-
45+
46+
- name: Set up Akka resolver
47+
run: |-
48+
mkdir ~/.sbt
49+
printf "%s" "$CLOUDSMITH_MACHINE_AKKA_CREDS" > ~/.sbt/.credentials
50+
4351
- name: Add additional CA certs
4452
run: |
4553
JAVA_HOME=$(cs java-home --jvm adopt:11)

.github/workflows/multi-node-aeron.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ permissions:
1313

1414
env:
1515
USE_GKE_GCLOUD_AUTH_PLUGIN: True
16+
CLOUDSMITH_MACHINE_AKKA_CREDS: ${{ secrets.CLOUDSMITH_MACHINE_AKKA_CREDS }}
1617

1718
concurrency:
1819
# Only run once for latest commit per ref and cancel other (previous) runs.
@@ -74,6 +75,11 @@ jobs:
7475
with:
7576
jvm: temurin:1.17
7677

78+
- name: Set up Akka resolver
79+
run: |-
80+
mkdir ~/.sbt
81+
printf "%s" "$CLOUDSMITH_MACHINE_AKKA_CREDS" > ~/.sbt/.credentials
82+
7783
- name: Multi node test with Artery Aeron UDP
7884
run: |
7985
cat multi-node-test.hosts

.github/workflows/multi-node.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ permissions:
1212

1313
env:
1414
USE_GKE_GCLOUD_AUTH_PLUGIN: True
15+
CLOUDSMITH_MACHINE_AKKA_CREDS: ${{ secrets.CLOUDSMITH_MACHINE_AKKA_CREDS }}
1516

1617
concurrency:
1718
# Only run once for latest commit per ref and cancel other (previous) runs.
@@ -74,6 +75,11 @@ jobs:
7475
with:
7576
jvm: temurin:1.17
7677

78+
- name: Set up Akka resolver
79+
run: |-
80+
mkdir ~/.sbt
81+
printf "%s" "$CLOUDSMITH_MACHINE_AKKA_CREDS" > ~/.sbt/.credentials
82+
7783
- name: Multi node test
7884
run: |
7985
cat multi-node-test.hosts

.github/workflows/native-image-tests.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ on:
55
- cron: "0 0 * * *"
66
workflow_dispatch:
77

8+
env:
9+
CLOUDSMITH_MACHINE_AKKA_CREDS: ${{ secrets.CLOUDSMITH_MACHINE_AKKA_CREDS }}
10+
811
permissions:
912
contents: read
1013

@@ -38,6 +41,11 @@ jobs:
3841
with:
3942
jvm: temurin:1.11
4043

44+
- name: Set up Akka resolver
45+
run: |-
46+
mkdir ~/.sbt
47+
printf "%s" "$CLOUDSMITH_MACHINE_AKKA_CREDS" > ~/.sbt/.credentials
48+
4149
- name: Gather version
4250
# some cleanup of the sbt output to get the version sbt will use when publishing below
4351
run: |-

.github/workflows/nightly-builds.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ on:
55
- cron: "0 0 * * *"
66
workflow_dispatch:
77

8+
env:
9+
CLOUDSMITH_MACHINE_AKKA_CREDS: ${{ secrets.CLOUDSMITH_MACHINE_AKKA_CREDS }}
10+
811
permissions:
912
contents: read
1013
# scacap/action-surefire-report (see https://github.com/ScaCap/action-surefire-report/pull/88/files)
@@ -38,6 +41,11 @@ jobs:
3841
with:
3942
jvm: temurin:1.11
4043

44+
- name: Set up Akka resolver
45+
run: |-
46+
mkdir ~/.sbt
47+
printf "%s" "$CLOUDSMITH_MACHINE_AKKA_CREDS" > ~/.sbt/.credentials
48+
4149
- name: sbt akka-cluster-metrics/test
4250
run: |-
4351
cp .jvmopts-ci .jvmopts

.github/workflows/publish-docs.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@ on:
1010
- docs/v*
1111
tags: ["*"]
1212

13+
env:
14+
CLOUDSMITH_MACHINE_AKKA_CREDS: ${{ secrets.CLOUDSMITH_MACHINE_AKKA_CREDS }}
15+
1316
permissions:
1417
contents: read
1518

@@ -34,6 +37,11 @@ jobs:
3437
with:
3538
jvm: temurin:1.11
3639

40+
- name: Set up Akka resolver
41+
run: |-
42+
mkdir ~/.sbt
43+
printf "%s" "$CLOUDSMITH_MACHINE_AKKA_CREDS" > ~/.sbt/.credentials
44+
3745
- name: Publish
3846
run: |-
3947
scripts/prepare-downloads.sh

0 commit comments

Comments
 (0)