Skip to content

Commit

Permalink
test [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Jan 13, 2025
1 parent a28c627 commit dbdcd4c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tasks/release.py
Original file line number Diff line number Diff line change
Expand Up @@ -1286,7 +1286,7 @@ def check_agent6_build_status(ctx, channel_id):
"""
Checks if there is an agent 6 build pipeline in the last week
"""
print(f"DDSITE: {os.environ.get('DD_SITE')}")
print(f"DDSITE: {os.environ.get('DD_SITE')}", flush=True)
dd_site = os.environ.get("DD_SITE", "datadoghq.com")
configuration = Configuration(host=f"https://api.{dd_site}")
with ApiClient(configuration) as api_client:
Expand All @@ -1297,7 +1297,7 @@ def check_agent6_build_status(ctx, channel_id):
filter_to=datetime.now(),
page_limit=5,
)
print(f"CONFIG HOST: {configuration.host}")
print(f"CONFIG HOST: {configuration.host}", flush=True)
if not response.data:
err_msg = "AGENT 6 ERROR: No Agent 6 build pipelines have run in the past week. Please trigger a build pipeline for the next agent 6 release candidate."
send_slack_msg(ctx, channel_id, err_msg)
Expand Down

0 comments on commit dbdcd4c

Please sign in to comment.