Skip to content

Commit

Permalink
fix(#6694): Clean up some errors
Browse files Browse the repository at this point in the history
And by that I mean comment out the code.
Seriously anyone reading these?
  • Loading branch information
edmundmiller committed Oct 2, 2024
1 parent 2119fae commit 271c764
Showing 1 changed file with 13 additions and 4 deletions.
17 changes: 13 additions & 4 deletions .github/scripts/wave_singularity.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,23 @@
# ]
# ///

import logging

logger = logging.getLogger(__name__)

image_url = "oras://community.wave.seqera.io/library/pybedtools_bedtools_htslib_pip_pypints:aa20de1f1b5ddb30"

wave_api_url = "https://wave.seqera.io"
url = f"{wave_api_url}/v1alpha1/inspect"
logger.info(f"calling image inspect at {url} for image url {image_url}")
data = {"containerimage": image_url}

if platform_pat:
data["toweraccesstoken"] = platform_pat
else:
logger.warning("'platform_pat' not set, no auth to wave back end")
# if platform_pat:
# data["toweraccesstoken"] = platform_pat
# else:
# TODO
logger.warning("'platform_pat' not set, no auth to wave back end")

with httpx.client() as client:
response = client.post(
url=url,
Expand Down

0 comments on commit 271c764

Please sign in to comment.