summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulien Duraj <julien.duraj@linaro.org>2020-06-18 17:48:19 +0100
committerJulien Duraj <julien.duraj@linaro.org>2020-06-18 17:52:22 +0100
commitf2812e85820f4098b8bb2bc5bee1b80277e8329a (patch)
treeed67ea01c7972466b95ec540b353fb14ba6f5555
parenta61084f342e5940ea550f43786c4ca780a8e3989 (diff)
Remove submission to art-reportsHEADmaster
Change-Id: I97a5712447d6e26bded15cb761273faa20175738
-rw-r--r--post-build-report.py15
1 files changed, 0 insertions, 15 deletions
diff --git a/post-build-report.py b/post-build-report.py
index 12700a9..5256be8 100644
--- a/post-build-report.py
+++ b/post-build-report.py
@@ -189,17 +189,6 @@ def main():
qa_reports_url = os.environ.get("QA_REPORTS_URL")
qa_reports_token = os.environ.get("QA_REPORTS_TOKEN")
- art_url = os.environ.get("ART_URL", "http://localhost:8000/")
- art_token = None
- if urlsplit(art_url).netloc.startswith('art-reports'):
- art_token = os.environ.get("ART_TOKEN_ART_REPORTS", None)
- elif urlsplit(art_url).netloc.startswith('android-qa-reports'):
- art_token = os.environ.get("ART_TOKEN_ANDROID_REPORTS", None)
-
- # we use ART_TOKEN keyword in LAVA so we check for that as well
- if art_token is None:
- art_token = os.environ.get("ART_TOKEN")
-
manifest = _get_manifest("./artifacts")
test_jobs = os.environ.get("LAVA_JOB_IDS", None)
results = _results("./artifacts")
@@ -213,9 +202,6 @@ def main():
if jenkins_build_url is None:
logger.error("Build URL not set. Exiting!")
sys.exit(1)
- if art_token is None:
- logger.error("ART token not set. Exiting!")
- sys.exit(1)
if not manifest:
logger.error("Manifest missing. Exiting!")
sys.exit(1)
@@ -251,7 +237,6 @@ def main():
if test_jobs is None:
params.pop('test_jobs')
files = _get_files("./artifacts")
- _push_object(art_token, art_url, RESULT_ENDPOINT, params, files)
params.pop('manifest')
logger.debug(params)