Skip to content

Commit 2d9b3d1

Browse files
authored
Merge pull request #7433 from dotty-staging/ci-cache
Update CI image to use a proxy
2 parents 5e503e2 + 0f9d3b7 commit 2d9b3d1

File tree

3 files changed

+10
-11
lines changed

3 files changed

+10
-11
lines changed

.drone.yml

+9-9
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ steps:
2727

2828
- name: test
2929
pull: default
30-
image: lampepfl/dotty:2019-09-19
30+
image: lampepfl/dotty:2019-10-17
3131
depends_on: [ clone ]
3232
commands:
3333
- cp -R . /tmp/1/ && cd /tmp/1/
@@ -36,7 +36,7 @@ steps:
3636

3737
- name: test_bootstrapped
3838
pull: default
39-
image: lampepfl/dotty:2019-09-19
39+
image: lampepfl/dotty:2019-10-17
4040
depends_on: [ clone ]
4141
commands:
4242
- cp -R . /tmp/2/ && cd /tmp/2/
@@ -45,7 +45,7 @@ steps:
4545

4646
- name: community_build
4747
pull: default
48-
image: lampepfl/dotty:2019-09-19
48+
image: lampepfl/dotty:2019-10-17
4949
depends_on: [ clone ]
5050
commands:
5151
- cp -R . /tmp/3/ && cd /tmp/3/
@@ -55,7 +55,7 @@ steps:
5555

5656
- name: test_sbt
5757
pull: default
58-
image: lampepfl/dotty:2019-09-19
58+
image: lampepfl/dotty:2019-10-17
5959
depends_on: [ clone ]
6060
commands:
6161
- cp -R . /tmp/4/ && cd /tmp/4/
@@ -67,7 +67,7 @@ steps:
6767

6868
- name: test_java11
6969
pull: default
70-
image: lampepfl/dotty:2019-09-19
70+
image: lampepfl/dotty:2019-10-17
7171
depends_on: [ clone ]
7272
commands:
7373
- export PATH="/usr/lib/jvm/java-11-openjdk-amd64/bin:$PATH"
@@ -81,7 +81,7 @@ steps:
8181

8282
- name: documentation
8383
pull: default
84-
image: lampepfl/dotty:2019-09-19
84+
image: lampepfl/dotty:2019-10-17
8585
depends_on:
8686
- test
8787
- test_bootstrapped
@@ -100,7 +100,7 @@ steps:
100100

101101
- name: publish_nightly
102102
pull: default
103-
image: lampepfl/dotty:2019-09-19
103+
image: lampepfl/dotty:2019-10-17
104104
depends_on:
105105
- test
106106
- test_bootstrapped
@@ -127,7 +127,7 @@ steps:
127127

128128
- name: publish_release
129129
pull: default
130-
image: lampepfl/dotty:2019-09-19
130+
image: lampepfl/dotty:2019-10-17
131131
depends_on:
132132
- test
133133
- test_bootstrapped
@@ -170,7 +170,7 @@ steps:
170170

171171
- name: publish_sbt_release
172172
pull: default
173-
image: lampepfl/dotty:2019-09-19
173+
image: lampepfl/dotty:2019-10-17
174174
depends_on:
175175
- test
176176
- test_bootstrapped

project/Build.scala

+1-1
Original file line numberDiff line numberDiff line change
@@ -1062,7 +1062,7 @@ object Build {
10621062
"-Dplugin.scalaVersion=" + dottyVersion,
10631063
"-Dsbt.boot.directory=" + ((baseDirectory in ThisBuild).value / ".sbt-scripted").getAbsolutePath // Workaround sbt/sbt#3469
10641064
),
1065-
// By default scripted tests use $HOME/.ivy2 for the ivy cache. We need to override this value for the CI.
1065+
// Pass along ivy home setting to sbt instances run from the tests
10661066
scriptedLaunchOpts ++= ivyPaths.value.ivyHome.map("-Dsbt.ivy.home=" + _.getAbsolutePath).toList,
10671067
scriptedBufferLog := true,
10681068
scripted := scripted.dependsOn(

project/scripts/sbt

-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ sbt -J-Xmx4096m \
1111
-J-XX:ReservedCodeCacheSize=512m \
1212
-J-XX:MaxMetaspaceSize=1024m \
1313
-Ddotty.drone.mem=4096m \
14-
-Dsbt.ivy.home=/var/cache/drone/ivy2 \
1514
-DSBT_PGP_USE_GPG=false \
1615
-no-colors \
1716
"$CMD"

0 commit comments

Comments
 (0)