Skip to content

Commit 85b1e18

Browse files
authored
Merge branch 'main' into dependabot/gradle/com.google.code.gson-gson-2.13.1
2 parents 4ed7bfa + d8cb105 commit 85b1e18

File tree

611 files changed

+10450
-24536
lines changed

Some content is hidden

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

611 files changed

+10450
-24536
lines changed

.github/workflows/ai-nightlies.yml

Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
1+
name: Firebase AI Nightlies
2+
3+
on:
4+
schedule:
5+
- cron: 2 7 * * * # Runs automatically once a day
6+
workflow_dispatch: # Allow triggering the workflow manually
7+
8+
jobs:
9+
nightlies:
10+
name: "Nightlies"
11+
runs-on: ubuntu-latest
12+
13+
steps:
14+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
15+
with:
16+
fetch-depth: 2
17+
submodules: true
18+
19+
- name: Enable KVM
20+
run: |
21+
echo 'KERNEL=="kvm", GROUP="kvm", MODE="0666", OPTIONS+="static_node=kvm"' | sudo tee /etc/udev/rules.d/99-kvm4all.rules
22+
sudo udevadm control --reload-rules
23+
sudo udevadm trigger --name-match=kvm
24+
25+
- name: Set up JDK 17
26+
uses: actions/setup-java@3a4f6e1af504cf6a31855fa899c6aa5355ba6c12 # v4.7.0
27+
with:
28+
java-version: 17
29+
distribution: temurin
30+
cache: gradle
31+
32+
- name: Add google-services.json
33+
env:
34+
INTEG_TESTS_GOOGLE_SERVICES: ${{ secrets.INTEG_TESTS_GOOGLE_SERVICES }}
35+
run: |
36+
echo $INTEG_TESTS_GOOGLE_SERVICES | base64 -d > google-services.json
37+
- uses: google-github-actions/auth@71f986410dfbc7added4569d411d040a91dc6935 # v2.1.8
38+
with:
39+
credentials_json: ${{ secrets.GCP_SERVICE_ACCOUNT }}
40+
41+
- uses: google-github-actions/setup-gcloud@77e7a554d41e2ee56fc945c52dfd3f33d12def9a # v2.1.4
42+
43+
- name: Run tests
44+
uses: reactivecircus/android-emulator-runner@62dbb605bba737720e10b196cb4220d374026a6d #v2.33.0
45+
env:
46+
FIREBASE_CI: 1
47+
FTL_RESULTS_BUCKET: android-ci
48+
FTL_RESULTS_DIR: ${{ format('logs/{0}/{1}_{2}/artifacts/', github.workflow, github.run_id, github.run_attempt) }}
49+
FIREBASE_APP_CHECK_DEBUG_SECRET: ${{ secrets.FIREBASE_APP_CHECK_DEBUG_SECRET }}
50+
with:
51+
api-level: 31
52+
arch: x86_64
53+
ram-size: 4096M
54+
heap-size: 4096M
55+
script: |
56+
adb logcat -v time > logcat.txt &
57+
./gradlew firebase-ai:connectedCheck withErrorProne -PtargetBackend="prod"
58+
59+
- name: Upload logs
60+
if: failure()
61+
uses: actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # v4.6.1
62+
with:
63+
name: logcat.txt
64+
path: logcat.txt
65+
retention-days: 7
66+
if-no-files-found: ignore

.github/workflows/ci_tests.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -56,10 +56,6 @@ jobs:
5656
distribution: temurin
5757
cache: gradle
5858

59-
- name: Clone vertexai mock responses
60-
if: matrix.module == ':firebase-vertexai'
61-
run: firebase-vertexai/update_responses.sh
62-
6359
- name: Clone ai mock responses
6460
if: matrix.module == ':firebase-ai'
6561
run: firebase-ai/update_responses.sh
@@ -76,6 +72,7 @@ jobs:
7672
run: |
7773
./gradlew ${{matrix.module}}:check withErrorProne
7874
- name: Compute upload file name
75+
if: always()
7976
run: |
8077
MODULE=${{matrix.module}}
8178
echo "ARTIFACT_NAME=${MODULE//:/_}" >> $GITHUB_ENV
@@ -172,3 +169,5 @@ jobs:
172169
if: always()
173170
with:
174171
files: "artifacts/**/*.xml"
172+
comment_mode: off
173+
compare_to_earlier_commit: false

.github/workflows/dataconnect.yml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ env:
3434
FDC_JAVA_VERSION: ${{ inputs.javaVersion || '17' }}
3535
FDC_ANDROID_EMULATOR_API_LEVEL: ${{ inputs.androidEmulatorApiLevel || '34' }}
3636
FDC_NODEJS_VERSION: ${{ inputs.nodeJsVersion || '20' }}
37-
FDC_FIREBASE_TOOLS_VERSION: ${{ inputs.firebaseToolsVersion || '14.5.1' }}
37+
FDC_FIREBASE_TOOLS_VERSION: ${{ inputs.firebaseToolsVersion || '14.12.0' }}
3838
FDC_FIREBASE_TOOLS_DIR: /tmp/firebase-tools
3939
FDC_FIREBASE_COMMAND: /tmp/firebase-tools/node_modules/.bin/firebase
4040
FDC_PYTHON_VERSION: ${{ inputs.pythonVersion || '3.13' }}
@@ -271,6 +271,17 @@ jobs:
271271
with:
272272
args: -color /github/workspace/.github/workflows/dataconnect.yml
273273

274+
shellcheck:
275+
continue-on-error: false
276+
runs-on: ubuntu-latest
277+
steps:
278+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
279+
with:
280+
show-progress: false
281+
sparse-checkout: 'firebase-dataconnect/'
282+
- name: shellcheck
283+
run: find . -name '*.sh' -print0 | xargs --verbose -0 shellcheck --norc --enable=all --shell=bash
284+
274285
python-ci-unit-tests:
275286
continue-on-error: false
276287
runs-on: ubuntu-latest

.github/workflows/dataconnect_demo_app.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ on:
1818

1919
env:
2020
FDC_NODE_VERSION: ${{ inputs.nodeVersion || '20' }}
21-
FDC_FIREBASE_TOOLS_VERSION: ${{ inputs.firebaseToolsVersion || '14.5.1' }}
21+
FDC_FIREBASE_TOOLS_VERSION: ${{ inputs.firebaseToolsVersion || '14.12.0' }}
2222
FDC_JAVA_VERSION: ${{ inputs.javaVersion || '17' }}
2323
FDC_FIREBASE_TOOLS_DIR: ${{ github.workspace }}/firebase-tools
2424
FDC_FIREBASE_COMMAND: ${{ github.workspace }}/firebase-tools/node_modules/.bin/firebase

.github/workflows/metalava-semver-check.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,10 @@ jobs:
1111
permissions:
1212
pull-requests: write
1313
steps:
14-
- name: Checkout PR
14+
- name: Checkout main
1515
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
16+
with:
17+
ref: ${{ github.base_ref }}
1618

1719
- name: Set up JDK 17
1820
uses: actions/setup-java@3a4f6e1af504cf6a31855fa899c6aa5355ba6c12 # v4.7.0
@@ -21,13 +23,13 @@ jobs:
2123
distribution: temurin
2224
cache: gradle
2325

24-
- name: Copy new api.txt files
26+
- name: Copy existing api.txt files
2527
run: ./gradlew copyApiTxtFile
2628

27-
- name: Checkout main
29+
- name: Checkout PR
2830
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
2931
with:
30-
ref: ${{ github.base_ref }}
32+
ref: ${{ github.head_ref || github.ref_name }}
3133
clean: false
3234

3335
- name: Run Metalava SemVer check

README.md

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -63,11 +63,6 @@ Unit tests can be executed on the command line by running
6363
./gradlew :<firebase-project>:check
6464
```
6565

66-
#### Vertex AI for Firebase
67-
68-
See the Vertex AI for Firebase [README](firebase-vertexai#running-tests) for setup
69-
instructions specific to that project.
70-
7166
### Integration Testing
7267

7368
These are tests that run on a hardware device or emulator. These tests have

appcheck/firebase-appcheck-debug-testing/CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
# Unreleased
22

33

4+
# 19.0.0
5+
* [unchanged] Updated to keep [app_check] SDK versions aligned.
6+
47
# 18.0.0
58
* [changed] Bump internal dependencies
69

appcheck/firebase-appcheck-debug-testing/firebase-appcheck-debug-testing.gradle

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ firebaseLibrary {
2323
releaseNotes {
2424
name.set("{{app_check}} Debug Testing")
2525
versionName.set("appcheck-debug-testing")
26-
hasKTX.set(false)
2726
}
2827
}
2928

@@ -55,8 +54,8 @@ dependencies {
5554
api project(':appcheck:firebase-appcheck')
5655
api project(':appcheck:firebase-appcheck-debug')
5756
api 'com.google.firebase:firebase-appcheck-interop:17.0.0'
58-
api 'com.google.firebase:firebase-common:21.0.0'
59-
api 'com.google.firebase:firebase-components:18.0.0'
57+
api 'com.google.firebase:firebase-common:22.0.0'
58+
api 'com.google.firebase:firebase-components:19.0.0'
6059

6160
implementation libs.androidx.test.core
6261
implementation libs.playservices.base
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
version=18.0.1
2-
latestReleasedVersion=18.0.0
1+
version=19.0.1
2+
latestReleasedVersion=19.0.0

appcheck/firebase-appcheck-debug/CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
# Unreleased
22

33

4+
# 19.0.0
5+
* [unchanged] Updated to keep [app_check] SDK versions aligned.
6+
47
# 18.0.0
58
* [changed] Bump internal dependencies
69

0 commit comments

Comments
 (0)