Skip to content

Commit a69e92f

Browse files
authored
Merge pull request #1181 from Unity-Technologies/add-stevedore-conf
Add Stevedore.conf
2 parents b833324 + d2dddb1 commit a69e92f

File tree

5 files changed

+40
-0
lines changed

5 files changed

+40
-0
lines changed

.gitlab-ci.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ build_osx_runtime:
3434
- PATH=/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin
3535
script:
3636
- git submodule update --init --recursive
37+
- cp .yamato/config/Stevedore.conf ~/Stevedore.conf
3738
- cd external/buildscripts
3839
- ./bee
3940
- cd ../..
@@ -66,6 +67,7 @@ build_osx_classlibs:
6667
- PATH=/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin
6768
script:
6869
- git submodule update --init --recursive
70+
- cp .yamato/config/Stevedore.conf ~/Stevedore.conf
6971
- cd external/buildscripts
7072
- ./bee
7173
- cd ../..
@@ -102,6 +104,7 @@ build_android:
102104
- PATH=/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin
103105
script:
104106
- git submodule update --init --recursive
107+
- cp .yamato/config/Stevedore.conf ~/Stevedore.conf
105108
- cd external/buildscripts
106109
- ./bee
107110
- cd ../..

.yamato/build_android.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
git submodule update --init --recursive
2+
cp .yamato/config/Stevedore.conf ~/Stevedore.conf
23
cd external/buildscripts
34
./bee
45
cd ../..

.yamato/build_osx_classlibs.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
git submodule update --init --recursive
2+
cp .yamato/config/Stevedore.conf ~/Stevedore.conf
23
cd external/buildscripts
34
./bee
45
cd ../..

.yamato/build_osx_runtime.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
git submodule update --init --recursive
2+
cp .yamato/config/Stevedore.conf ~/Stevedore.conf
23
cd external/buildscripts
34
./bee
45
cd ../..

.yamato/config/Stevedore.conf

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
# ~/Stevedore.conf (contact: #devs-stevedore)
2+
# Best practice config for Slough (SLO) machines
3+
4+
# Do not use OAuth interactive authorization
5+
oauth.client-id =
6+
7+
# Prevent instabilities if artifacts are requested from the wrong
8+
# repository (in which case a cache hit could mask the error).
9+
cache-folder.group-by-repo = true
10+
11+
# No proxy needed to reach build farm mirror (and as of this writing,
12+
# Stevedore does not support NO_PROXY).
13+
proxy =
14+
15+
# The timeout limits time spent waiting for the HTTP response headers.
16+
# For a cache miss, artifactory-slo won't respond until it has downloaded
17+
# the entire artifact from the origin server. 100s should be enough for
18+
# even the largest artifacts and a slow origin (e.g. 1 GB at 10 MB/s).
19+
timeout = 100000
20+
21+
# For telemetry, we DO need proxy (and with a low 5s timeout)
22+
telemetry = full
23+
telemetry.proxy = http://proxy.bf.unity3d.com:3128
24+
telemetry.tag = unity-rec-slo
25+
telemetry.timeout = 5000
26+
27+
# Use mirror for retrieving all artifacts
28+
repo.public.url = https://artifactory-slo.bf.unity3d.com/artifactory/public-generic-stevedore-public/
29+
repo.main.url = https://artifactory-slo.bf.unity3d.com/artifactory/public-generic-stevedore-main/
30+
repo.unity-internal.url = https://artifactory-slo.bf.unity3d.com/artifactory/public-generic-stevedore-unity-internal/
31+
repo.testing.url = https://artifactory-slo.bf.unity3d.com/artifactory/public-generic-stevedore-testing/
32+
repo.ms-consoles.url = https://artifactory-slo.bf.unity3d.com/artifactory/public-generic-stevedore-ms-consoles/
33+
repo.sony-consoles.url = https://artifactory-slo.bf.unity3d.com/artifactory/public-generic-stevedore-sony-consoles/
34+
repo.nintendo-consoles.url = https://artifactory-slo.bf.unity3d.com/artifactory/public-generic-stevedore-nintendo-consoles/

0 commit comments

Comments
 (0)