Skip to content

Commit 3459704

Browse files
authored
Add a workflow to run remote config on GHA (#5537)
* Add Remoteconfig Quickstart Test
1 parent 24e2393 commit 3459704

File tree

2 files changed

+35
-0
lines changed

2 files changed

+35
-0
lines changed

.github/workflows/remoteconfig.yml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
name: remoteconfig
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
pull_request:
8+
paths:
9+
- 'FirebaseRemoteConfig**'
10+
- '.github/workflows/remoteconfig.yml'
11+
- 'Gemfile'
12+
schedule:
13+
# Run every day at 11pm (PST) - cron uses UTC times
14+
- cron: '0 7 * * *'
15+
16+
jobs:
17+
18+
quickstart:
19+
env:
20+
plist_secret: ${{ secrets.GHASecretsGPGPassphrase1 }}
21+
signin_secret: ${{ secrets.GHASecretsGPGPassphrase1 }}
22+
runs-on: macOS-latest
23+
steps:
24+
- uses: actions/checkout@v2
25+
- name: Setup quickstart
26+
run: scripts/setup_quickstart.sh config
27+
- name: Install Secret GoogleService-Info.plist
28+
run: scripts/decrypt_gha_secret.sh scripts/gha-encrypted/qs-config.plist.gpg \
29+
quickstart-ios/config/GoogleService-Info.plist "$plist_secret"
30+
- name: Install Secret FIREGSignInInfo.h
31+
run: scripts/decrypt_gha_secret.sh scripts/gha-encrypted/FIREGSignInInfo.h.gpg \
32+
quickstart-ios/TestUtils/FIREGSignInInfo.h "$signin_secret"
33+
- name: Test quickstart
34+
run: ([ -z $plist_secret ] || scripts/third_party/travis/retry.sh scripts/test_quickstart.sh Config)
35+
725 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)