Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
63 commits
Select commit Hold shift + click to select a range
f10decf
add compositeIndexTestQuery File
milaGGL Sep 28, 2023
cd9183f
Update project.pbxproj
milaGGL Sep 28, 2023
711a3aa
Merge branch 'master' into mila/composite-index-testing
milaGGL Sep 28, 2023
035e8ce
update terrafrom file
milaGGL Sep 28, 2023
7741b36
try adding terraform to workflow
milaGGL Sep 29, 2023
53966d4
Update firestore.yml
milaGGL Sep 29, 2023
295fcbf
Update decrypt_project_info.py
milaGGL Sep 29, 2023
8f13b6d
Update decrypt_project_info.py
milaGGL Sep 29, 2023
9313b65
Update decrypt_project_info.py
milaGGL Sep 29, 2023
d1a00e0
Update decrypt_project_info.py
milaGGL Sep 29, 2023
8e7b5cb
Update decrypt_project_info.py
milaGGL Sep 29, 2023
465a74a
Update decrypt_project_info.py
milaGGL Sep 29, 2023
4aaddbf
Update decrypt_project_info.py
milaGGL Sep 29, 2023
e84ed85
Update decrypt_project_info.py
milaGGL Sep 29, 2023
f85d914
Update decrypt_project_info.py
milaGGL Sep 29, 2023
5d2399e
Update decrypt_project_info.py
milaGGL Sep 29, 2023
81b5064
Update decrypt_project_info.py
milaGGL Sep 29, 2023
ebe35ec
Update decrypt_project_info.py
milaGGL Sep 29, 2023
843f2c4
Update decrypt_project_info.py
milaGGL Sep 29, 2023
b2cb392
Update decrypt_project_info.py
milaGGL Sep 29, 2023
1525740
what is the python version
milaGGL Sep 29, 2023
c7c6817
Update decrypt_project_info.py
milaGGL Sep 29, 2023
5b72a26
authenticate before terraform
milaGGL Sep 29, 2023
5c2793e
Update firestore.yml
milaGGL Sep 29, 2023
2cdd444
Update firestore.yml
milaGGL Sep 29, 2023
f0f301f
Update firestore.yml
milaGGL Oct 3, 2023
caec605
Merge branch 'master' into mila/composite-index-testing
milaGGL Oct 3, 2023
3d2d92b
Update firestore.yml
milaGGL Oct 3, 2023
793bec0
Update firestore.yml
milaGGL Oct 3, 2023
13b7abb
Merge branch 'mila/composite-index-testing' of github.com:firebase/fi…
milaGGL Oct 3, 2023
b410e78
Update firestore.yml
milaGGL Oct 3, 2023
529189a
Merge branch 'master' into mila/composite-index-testing
milaGGL Oct 4, 2023
86af370
add new test helpers
milaGGL Oct 4, 2023
52e1b1f
move terraform into Firestore
milaGGL Oct 4, 2023
0bec778
Merge branch 'master' into mila/composite-index-testing
milaGGL Oct 16, 2023
9e0201d
Update firestore.yml
milaGGL Oct 16, 2023
a2bf550
update README with testing guidance
milaGGL Oct 16, 2023
aa6730d
Update firestore.yml
milaGGL Oct 16, 2023
cb31d77
remove firestore-integration.json.gpg decryption
milaGGL Oct 16, 2023
2d5c23f
Update firestore.yml
milaGGL Oct 16, 2023
a5e1d7c
Revert "Update firestore.yml"
milaGGL Oct 16, 2023
997576b
Update firestore.yml
milaGGL Oct 16, 2023
867c6ee
Update firestore.yml
milaGGL Oct 16, 2023
06305cc
Update firestore.yml
milaGGL Oct 16, 2023
e7c2cc3
Update firestore.yml
milaGGL Oct 16, 2023
6f82ac8
Update firestore.yml
milaGGL Oct 16, 2023
f033335
Update firestore.yml
milaGGL Oct 16, 2023
6abb1ad
Update firestore.yml
milaGGL Oct 16, 2023
1e66334
Update firestore.yml
milaGGL Oct 16, 2023
4ffdd06
Update firestore.yml
milaGGL Oct 16, 2023
8ca479b
Update firestore.yml
milaGGL Oct 16, 2023
e5b73b6
Update firestore.yml
milaGGL Oct 16, 2023
0ded7b8
Update firestore.yml
milaGGL Oct 16, 2023
9a8f989
Merge branch 'master' into mila/composite-index-testing
milaGGL Oct 16, 2023
bba0032
Update firestore.yml
milaGGL Oct 17, 2023
08fbea3
Update firestore.yml
milaGGL Oct 17, 2023
ff71487
Update firestore.yml
milaGGL Oct 17, 2023
96a4092
Update firestore.yml
milaGGL Oct 17, 2023
5901c93
Change service account contents (#11955)
ncooke3 Oct 17, 2023
03e0df8
add ignore message to workflow
milaGGL Oct 17, 2023
cf74cd8
Update README.md
milaGGL Oct 17, 2023
d1e9572
Update firestore.yml
milaGGL Oct 18, 2023
7d51368
remove the color and weight on error message
milaGGL Oct 18, 2023
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
authenticate before terraform
  • Loading branch information
milaGGL committed Sep 29, 2023
commit 5b72a2691e5abc143973de4b51a033751a35a1cb
5 changes: 4 additions & 1 deletion .github/workflows/firestore.yml
Original file line number Diff line number Diff line change
Expand Up @@ -178,14 +178,17 @@ jobs:
Firestore/Example/App/GoogleService-Info.plist "$plist_secret"

# create composite indexes with Terraform
- name: Set up Cloud SDK
uses: google-github-actions/auth@v0
with:
credentials_json: ${{ secrets.GOOGLE_CREDENTIALS }}
- name: Setup Terraform
uses: hashicorp/setup-terraform@v2
- name: Terraform Init
run: terraform init
continue-on-error: true
- name: Terraform Apply
run: |
python --version
python scripts/decrypt_project_info.py Firestore/Example/App/GoogleService-Info.plist
terraform apply -var-file=Firestore/Example/App/project_info.json -auto-approve
rm Firestore/Example/App/project_info.json
Expand Down
8 changes: 0 additions & 8 deletions scripts/decrypt_project_info.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
import sys
import plistlib
import json
import os # Import the os module

# Check if the PLIST file path was provided as a command-line argument
if len(sys.argv) != 2:
Expand All @@ -26,17 +25,10 @@

plist_file_path = sys.argv[1]

if not os.path.isfile(plist_file_path):
print("File not found")
else:
print("File is found")

# Read the PLIST file
try:
with open(plist_file_path, 'rb') as plist_file:
print("opened")
plist_data = plistlib.readPlist(plist_file)
print("loaded")

project_id = plist_data.get('PROJECT_ID')

Expand Down