Skip to content

Commit

Permalink
update harmony deployment script
Browse files Browse the repository at this point in the history
  • Loading branch information
sliu008 committed Jun 24, 2024
1 parent 0e6957b commit 49b8881
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions deployment/harmony_deploy.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def bearer_token() -> str:
return next(iter(tokens))

if __name__ == "__main__":

parser = argparse.ArgumentParser(description="Update the service image tag.")
parser.add_argument("--tag", help="The new tag version to update.", required=True)
args = parser.parse_args()
Expand All @@ -58,12 +58,10 @@ def bearer_token() -> str:
"tag": args.tag
}

"""
response = requests.put(url, headers=headers, json=data)

print(response.status_code)
try:
print(response.json())
except json.JSONDecodeError:
print("Response content is not in JSON format")
"""

0 comments on commit 49b8881

Please sign in to comment.