|
|
1
|
+# Run every marionette suite twice: once with the default prefs and once
|
|
|
2
|
+# with the extra pref(s) below. The empty entry is the default run.
|
|
|
3
|
+.marionette-variants:
|
|
|
4
|
+ parallel:
|
|
|
5
|
+ matrix:
|
|
|
6
|
+ - EXTRA_PREF_ARGS:
|
|
|
7
|
+ - ""
|
|
|
8
|
+ - "--setpref=browser.tor_provider.oxidize=true"
|
|
|
9
|
+ # These are end-to-end tests and can be flaky due to network issues.
|
|
|
10
|
+ # Try up to three time (the first run plus two retries, which is GitLab's
|
|
|
11
|
+ # maximum) before accepting a failure.
|
|
|
12
|
+ retry: 2
|
|
|
13
|
+
|
|
1
|
14
|
debian-x86_64_marionette:
|
|
2
|
|
- extends: .debian-x86_64
|
|
|
15
|
+ extends: [.debian-x86_64, .marionette-variants]
|
|
3
|
16
|
stage: test-marionette
|
|
4
|
17
|
script:
|
|
5
|
18
|
- >
|
| ... |
... |
@@ -9,9 +22,10 @@ debian-x86_64_marionette: |
|
9
|
22
|
--test-packages-url "$ARTIFACTS_URL/target.test_packages.json"
|
|
10
|
23
|
--headless
|
|
11
|
24
|
$TAGS
|
|
|
25
|
+ $EXTRA_PREF_ARGS
|
|
12
|
26
|
|
|
13
|
27
|
macos-x86_64_marionette:
|
|
14
|
|
- extends: .macos-x86_64
|
|
|
28
|
+ extends: [.macos-x86_64, .marionette-variants]
|
|
15
|
29
|
stage: test-marionette
|
|
16
|
30
|
script:
|
|
17
|
31
|
- >
|
| ... |
... |
@@ -21,9 +35,10 @@ macos-x86_64_marionette: |
|
21
|
35
|
--test-packages-url "$ARTIFACTS_URL/target.test_packages.json"
|
|
22
|
36
|
--headless
|
|
23
|
37
|
$TAGS
|
|
|
38
|
+ $EXTRA_PREF_ARGS
|
|
24
|
39
|
|
|
25
|
40
|
windows-x86_64_marionette:
|
|
26
|
|
- extends: .windows-x86_64
|
|
|
41
|
+ extends: [.windows-x86_64, .marionette-variants]
|
|
27
|
42
|
stage: test-marionette
|
|
28
|
43
|
script:
|
|
29
|
44
|
- >
|
| ... |
... |
@@ -33,9 +48,10 @@ windows-x86_64_marionette: |
|
33
|
48
|
--test-packages-url "$ARTIFACTS_URL/target.test_packages.json"
|
|
34
|
49
|
--headless
|
|
35
|
50
|
($env:TAGS -split ' ')
|
|
|
51
|
+ ($env:EXTRA_PREF_ARGS -split ' ')
|
|
36
|
52
|
|
|
37
|
53
|
android-x86_64_marionette:
|
|
38
|
|
- extends: .android-x86_64
|
|
|
54
|
+ extends: [.android-x86_64, .marionette-variants]
|
|
39
|
55
|
stage: test-marionette
|
|
40
|
56
|
script:
|
|
41
|
57
|
- >
|
| ... |
... |
@@ -47,3 +63,4 @@ android-x86_64_marionette: |
|
47
|
63
|
--test-packages-url "$ARTIFACTS_URL/target.test_packages.json"
|
|
48
|
64
|
--package-name "$PACKAGE_NAME"
|
|
49
|
65
|
$TAGS
|
|
|
66
|
+ $EXTRA_PREF_ARGS |