Skip to content

Commit

Permalink
Set env.
Browse files Browse the repository at this point in the history
  • Loading branch information
cjohns-scottlogic committed Jul 23, 2024
1 parent bd5e354 commit 9638388
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions dags/dynamic_data_workflow_dag.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@
{
"name": "collection-task",
"image": "collection-task",
#"workingDirectory": "/usr/bin",
#"entryPoint": ["sh", "-c"],
#"command": ["ls"],
# "workingDirectory": "/usr/bin",
# "entryPoint": ["sh", "-c"],
# "command": ["ls"],
# "logConfiguration": {
# "logDriver": "awslogs",
# "options": {
Expand Down Expand Up @@ -69,13 +69,13 @@
cluster=cluster_name,
task_definition=collection_task.output,
launch_type="FARGATE",
overrides={},
# overrides={"containerOverrides": [
# {
# "name": "test",
# "command": ["python", "-c", "import time; for i in range(30): print(i); time.sleep(1)"],
# },
# ]},
overrides={
"containerOverrides": [
{
"environment": [{"COLLECTION_NAME": collection}],
},
]
},
network_configuration={
"awsvpcConfiguration": {
"subnets": ["subnet-05a0d548ea8d901ab", "subnet-07252405b5369afd3"],
Expand All @@ -89,7 +89,7 @@
# awslogs_fetch_interval=timedelta(seconds=5)
)

break # Just do the first one for now
break # Just do the first one for now

"""
with DAG(
Expand Down Expand Up @@ -130,4 +130,4 @@
# awslogs_stream_prefix=f"ecs/test",
awslogs_fetch_interval=timedelta(seconds=5),
)
"""
"""

0 comments on commit 9638388

Please sign in to comment.