Skip to content
This repository was archived by the owner on May 20, 2025. It is now read-only.

Commit 4480ac2

Browse files
authored
Merge branch 'master' into master
2 parents 4258b0f + 2b37595 commit 4480ac2

File tree

95 files changed

+52043
-11464
lines changed

Some content is hidden

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

95 files changed

+52043
-11464
lines changed

.github/CODEOWNERS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
* @microsoft/appcenter-fte

.github/fabricbot.json

Lines changed: 318 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,318 @@
1+
{
2+
"version": "1.0",
3+
"tasks": [
4+
{
5+
"taskType": "scheduled",
6+
"capabilityId": "ScheduledSearch",
7+
"subCapability": "ScheduledSearch",
8+
"version": "1.1",
9+
"config": {
10+
"frequency": [
11+
{
12+
"weekDay": 0,
13+
"hours": [
14+
2,
15+
6,
16+
10,
17+
14,
18+
18,
19+
22
20+
],
21+
"timezoneOffset": 1
22+
},
23+
{
24+
"weekDay": 1,
25+
"hours": [
26+
2,
27+
6,
28+
10,
29+
14,
30+
18,
31+
22
32+
],
33+
"timezoneOffset": 1
34+
},
35+
{
36+
"weekDay": 2,
37+
"hours": [
38+
2,
39+
6,
40+
10,
41+
14,
42+
18,
43+
22
44+
],
45+
"timezoneOffset": 1
46+
},
47+
{
48+
"weekDay": 3,
49+
"hours": [
50+
2,
51+
6,
52+
10,
53+
14,
54+
18,
55+
22
56+
],
57+
"timezoneOffset": 1
58+
},
59+
{
60+
"weekDay": 4,
61+
"hours": [
62+
2,
63+
6,
64+
10,
65+
14,
66+
18,
67+
22
68+
],
69+
"timezoneOffset": 1
70+
},
71+
{
72+
"weekDay": 5,
73+
"hours": [
74+
2,
75+
6,
76+
10,
77+
14,
78+
18,
79+
22
80+
],
81+
"timezoneOffset": 1
82+
},
83+
{
84+
"weekDay": 6,
85+
"hours": [
86+
2,
87+
6,
88+
10,
89+
14,
90+
18,
91+
22
92+
],
93+
"timezoneOffset": 1
94+
}
95+
],
96+
"searchTerms": [
97+
{
98+
"name": "isOpen",
99+
"parameters": {}
100+
},
101+
{
102+
"name": "noLabel",
103+
"parameters": {
104+
"label": "bug"
105+
}
106+
},
107+
{
108+
"name": "noLabel",
109+
"parameters": {
110+
"label": "security"
111+
}
112+
},
113+
{
114+
"name": "noLabel",
115+
"parameters": {
116+
"label": "stale"
117+
}
118+
},
119+
{
120+
"name": "noLabel",
121+
"parameters": {
122+
"label": "do not close"
123+
}
124+
},
125+
{
126+
"name": "noActivitySince",
127+
"parameters": {
128+
"days": 60
129+
}
130+
},
131+
{
132+
"name": "isIssue",
133+
"parameters": {}
134+
},
135+
{
136+
"name": "noAssignees",
137+
"parameters": {}
138+
}
139+
],
140+
"taskName": "Mark issues as stale (60 days)",
141+
"actions": [
142+
{
143+
"name": "addLabel",
144+
"parameters": {
145+
"label": "stale"
146+
}
147+
},
148+
{
149+
"name": "addReply",
150+
"parameters": {
151+
"comment": "This issue has been automatically marked as stale because it has not had any activity for 60 days. It will be closed if no further activity occurs within 15 days of this comment."
152+
}
153+
}
154+
]
155+
},
156+
"id": "v8RMdulExiln5tDIcHkDG"
157+
},
158+
{
159+
"taskType": "trigger",
160+
"capabilityId": "IssueResponder",
161+
"subCapability": "IssueCommentResponder",
162+
"version": "1.0",
163+
"config": {
164+
"conditions": {
165+
"operator": "and",
166+
"operands": [
167+
{
168+
"name": "hasLabel",
169+
"parameters": {
170+
"label": "stale"
171+
}
172+
}
173+
]
174+
},
175+
"eventType": "issue",
176+
"eventNames": [
177+
"issue_comment"
178+
],
179+
"taskName": "Remove stale label if someone comments",
180+
"actions": [
181+
{
182+
"name": "removeLabel",
183+
"parameters": {
184+
"label": "stale"
185+
}
186+
}
187+
]
188+
},
189+
"id": "QjKAHn8H_s2w4-FPDwsTJ"
190+
},
191+
{
192+
"taskType": "scheduled",
193+
"capabilityId": "ScheduledSearch",
194+
"subCapability": "ScheduledSearch",
195+
"version": "1.1",
196+
"config": {
197+
"frequency": [
198+
{
199+
"weekDay": 0,
200+
"hours": [
201+
0,
202+
6,
203+
12,
204+
18
205+
]
206+
},
207+
{
208+
"weekDay": 1,
209+
"hours": [
210+
0,
211+
6,
212+
12,
213+
18
214+
]
215+
},
216+
{
217+
"weekDay": 2,
218+
"hours": [
219+
0,
220+
6,
221+
12,
222+
18
223+
]
224+
},
225+
{
226+
"weekDay": 3,
227+
"hours": [
228+
0,
229+
6,
230+
12,
231+
18
232+
]
233+
},
234+
{
235+
"weekDay": 4,
236+
"hours": [
237+
0,
238+
6,
239+
12,
240+
18
241+
]
242+
},
243+
{
244+
"weekDay": 5,
245+
"hours": [
246+
0,
247+
6,
248+
12,
249+
18
250+
]
251+
},
252+
{
253+
"weekDay": 6,
254+
"hours": [
255+
0,
256+
6,
257+
12,
258+
18
259+
]
260+
}
261+
],
262+
"searchTerms": [
263+
{
264+
"name": "isOpen",
265+
"parameters": {}
266+
},
267+
{
268+
"name": "isIssue",
269+
"parameters": {}
270+
},
271+
{
272+
"name": "hasLabel",
273+
"parameters": {
274+
"label": "stale"
275+
}
276+
},
277+
{
278+
"name": "noLabel",
279+
"parameters": {
280+
"label": "bug"
281+
}
282+
},
283+
{
284+
"name": "noLabel",
285+
"parameters": {
286+
"label": "do not close"
287+
}
288+
},
289+
{
290+
"name": "noAssignees",
291+
"parameters": {}
292+
},
293+
{
294+
"name": "noActivitySince",
295+
"parameters": {
296+
"days": 15
297+
}
298+
}
299+
],
300+
"taskName": "Close Stale issues after 15 days",
301+
"actions": [
302+
{
303+
"name": "addReply",
304+
"parameters": {
305+
"comment": "This issue will now be closed because it hasn't had any activity for 15 days after stale. Please feel free to open a new issue if you still have a question/issue or suggestion."
306+
}
307+
},
308+
{
309+
"name": "closeIssue",
310+
"parameters": {}
311+
}
312+
]
313+
},
314+
"id": "9IHqeWe1Xes6__bAZYk5M"
315+
}
316+
],
317+
"userGroups": []
318+
}

.github/workflows/react-native-code-push-ci.yml

Lines changed: 33 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -11,38 +11,60 @@ jobs:
1111
runs-on: macos-latest
1212
strategy:
1313
matrix:
14-
api-level: [27]
14+
api-level: [ 27 ]
1515
steps:
1616
- name: Checkout
17-
uses: actions/checkout@v2
17+
uses: actions/checkout@v3
1818
- name: Start adb server
1919
run: adb devices
20+
- name: Gradle cache
21+
uses: gradle/gradle-build-action@v2
2022
- name: Download system image "android-${{ matrix.api-level }}"
2123
run: $ANDROID_HOME/tools/bin/sdkmanager "system-images;android-${{ matrix.api-level }};google_apis;x86"
2224
- name: Create android emulator
2325
run: $ANDROID_HOME/tools/bin/avdmanager create avd --force --name TestEmulator --abi google_apis/x86 --package 'system-images;android-${{ matrix.api-level }};google_apis;x86' --device "Nexus 6P"
2426
- name: Start android emulator
2527
run: $ANDROID_HOME/emulator/emulator -avd TestEmulator -noaudio -no-window -no-snapshot-save -no-boot-anim -memory 6144 &
26-
- run: sleep 120
28+
- name: Wait for emulator to boot
29+
run: $ANDROID_HOME/platform-tools/adb wait-for-device shell 'while [[ -z $(getprop sys.boot_completed | tr -d '\r') ]]; do sleep 1; done'
2730
- run: adb shell settings put global window_animation_scale 0.0
2831
- run: adb shell settings put global transition_animation_scale 0.0
2932
- run: adb shell settings put global animator_duration_scale 0.0
33+
- name: Setup Java
34+
uses: actions/setup-java@v3
35+
with:
36+
distribution: 'microsoft'
37+
java-version: '11'
38+
- name: Setup Ruby
39+
uses: ruby/setup-ruby@v1
40+
with:
41+
ruby-version: '2.7.6'
42+
bundler-cache: true
3043
- name: Package Installation
3144
run: npm install
32-
- name: Install react-native-cli
33-
run: npm install react-native-cli
34-
- name: test:android
35-
run: npm run test:android
45+
- name: Setup Android tests
46+
run: npm run build:tests && npm run test:setup:android
47+
- name: Run Android test
48+
run: npm run test:fast:android
3649

3750
test-iOS:
3851
name: Test iOS app
3952
runs-on: macos-latest
53+
env:
54+
NO_FLIPPER: ${{ secrets.NO_FLIPPER }}
4055
steps:
4156
- name: Checkout
4257
uses: actions/checkout@v2
43-
- name: Install dependecies
58+
- name: Setup Ruby
59+
uses: ruby/setup-ruby@v1
60+
with:
61+
ruby-version: '2.7.6'
62+
bundler-cache: true
63+
- name: (Workaround) Install activesupport 7.0.8
64+
run: gem install activesupport -v 7.0.8
65+
- name: Install dependencies
4466
run: npm install
45-
- name: Install react-native-cli
46-
run: npm install react-native-cli
67+
- name: Setup iOS tests
68+
run: npm run build:tests && npm run test:setup:ios
4769
- name: Run tests
48-
run: npm run test:ios
70+
run: npm run test:fast:ios

0 commit comments

Comments
 (0)