Skip to content

Commit 2894d65

Browse files
TimoWilkenktf
authored andcommitted
Disable S3 default remote store on Ubuntu 18.04
1 parent ad1d9fa commit 2894d65

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

alibuild_helpers/args.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ def finaliseArgs(args, parser, star):
231231
args.configDir = format(args.configDir, prefix="")
232232

233233
# On selected platforms, caching is active by default
234-
if args.architecture in ("slc7_x86-64", "ubuntu1804_x86-64") and not args.preferSystem:
234+
if args.architecture == "slc7_x86-64" and not args.preferSystem:
235235
args.noSystem = True
236236
if not args.remoteStore:
237237
args.remoteStore = "https://s3.cern.ch/swift/v1/alibuild-repo"

tests/test_args.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ class FakeExit(Exception):
6767
((), "build zlib --remote-store rsync://test.local/" , [("noSystem", True)]),
6868
((), "build zlib --remote-store rsync://test.local/::rw" , [("noSystem", True), ("remoteStore", "rsync://test.local/"), ("writeStore", "rsync://test.local/")]),
6969
((), "build zlib --architecture slc7_x86-64" , [("noSystem", True), ("preferSystem", False), ("remoteStore", "https://s3.cern.ch/swift/v1/alibuild-repo")]),
70-
((), "build zlib --architecture ubuntu1804_x86-64" , [("noSystem", True), ("preferSystem", False), ("remoteStore", "https://s3.cern.ch/swift/v1/alibuild-repo")]),
70+
((), "build zlib --architecture ubuntu1804_x86-64" , [("noSystem", False), ("preferSystem", False), ("remoteStore", "")]),
7171
((), "build zlib -a slc7_x86-64 --docker-image alisw/slc7-builder" , [("docker", True), ("dockerImage", "alisw/slc7-builder")]),
7272
((), "build zlib -a slc7_x86-64 --docker" , [("docker", True), ("dockerImage", "alisw/slc7-builder")]),
7373
((), "build zlib --devel-prefix -a slc7_x86-64 --docker" , [("docker", True), ("dockerImage", "alisw/slc7-builder"), ("develPrefix", "%s-slc7_x86-64" % os.path.basename(os.getcwd()))]),

0 commit comments

Comments
 (0)