def abl_url(request): """Return ABL json url""" config = request.config base_url = config.getoption("abl_url") or config.getini("abl_url") if base_url is not None: skip_if_destructive_and_sensitive(request, base_url) return base_url
def code_tag(request): """Return a deployment code tag""" config = request.config code_tag = config.getoption("code_tag") or config.getini("code_tag") if code_tag is not None: skip_if_destructive_and_sensitive(request, code_tag) return code_tag
def s3_base_url(request): """Return a base URL for AWS S3 bucket""" config = request.config base_url = config.getoption("s3_base_url") or config.getini("s3_base_url") if base_url is not None: skip_if_destructive_and_sensitive(request, base_url) return base_url
def archive_base_url(request): """Return a base URL for CNX archive""" config = request.config base_url = config.getoption("archive_base_url") or config.getini( "archive_base_url") if base_url is not None: skip_if_destructive_and_sensitive(request, base_url) return base_url
def queue_state_bucket(request): """Return queue state bucket name""" config = request.config queue_state_bucket = config.getoption( "queue_state_bucket") or config.getini("queue_state_bucket") if queue_state_bucket is not None: skip_if_destructive_and_sensitive(request, queue_state_bucket) return queue_state_bucket
def web_hosting_env(request): """Return a web hosting environment name (prod or staging)""" config = request.config web_hosting_env = config.getoption("web_hosting_env") or config.getini( "web_hosting_env") if web_hosting_env is not None: skip_if_destructive_and_sensitive(request, web_hosting_env) return web_hosting_env
def concourse_base_url(request): """Return a concourse base url""" config = request.config concourse_base_url = config.getoption( "concourse_base_url") or config.getini("concourse_base_url") if concourse_base_url is not None: skip_if_destructive_and_sensitive(request, concourse_base_url) return concourse_base_url
def vendor_base_url(request): """Return a base URL for Vendor cnx page""" config = request.config base_url = config.getoption("vendor_base_url") or config.getini( "vendor_base_url") if base_url is not None: skip_if_destructive_and_sensitive(request, base_url) return base_url
def rex_base_url(request): """Return a base URL for REX used for integration testing""" config = request.config base_url = config.getoption("rex_base_url") or config.getini( "rex_base_url") if base_url is not None: skip_if_destructive_and_sensitive(request, base_url) return base_url