Skip to content

Commit e387384

Browse files
committed
Merge remote-tracking branch 'origin/main' into build/jdk-21
# Conflicts: # build-logic/build.gradle.kts # buildSrc/build.gradle.kts
2 parents 38288e8 + dcd2037 commit e387384

18 files changed

Lines changed: 116 additions & 59 deletions

‎.github/workflows/codeql-analysis.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ concurrency:
1313
jobs:
1414
analyze:
1515
name: Analyze
16-
runs-on: macos-15
16+
runs-on: ["bitrise_pool_name:tahoe"]
1717

1818
env:
1919
GRADLE_ENCRYPTION_KEY: ${{ secrets.GRADLE_ENCRYPTION_KEY }}

‎.github/workflows/format-code.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ on:
55
jobs:
66
format-code:
77
name: Format Code
8-
runs-on: ubuntu-latest
8+
runs-on: ["bitrise_pool_name:tahoe"]
99
steps:
1010
- name: Checkout
1111
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1

‎.github/workflows/generate-javadocs.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66
jobs:
77
build-and-deploy-javadocs:
88
name: Build and deploy Javadocs
9-
runs-on: ubuntu-latest
9+
runs-on: ["bitrise_pool_name:tahoe"]
1010
steps:
1111
- name: Checkout 🛎️
1212
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1

‎.github/workflows/integration-tests-macrobenchmark.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ concurrency:
1212
jobs:
1313
macrobenchmark:
1414
name: Macrobenchmark
15-
runs-on: ubuntu-latest
15+
runs-on: ["bitrise_pool_name:tahoe"]
1616

1717
# we copy the secret to the env variable in order to access it in the workflow
1818
env:

‎.github/workflows/integration-tests-size.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ concurrency:
1313
jobs:
1414
build:
1515
name: Build and Analyze SDK Size
16-
runs-on: ubuntu-latest
16+
runs-on: ["bitrise_pool_name:tahoe"]
1717

1818
env:
1919
GRADLE_ENCRYPTION_KEY: ${{ secrets.GRADLE_ENCRYPTION_KEY }}

‎.github/workflows/integration-tests-ui-critical.yml‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,9 @@ env:
2020
jobs:
2121
build:
2222
name: Build
23-
runs-on: ubuntu-latest
23+
# Only the APK build runs on Bitrise; the Maestro job below needs KVM for the
24+
# x86_64 emulator, which the macOS Bitrise VMs don't provide.
25+
runs-on: ["bitrise_pool_name:tahoe"]
2426

2527
env:
2628
GRADLE_ENCRYPTION_KEY: ${{ secrets.GRADLE_ENCRYPTION_KEY }}

‎.github/workflows/integration-tests-ui.yml‎

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ concurrency:
1212
jobs:
1313
test:
1414
name: Ui tests
15-
runs-on: ubuntu-latest
15+
runs-on: ["bitrise_pool_name:tahoe"]
1616

1717
# we copy the secret to the env variable in order to access it in the workflow
1818
env:
@@ -81,11 +81,12 @@ jobs:
8181
# Skip on PRs from forks, which don't have access to the upload secret
8282
if: ${{ !cancelled() && env.SAUCE_USERNAME != null && (github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository) }}
8383
run: |
84-
shopt -s globstar nullglob
85-
pngs=(artifacts/**/*.png)
86-
if [ ${#pngs[@]} -gt 0 ]; then
87-
mkdir -p replay-snapshots
88-
cp "${pngs[@]}" replay-snapshots/
84+
# find instead of `shopt -s globstar`, which macOS's bash 3.2 doesn't support
85+
mkdir -p replay-snapshots
86+
if [ -d artifacts ]; then
87+
find artifacts -type f -name '*.png' -exec cp {} replay-snapshots/ \;
88+
fi
89+
if [ -n "$(ls -A replay-snapshots)" ]; then
8990
sentry-cli snapshots upload ./replay-snapshots \
9091
--app-id sentry-android-replay
9192
else

‎.github/workflows/release.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
steps:
2424
- name: Get auth token
2525
id: token
26-
uses: actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1 # v3.2.0
26+
uses: actions/create-github-app-token@64ab729a6294000f5aa4a4bc0b73d1f32bc45510 # v3.3.0
2727
with:
2828
app-id: ${{ vars.SENTRY_RELEASE_BOT_CLIENT_ID }}
2929
private-key: ${{ secrets.SENTRY_RELEASE_BOT_PRIVATE_KEY }}

‎CHANGELOG.md‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
### Internal
2424

2525
- Hold the hostname cache on `SentryOptions` instead of a static singleton ([#6117](https://github.com/getsentry/sentry-java/pull/6117))
26+
- Measure the hostname cache TTL on the monotonic ticker the options provide, so that a device time change no longer shortens or extends it ([#6100](https://github.com/getsentry/sentry-java/pull/6100))
2627

2728
### Dependencies
2829

‎build-logic/build.gradle.kts‎

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,6 @@ plugins {
22
`kotlin-dsl`
33
}
44

5-
repositories {
6-
gradlePluginPortal()
7-
google()
8-
}
9-
105
dependencies {
116
implementation(libs.animalsniffer.gradle.plugin)
127
implementation(libs.spotlessLib)

0 commit comments

Comments
 (0)