Skip to content

Commit e6af0d9

Browse files
authored
[DNM] Update database.yml
1 parent a2db3ae commit e6af0d9

File tree

1 file changed

+70
-72
lines changed

1 file changed

+70
-72
lines changed

.github/workflows/database.yml

Lines changed: 70 additions & 72 deletions
Original file line numberDiff line numberDiff line change
@@ -7,17 +7,17 @@ on:
77
workflow_dispatch:
88
pull_request:
99
paths:
10-
- 'FirebaseDatabase**'
11-
- 'Firebase/Database/**'
12-
- 'FirebaseSharedSwift**'
13-
- 'Example/Database/**'
14-
- 'FirebaseAuth/Interop/*.h'
10+
# - 'FirebaseDatabase**'
11+
# - 'Firebase/Database/**'
12+
# - 'FirebaseSharedSwift**'
13+
# - 'Example/Database/**'
14+
# - 'FirebaseAuth/Interop/*.h'
1515
- '.github/workflows/database.yml'
16-
- '.github/workflows/common.yml'
17-
- '.github/workflows/common_cocoapods.yml'
18-
- '.github/workflows/common_catalyst.yml'
19-
- 'Gemfile*'
20-
- 'scripts/run_database_emulator.sh'
16+
# - '.github/workflows/common.yml'
17+
# - '.github/workflows/common_cocoapods.yml'
18+
# - '.github/workflows/common_catalyst.yml'
19+
# - 'Gemfile*'
20+
# - 'scripts/run_database_emulator.sh'
2121
schedule:
2222
# Run every day at 2am (PST) - cron uses UTC times
2323
- cron: '0 10 * * *'
@@ -27,26 +27,26 @@ concurrency:
2727
cancel-in-progress: true
2828

2929
jobs:
30-
spm:
31-
strategy:
32-
matrix:
33-
target: [DatabaseUnit, DatabaseUnitSwift]
34-
uses: ./.github/workflows/common.yml
35-
with:
36-
target: ${{ matrix.target }}
30+
# spm:
31+
# strategy:
32+
# matrix:
33+
# target: [DatabaseUnit, DatabaseUnitSwift]
34+
# uses: ./.github/workflows/common.yml
35+
# with:
36+
# target: ${{ matrix.target }}
3737

38-
catalyst:
39-
uses: ./.github/workflows/common_catalyst.yml
40-
with:
41-
product: FirebaseDatabase
42-
target: FirebaseDatabase-Unit-unit
38+
# catalyst:
39+
# uses: ./.github/workflows/common_catalyst.yml
40+
# with:
41+
# product: FirebaseDatabase
42+
# target: FirebaseDatabase-Unit-unit
4343

44-
pod_lib_lint:
45-
uses: ./.github/workflows/common_cocoapods.yml
46-
with:
47-
product: FirebaseDatabase
48-
test_specs: unit
49-
buildonly_platforms: macOS
44+
# pod_lib_lint:
45+
# uses: ./.github/workflows/common_cocoapods.yml
46+
# with:
47+
# product: FirebaseDatabase
48+
# test_specs: unit
49+
# buildonly_platforms: macOS
5050

5151
integration:
5252
# Don't run on private repo unless it is a PR.
@@ -60,54 +60,52 @@ jobs:
6060
- uses: ruby/setup-ruby@354a1ad156761f5ee2b7b13fa8e09943a5e8d252 # v1
6161
- name: Setup Bundler
6262
run: scripts/setup_bundler.sh
63-
- name: Install xcpretty
64-
run: gem install xcpretty
6563
- name: Xcode
6664
run: sudo xcode-select -s /Applications/Xcode_16.4.app/Contents/Developer
6765
- name: IntegrationTest
6866
# Only iOS to mitigate flakes.
6967
run: scripts/third_party/travis/retry.sh scripts/build.sh Database iOS integration
7068

71-
quickstart:
72-
# Don't run on private repo unless it is a PR.
73-
if: (github.repository == 'Firebase/firebase-ios-sdk' && github.event_name == 'schedule') || github.event_name == 'pull_request'
74-
env:
75-
plist_secret: ${{ secrets.GHASecretsGPGPassphrase1 }}
76-
signin_secret: ${{ secrets.GHASecretsGPGPassphrase1 }}
77-
runs-on: macos-15
78-
steps:
79-
- uses: actions/checkout@v4
80-
- uses: ruby/setup-ruby@354a1ad156761f5ee2b7b13fa8e09943a5e8d252 # v1
81-
- name: Setup quickstart
82-
run: scripts/setup_quickstart.sh database
83-
- name: Install Secret GoogleService-Info.plist
84-
run: scripts/decrypt_gha_secret.sh scripts/gha-encrypted/qs-database.plist.gpg \
85-
quickstart-ios/database/GoogleService-Info.plist "$plist_secret"
86-
- name: Xcode
87-
run: sudo xcode-select -s /Applications/Xcode_16.2.app/Contents/Developer
88-
- name: Test objc quickstart
89-
run: ([ -z $plist_secret ] || scripts/third_party/travis/retry.sh scripts/test_quickstart.sh Database false)
90-
- name: Test swift quickstart
91-
run: ([ -z $plist_secret ] || scripts/third_party/travis/retry.sh scripts/test_quickstart.sh Database false swift)
69+
# quickstart:
70+
# # Don't run on private repo unless it is a PR.
71+
# if: (github.repository == 'Firebase/firebase-ios-sdk' && github.event_name == 'schedule') || github.event_name == 'pull_request'
72+
# env:
73+
# plist_secret: ${{ secrets.GHASecretsGPGPassphrase1 }}
74+
# signin_secret: ${{ secrets.GHASecretsGPGPassphrase1 }}
75+
# runs-on: macos-15
76+
# steps:
77+
# - uses: actions/checkout@v4
78+
# - uses: ruby/setup-ruby@354a1ad156761f5ee2b7b13fa8e09943a5e8d252 # v1
79+
# - name: Setup quickstart
80+
# run: scripts/setup_quickstart.sh database
81+
# - name: Install Secret GoogleService-Info.plist
82+
# run: scripts/decrypt_gha_secret.sh scripts/gha-encrypted/qs-database.plist.gpg \
83+
# quickstart-ios/database/GoogleService-Info.plist "$plist_secret"
84+
# - name: Xcode
85+
# run: sudo xcode-select -s /Applications/Xcode_16.2.app/Contents/Developer
86+
# - name: Test objc quickstart
87+
# run: ([ -z $plist_secret ] || scripts/third_party/travis/retry.sh scripts/test_quickstart.sh Database false)
88+
# - name: Test swift quickstart
89+
# run: ([ -z $plist_secret ] || scripts/third_party/travis/retry.sh scripts/test_quickstart.sh Database false swift)
9290

93-
database-cron-only:
94-
# Don't run on private repo.
95-
if: github.event_name == 'schedule' && github.repository == 'Firebase/firebase-ios-sdk'
96-
runs-on: macos-15
97-
strategy:
98-
matrix:
99-
podspec: [FirebaseDatabase.podspec]
100-
target: [ios, tvos, macos]
101-
flags: [
102-
'--skip-tests --use-static-frameworks'
103-
]
104-
needs: pod_lib_lint
105-
steps:
106-
- uses: actions/checkout@v4
107-
- uses: ruby/setup-ruby@354a1ad156761f5ee2b7b13fa8e09943a5e8d252 # v1
108-
- name: Xcode
109-
run: sudo xcode-select -s /Applications/Xcode_16.2.app/Contents/Developer
110-
- name: Setup Bundler
111-
run: scripts/setup_bundler.sh
112-
- name: PodLibLint database Cron
113-
run: scripts/third_party/travis/retry.sh scripts/pod_lib_lint.rb ${{ matrix.podspec }} --platforms=${{ matrix.target }} ${{ matrix.flags }}
91+
# database-cron-only:
92+
# # Don't run on private repo.
93+
# if: github.event_name == 'schedule' && github.repository == 'Firebase/firebase-ios-sdk'
94+
# runs-on: macos-15
95+
# strategy:
96+
# matrix:
97+
# podspec: [FirebaseDatabase.podspec]
98+
# target: [ios, tvos, macos]
99+
# flags: [
100+
# '--skip-tests --use-static-frameworks'
101+
# ]
102+
# needs: pod_lib_lint
103+
# steps:
104+
# - uses: actions/checkout@v4
105+
# - uses: ruby/setup-ruby@354a1ad156761f5ee2b7b13fa8e09943a5e8d252 # v1
106+
# - name: Xcode
107+
# run: sudo xcode-select -s /Applications/Xcode_16.2.app/Contents/Developer
108+
# - name: Setup Bundler
109+
# run: scripts/setup_bundler.sh
110+
# - name: PodLibLint database Cron
111+
# run: scripts/third_party/travis/retry.sh scripts/pod_lib_lint.rb ${{ matrix.podspec }} --platforms=${{ matrix.target }} ${{ matrix.flags }}

0 commit comments

Comments
 (0)