mirror of https://github.com/apache/kafka.git
remove GE_ACCESS_TOKEN parsing
This commit is contained in:
parent
e78378ef94
commit
9911454a45
|
@ -790,9 +790,6 @@ def main():
|
||||||
token = None
|
token = None
|
||||||
if os.environ.get("DEVELOCITY_ACCESS_TOKEN"):
|
if os.environ.get("DEVELOCITY_ACCESS_TOKEN"):
|
||||||
token = os.environ.get("DEVELOCITY_ACCESS_TOKEN")
|
token = os.environ.get("DEVELOCITY_ACCESS_TOKEN")
|
||||||
elif os.environ.get("GE_ACCESS_TOKEN"):
|
|
||||||
# Special case for when we run in GHA
|
|
||||||
token = os.environ.get("GE_ACCESS_TOKEN").removeprefix("ge.apache.org=")
|
|
||||||
else:
|
else:
|
||||||
print("No auth token was specified. You must set DEVELOCITY_ACCESS_TOKEN to your personal access token.")
|
print("No auth token was specified. You must set DEVELOCITY_ACCESS_TOKEN to your personal access token.")
|
||||||
exit(1)
|
exit(1)
|
||||||
|
|
Loading…
Reference in New Issue