File tree Expand file tree Collapse file tree 2 files changed +6
-0
lines changed
src/main/kotlin/com/atlassian/performance/tools/sshubuntu/api Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -30,6 +30,10 @@ Dropping a requirement of a major version of a dependency is a new contract.
30
30
- Add ` SudoSshUbuntuImage ` . Resolve [ JPERF-445] .
31
31
- Add ` AutoCloseable ` wrappers for some ` docker-java ` resources.
32
32
33
+ ### Fixed
34
+ - Avoid degradation-prone central Ubuntu servers. Fix [ JPERF-444] .
35
+
36
+ [ JPERF-444 ] : https://ecosystem.atlassian.net/browse/JPERF-444
33
37
[ JPERF-445 ] : https://ecosystem.atlassian.net/browse/JPERF-445
34
38
35
39
## [ 0.1.0] - 2019-02-15
Original file line number Diff line number Diff line change @@ -85,8 +85,10 @@ class SudoSshUbuntuImage(
85
85
authentication = PasswordAuthentication (" root" ),
86
86
port = sshPort
87
87
)
88
+ val debianMirror = " deb mirror://mirrors.ubuntu.com/mirrors.txt xenial main restricted universe multiverse"
88
89
val ssh = Ssh (sshHost)
89
90
ssh.newConnection().use {
91
+ it.execute(" echo \" $debianMirror \\ n\" > /etc/apt/sources.list" )
90
92
it.execute(" apt-get update" , Duration .ofSeconds(50 ))
91
93
it.execute(" apt-get install sudo" )
92
94
}
You can’t perform that action at this time.
0 commit comments