Comment ADT_AMQP and ADT_SWIFT_URL config options

Their default values are invalid and must be set locally. But as
britney1-ubuntu copies these into production, we would run with an invalid
config with an unmodified config file.
bzr-import-20160707
Martin Pitt 10 years ago
parent 13a3ec2593
commit cb66355e95

@ -66,9 +66,9 @@ ADT_ENABLE = yes
ADT_DEBUG = no
ADT_ARCHES = amd64 i386
# comment this to disable autopkgtest requests
ADT_AMQP = ampq://user:pwd@amqp.example.com
#ADT_AMQP = amqp://user:pwd@amqp.example.com
# Swift base URL with the results (must be publicly readable and browsable)
ADT_SWIFT_URL = https://objectstorage.mycloud.example.com/v1/AUTH_autopkgtest
#ADT_SWIFT_URL = https://objectstorage.mycloud.example.com/v1/AUTH_autopkgtest
BOOTTEST_ENABLE = yes
BOOTTEST_DEBUG = yes

@ -66,6 +66,6 @@ ADT_ENABLE = yes
ADT_DEBUG = no
ADT_ARCHES = amd64 i386
# comment this to disable autopkgtest requests
ADT_AMQP = ampq://user:pwd@amqp.example.com
#ADT_AMQP = amqp://user:pwd@amqp.example.com
# Swift base URL with the results (must be publicly readable and browsable)
ADT_SWIFT_URL = https://objectstorage.mycloud.example.com/v1/AUTH_autopkgtest
#ADT_SWIFT_URL = https://objectstorage.mycloud.example.com/v1/AUTH_autopkgtest

@ -39,9 +39,9 @@ class TestAutoPkgTest(TestBase):
for line in fileinput.input(self.britney_conf, inplace=True):
if line.startswith('BOOTTEST_ENABLE'):
print('BOOTTEST_ENABLE = no')
elif line.startswith('ADT_AMQP'):
elif line.startswith('#ADT_AMQP'):
print('ADT_AMQP = file://%s' % self.fake_amqp)
elif line.startswith('ADT_SWIFT_URL'):
elif line.startswith('#ADT_SWIFT_URL'):
print('ADT_SWIFT_URL = http://localhost:18085')
else:
sys.stdout.write(line)

Loading…
Cancel
Save