Fix some comments.

sil2100/private-runs
Łukasz 'sil2100' Zemczak 4 years ago
parent e2932055a9
commit 3b1699db2a

@ -102,7 +102,7 @@ ADT_SHARED_RESULTS_CACHE =
# Swift base URL with the results (must be publicly readable and browsable) # Swift base URL with the results (must be publicly readable and browsable)
# or file location if results are pre-fetched # or file location if results are pre-fetched
ADT_SWIFT_URL = https://objectstorage.prodstack4-5.canonical.com/v1/AUTH_77e2ada1e7a84929a74ba3b87153c0ac ADT_SWIFT_URL = https://objectstorage.prodstack4-5.canonical.com/v1/AUTH_77e2ada1e7a84929a74ba3b87153c0ac
# Swift username that should have exclusive read rights to the test results # Swift identity with read access to the private result container
# (this is required whenever a private PPA is used for testing) # (this is required whenever a private PPA is used for testing)
ADT_SWIFT_USER = ADT_SWIFT_USER =
ADT_SWIFT_PASS = ADT_SWIFT_PASS =

@ -124,7 +124,7 @@ ADT_SHARED_RESULTS_CACHE =
# or file location if results are pre-fetched # or file location if results are pre-fetched
#ADT_SWIFT_URL = https://example.com/some/url #ADT_SWIFT_URL = https://example.com/some/url
ADT_SWIFT_URL = file:///path/to/britney/state/debci.json ADT_SWIFT_URL = file:///path/to/britney/state/debci.json
# Swift username that should have exclusive read rights to the test results # Swift identity with read access to the private result container
# (this is required whenever a private PPA is used for testing) # (this is required whenever a private PPA is used for testing)
ADT_SWIFT_USER = ADT_SWIFT_USER =
ADT_SWIFT_PASS = ADT_SWIFT_PASS =

@ -202,7 +202,7 @@ class AutopkgtestPolicy(BasePolicy):
# log into swift in case we need to fetch some private results # log into swift in case we need to fetch some private results
# this is optional - if there are no credentials present, results will # this is optional - if there are no credentials present, results will
# be fetched the traditional way # be fetched without authentication
if self.options.adt_swift_user: if self.options.adt_swift_user:
if (not self.options.adt_swift_pass or if (not self.options.adt_swift_pass or
not self.options.adt_swift_auth_url or not self.options.adt_swift_auth_url or

Loading…
Cancel
Save