Skip to content

Commit 52300c9

Browse files
committed
trigger everything
1 parent 3999ce1 commit 52300c9

File tree

9 files changed

+32
-18
lines changed

9 files changed

+32
-18
lines changed

.github/workflows/e2e-test.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ name: E2E Smoke Tests
1616

1717
# Allows REST trigger. Currently triggered by release-cli script during a staging run.
1818
on:
19+
#FIXME
20+
pull_request:
1921
repository_dispatch:
2022
types: [staging-tests,canary-tests]
2123

.github/workflows/test-all.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,8 @@ jobs:
7070
name: (bulk) Node.js and Browser (Chrome) Tests
7171
needs: build
7272
runs-on: ubuntu-latest
73+
env:
74+
PROJECT_CONFIG: ${{ secrets.TEST_PROJECT_CONFIG }}
7375
steps:
7476
# install Chrome first, so the correct version of webdriver can be installed by chromedriver when setting up the repo
7577
- name: install Chrome stable
@@ -87,7 +89,7 @@ jobs:
8789
node-version: 22.10.0
8890
- name: Test setup and yarn install
8991
run: |
90-
cp config/ci.config.json config/project.json
92+
echo $PROJECT_CONFIG > config/project.json
9193
yarn
9294
- name: Set start timestamp env var
9395
run: echo "FIREBASE_CI_TEST_START_TIME=$(date +%s)" >> $GITHUB_ENV
@@ -134,7 +136,7 @@ jobs:
134136
node-version: 22.10.0
135137
- name: Test setup and yarn install
136138
run: |
137-
cp config/ci.config.json config/project.json
139+
echo $PROJECT_CONFIG > config/project.json
138140
yarn
139141
- name: Set start timestamp env var
140142
run: echo "FIREBASE_CI_TEST_START_TIME=$(date +%s)" >> $GITHUB_ENV
@@ -174,7 +176,7 @@ jobs:
174176
node-version: 22.10.0
175177
- name: Test setup and yarn install
176178
run: |
177-
cp config/ci.config.json config/project.json
179+
echo $PROJECT_CONFIG > config/project.json
178180
yarn
179181
- name: Set start timestamp env var
180182
run: echo "FIREBASE_CI_TEST_START_TIME=$(date +%s)" >> $GITHUB_ENV
@@ -215,7 +217,7 @@ jobs:
215217
uses: actions/setup-node@v4
216218
with:
217219
node-version: 22.10.0
218-
- run: cp config/ci.config.json config/project.json
220+
- run: echo $PROJECT_CONFIG > config/project.json
219221
- run: yarn
220222
- run: yarn build:${{ matrix.persistence }}
221223
working-directory: integration/firestore

.github/workflows/test-changed-fcm-integration.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,10 @@ jobs:
4343
with:
4444
node-version: 22.10.0
4545
- name: Test setup and yarn install
46+
env:
47+
PROJECT_CONFIG: ${{ secrets.TEST_PROJECT_CONFIG }}
4648
run: |
47-
cp config/ci.config.json config/project.json
49+
echo $PROJECT_CONFIG > config/project.json
4850
yarn
4951
- name: build
5052
run: yarn build:changed fcm-integration

.github/workflows/test-changed-firestore-integration.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,10 @@ jobs:
4646
uses: hashicorp/setup-terraform@b9cd54a3c349d3f38e8881555d616ced269862dd
4747
- name: Terraform Init
4848
if: ${{ fromJSON(env.run_terraform_steps) }}
49+
env:
50+
PROJECT_CONFIG: ${{ secrets.TEST_PROJECT_CONFIG }}
4951
run: |
50-
cp config/ci.config.json config/project.json
52+
echo $PROJECT_CONFIG > config/project.json
5153
cd packages/firestore
5254
terraform init
5355
continue-on-error: true

.github/workflows/test-changed-firestore.yml

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ env:
2222
artifactRetentionDays: 14
2323
# Bump Node memory limit
2424
NODE_OPTIONS: "--max_old_space_size=4096"
25+
PROJECT_CONFIG: ${{ secrets.TEST_PROJECT_CONFIG }}
2526

2627
jobs:
2728
build:
@@ -47,7 +48,7 @@ jobs:
4748
sudo apt-get install google-chrome-stable
4849
- name: Test setup and yarn install
4950
run: |
50-
cp config/ci.config.json config/project.json
51+
echo $PROJECT_CONFIG > config/project.json
5152
yarn
5253
- name: build
5354
id: build
@@ -99,7 +100,7 @@ jobs:
99100
- name: Unzip build artifact
100101
run: tar xf build.tar.gz
101102
- name: Test setup and yarn install
102-
run: cp config/ci.config.json config/project.json
103+
run: echo $PROJECT_CONFIG > config/project.json
103104
- name: Run compat tests
104105
run: cd packages/firestore-compat && yarn run test:ci
105106

@@ -127,7 +128,7 @@ jobs:
127128
- name: Unzip build artifact
128129
run: tar xf build.tar.gz
129130
- name: Test setup and yarn install
130-
run: cp config/ci.config.json config/project.json
131+
run: echo $PROJECT_CONFIG > config/project.json
131132
- name: Run tests
132133
run: cd packages/firestore && yarn run ${{ matrix.test-name }}
133134
env:
@@ -186,7 +187,7 @@ jobs:
186187
- name: Unzip build artifact
187188
run: tar xf build.tar.gz
188189
- name: Test setup and yarn install
189-
run: cp config/ci.config.json config/project.json
190+
run: echo $PROJECT_CONFIG > config/project.json
190191
- name: Run compat tests
191192
run: cd packages/firestore-compat && xvfb-run yarn run test:ci
192193
env:
@@ -214,7 +215,7 @@ jobs:
214215
with:
215216
node-version: 22.10.0
216217
- name: Test setup and yarn install
217-
run: cp config/ci.config.json config/project.json
218+
run: echo $PROJECT_CONFIG > config/project.json
218219
- name: Run tests
219220
run: cd packages/firestore && xvfb-run yarn run ${{ matrix.test-name }}
220221
env:
@@ -239,7 +240,7 @@ jobs:
239240
run: tar xf build.tar.gz
240241
- name: Test setup
241242
run: |
242-
cp config/ci.config.json config/project.json
243+
echo $PROJECT_CONFIG > config/project.json
243244
npx playwright install webkit
244245
- name: Run compat tests
245246
run: cd packages/firestore-compat && yarn run test:ci
@@ -270,7 +271,7 @@ jobs:
270271
node-version: 22.10.0
271272
- name: Test setup
272273
run: |
273-
cp config/ci.config.json config/project.json
274+
echo $PROJECT_CONFIG > config/project.json
274275
npx playwright install webkit
275276
- name: Run tests
276277
run: cd packages/firestore && yarn run ${{ matrix.test-name }}

.github/workflows/test-changed-misc.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,10 @@ jobs:
4040
sudo apt-get update
4141
sudo apt-get install google-chrome-stable
4242
- name: Test setup and yarn install
43+
env:
44+
PROJECT_CONFIG: ${{ secrets.TEST_PROJECT_CONFIG }}
4345
run: |
44-
cp config/ci.config.json config/project.json
46+
echo $PROJECT_CONFIG > config/project.json
4547
yarn
4648
- name: build
4749
run: yarn build:changed misc

.github/workflows/test-changed.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ on: pull_request
1919
env:
2020
# Bump Node memory limit
2121
NODE_OPTIONS: "--max_old_space_size=4096"
22+
PROJECT_CONFIG: ${{ secrets.TEST_PROJECT_CONFIG }}
2223

2324
jobs:
2425
test-chrome:
@@ -41,7 +42,7 @@ jobs:
4142
sudo apt-get install google-chrome-stable
4243
- name: Test setup and yarn install
4344
run: |
44-
cp config/ci.config.json config/project.json
45+
echo $PROJECT_CONFIG > config/project.json
4546
yarn
4647
- name: build
4748
run: yarn build:changed core
@@ -65,7 +66,7 @@ jobs:
6566
run: npx @puppeteer/browsers install firefox@stable
6667
- name: Test setup and yarn install
6768
run: |
68-
cp config/ci.config.json config/project.json
69+
echo $PROJECT_CONFIG > config/project.json
6970
yarn
7071
- name: build
7172
run: yarn build:changed core
@@ -90,7 +91,7 @@ jobs:
9091
node-version: 22.10.0
9192
- name: Test setup and yarn install
9293
run: |
93-
cp config/ci.config.json config/project.json
94+
echo $PROJECT_CONFIG > config/project.json
9495
yarn
9596
npx playwright install webkit
9697
- name: build

packages/auth/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
* limitations under the License.
2222
*/
2323

24-
//test
24+
// FIXME test
2525

2626
// Public types
2727
export * from './src/model/public_types';

scripts/ci-test/deploy-if-needed.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@ interface DeployOptions {
3434
let config: { projectId: string };
3535
if (process.env.PROJECT_CONFIG) {
3636
config = JSON.parse(process.env.PROJECT_CONFIG);
37+
// FIXME
38+
console.log(config);
3739
}
3840

3941
/**

0 commit comments

Comments
 (0)