Fetch service type data from the remote URL
https://service-types.openstack.org is the canonical data location. Change-Id: I06405c4a79601eee99a1b06c6e30e4c8996f0289
This commit is contained in:
parent
252673743a
commit
35da0134c8
@ -16,6 +16,7 @@
|
||||
|
||||
import io
|
||||
import glob
|
||||
import requests
|
||||
import sys
|
||||
import voluptuous as v
|
||||
|
||||
@ -211,7 +212,8 @@ def validate_service_types():
|
||||
print("========================")
|
||||
count = 0
|
||||
# Load the current service-type-authority data
|
||||
service_types = os_service_types.ServiceTypes()
|
||||
service_types = os_service_types.ServiceTypes(session=requests.Session(),
|
||||
only_remote=True)
|
||||
# Load the project job definitions
|
||||
with io.open('jenkins/jobs/projects.yaml', 'r', encoding='utf-8') as f:
|
||||
file_contents = local_yaml.load(f.read())
|
||||
|
Loading…
x
Reference in New Issue
Block a user