Skip to content

Commit

Permalink
Passing the instance type in the test
Browse files Browse the repository at this point in the history
  • Loading branch information
LucaCinquini committed Dec 30, 2024
1 parent dc816e5 commit 50355a6
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ def trigger_dag(airflow_api_url, airflow_api_auth, venue, test_case):
request_memory = DAG_PARAMETERS[test_case]["request_memory"]
request_cpu = DAG_PARAMETERS[test_case]["request_cpu"]
request_storage = DAG_PARAMETERS[test_case]["request_storage"]
request_instance_type = DAG_PARAMETERS[test_case]["request_instance_type"]
use_ecr = DAG_PARAMETERS[test_case]["use_ecr"]
response = requests.post(
f"{airflow_api_url}/api/v1/dags/{DAG_ID}/dagRuns",
Expand All @@ -100,6 +101,7 @@ def trigger_dag(airflow_api_url, airflow_api_auth, venue, test_case):
"request_memory": f"{request_memory}",
"request_cpu": f"{request_cpu}",
"request_storage": f"{request_storage}",
"request_instance_type": f"{request_instance_type}",
"use_ecr": use_ecr,
}
},
Expand Down

0 comments on commit 50355a6

Please sign in to comment.