You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
since argus serivce will need more headers for it's to be operational,
we'll need to change the calls to it, to pass the needed headers.
(cherry picked from commit 6e4e1fb)
@click.option("--api-key", help="Argus API key for authorization", required=True)
36
+
@click.option("--api-key", help="Argus API key for authorization", required=True, envvar='ARGUS_AUTH_TOKEN')
37
+
@click.option("--extra-headers", default={}, type=click.UNPROCESSED, callback=validate_extra_headers, help="extra headers to pass to argus, should be in json format", envvar='ARGUS_EXTRA_HEADERS')
36
38
@click.option("--base-url", default="https://argus.scylladb.com", help="Base URL for argus instance")
37
39
@click.option("--id", "run_id", required=True, help="UUID (v4 or v1) unique to the job")
38
40
@click.option("--build-id", required=True, help="Unique job identifier in the build system, e.g. scylla-master/group/job for jenkins (The full path)")
39
41
@click.option("--build-url", required=True, help="Job URL in the build system")
@click.option("--api-key", help="Argus API key for authorization", required=True)
50
+
@click.option("--api-key", help="Argus API key for authorization", required=True, envvar='ARGUS_AUTH_TOKEN')
51
+
@click.option("--extra-headers", default={}, type=click.UNPROCESSED, callback=validate_extra_headers, help="extra headers to pass to argus, should be in json format", envvar='ARGUS_EXTRA_HEADERS')
49
52
@click.option("--base-url", default="https://argus.scylladb.com", help="Base URL for argus instance")
50
53
@click.option("--id", "run_id", required=True, help="UUID (v4 or v1) unique to the job")
51
54
@click.option("--metadata-path", required=True, help="Path to the metadata .json file that contains path to junit xml and other required information")
@click.option("--api-key", help="Argus API key for authorization", required=True)
60
+
@click.option("--api-key", help="Argus API key for authorization", required=True, envvar='ARGUS_AUTH_TOKEN')
61
+
@click.option("--extra-headers", default={}, type=click.UNPROCESSED, callback=validate_extra_headers, help="extra headers to pass to argus, should be in json format", envvar='ARGUS_EXTRA_HEADERS')
58
62
@click.option("--base-url", default="https://argus.scylladb.com", help="Base URL for argus instance")
59
63
@click.option("--id", "run_id", required=True, help="UUID (v4 or v1) unique to the job")
60
64
@click.option("--metadata-path", required=True, help="Path to the metadata .json file that contains path to junit xml and other required information")
@click.option("--api-key", help="Argus API key for authorization", required=True)
70
+
@click.option("--api-key", help="Argus API key for authorization", required=True, envvar='ARGUS_AUTH_TOKEN')
71
+
@click.option("--extra-headers", default={}, type=click.UNPROCESSED, callback=validate_extra_headers, help="extra headers to pass to argus, should be in json format", envvar='ARGUS_EXTRA_HEADERS')
67
72
@click.option("--base-url", default="https://argus.scylladb.com", help="Base URL for argus instance")
68
73
@click.option("--id", "run_id", required=True, help="UUID (v4 or v1) unique to the job")
69
74
@click.option("--metadata-path", required=True, help="Path to the metadata .json file that contains path to junit xml and other required information")
@click.option("--api-key", help="Argus API key for authorization", required=True)
84
+
@click.option("--api-key", help="Argus API key for authorization", required=True, envvar='ARGUS_AUTH_TOKEN')
85
+
@click.option("--extra-headers", default={}, type=click.UNPROCESSED, callback=validate_extra_headers, help="extra headers to pass to argus, should be in json format", envvar='ARGUS_EXTRA_HEADERS')
80
86
@click.option("--base-url", default="https://argus.scylladb.com", help="Base URL for argus instance")
81
87
@click.option("--id", "run_id", required=True, help="UUID (v4 or v1) unique to the job")
82
88
@click.option("--env-path", required=True, help="Path to the Build-00.txt file that contains environment information about Scylla")
@click.option("--api-key", help="Argus API key for authorization", required=True)
98
+
@click.option("--api-key", help="Argus API key for authorization", required=True, envvar='ARGUS_AUTH_TOKEN')
99
+
@click.option("--extra-headers", default={}, type=click.UNPROCESSED, callback=validate_extra_headers, help="extra headers to pass to argus, should be in json format", envvar='ARGUS_EXTRA_HEADERS')
93
100
@click.option("--base-url", default="https://argus.scylladb.com", help="Base URL for argus instance")
94
101
@click.option("--id", "run_id", required=True, help="UUID (v4 or v1) unique to the job")
@click.option("--extra-headers", default={}, type=click.UNPROCESSED, callback=validate_extra_headers, help="extra headers to pass to argus, should be in json format", envvar='ARGUS_EXTRA_HEADERS')
@click.option("--extra-headers", default={}, type=click.UNPROCESSED, callback=validate_extra_headers, help="extra headers to pass to argus, should be in json format", envvar='ARGUS_EXTRA_HEADERS')
@click.option("--api-key", help="Argus API key for authorization", required=True, envvar='ARGUS_AUTH_TOKEN')
64
+
@click.option("--base-url", default="https://argus.scylladb.com", help="Base URL for argus instance")
65
+
@click.option("--version", help="Scylla version to filter plans by", default=None, required=False)
66
+
@click.option("--plan-id", help="Specific plan id for filtering", default=None, required=False)
67
+
@click.option("--release", help="Release name to filter plans by", default=None, required=False)
68
+
@click.option("--job-info-file", required=True, help="JSON file with trigger information (see detailed docs)")
69
+
@click.option("--extra-headers", default={}, type=click.UNPROCESSED, callback=validate_extra_headers, help="extra headers to pass to argus, should be in json format", envvar='ARGUS_EXTRA_HEADERS')
0 commit comments