Skip to content

Commit

Permalink
Add register task.
Browse files Browse the repository at this point in the history
  • Loading branch information
cjohns-scottlogic committed Jul 23, 2024
1 parent d1d9b55 commit 665ae75
Showing 1 changed file with 9 additions and 10 deletions.
19 changes: 9 additions & 10 deletions dags/dynamic_data_workflow_dag.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,17 +10,17 @@
)

cluster_name = "development-cluster"
"""
register_task = EcsRegisterTaskDefinitionOperator(
task_id="register-task",
family="test",

collection_task = EcsRegisterTaskDefinitionOperator(
task_id="collection-task",
family="collection",
container_definitions=[
{
"name": "hello",
"image": "ubuntu",
"workingDirectory": "/usr/bin",
"entryPoint": ["sh", "-c"],
"command": ["ls"],
"name": "collection-task",
"image": "collection-task",
#"workingDirectory": "/usr/bin",
#"entryPoint": ["sh", "-c"],
#"command": ["ls"],
# "logConfiguration": {
# "logDriver": "awslogs",
# "options": {
Expand All @@ -38,7 +38,6 @@
"requiresCompatibilities": ["FARGATE"],
},
)
"""

my_dir = os.path.dirname(os.path.abspath(__file__))
configuration_file_path = os.path.join(my_dir, "config.json")
Expand Down

0 comments on commit 665ae75

Please sign in to comment.