Skip to content

Commit

Permalink
Update ECS client and task defs (#2256)
Browse files Browse the repository at this point in the history
  • Loading branch information
sparrc committed Dec 5, 2019
1 parent 7ed7ae3 commit 743dac5
Show file tree
Hide file tree
Showing 4 changed files with 49 additions and 3 deletions.
10 changes: 9 additions & 1 deletion agent/ecs_client/model/api/api-2.json
Original file line number Diff line number Diff line change
Expand Up @@ -1169,6 +1169,13 @@
"type":"list",
"member":{"shape":"KeyValuePair"}
},
"EFSVolumeConfiguration": {
"type":"structure",
"members":{
"fileSystemId":{"shape":"String"},
"rootDirectory":{"shape":"String"}
}
},
"Failure":{
"type":"structure",
"members":{
Expand Down Expand Up @@ -2322,7 +2329,8 @@
"members":{
"name":{"shape":"String"},
"host":{"shape":"HostVolumeProperties"},
"dockerVolumeConfiguration":{"shape":"DockerVolumeConfiguration"}
"dockerVolumeConfiguration":{"shape":"DockerVolumeConfiguration"},
"efsVolumeConfiguration":{"shape":"EFSVolumeConfiguration"}
}
},
"VolumeFrom":{
Expand Down
38 changes: 38 additions & 0 deletions agent/ecs_client/model/ecs/api.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"name": "task-efs-vol-read",
"image": "127.0.0.1:51670/busybox:latest",
"cpu": 10,
"command": ["sh", "-c", "while true; do sleep 1; [ -f /ecs/success ] && if grep -q 'can you read me' /ecs/success; then exit 42; fi done"],
"command": ["sh", "-c", "while true; do sleep 1; [ -f /ecs/success ] && if grep -q 'can you read me' /ecs/success; then exit 42; fi done"],
"memory": 256,
"memoryReservation": 128,
"mountPoints": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"name": "task-efs-vol-write",
"image": "127.0.0.1:51670/busybox:latest",
"cpu": 10,
"command": ["sh", "-c", "echo 'can you read me'> /ecs/success; [ -f /ecs/success ] && exit 42 || exit 1"],
"command": ["sh", "-c", "echo 'can you read me' > /ecs/success; [ -f /ecs/success ] && exit 42 || exit 1"],
"memory": 256,
"memoryReservation": 128,
"mountPoints": [
Expand Down

0 comments on commit 743dac5

Please sign in to comment.