Skip to content
Permalink
da47e28396
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
@sjeanes
Latest commit da47e28 Feb 27, 2019 History
task defintion files
1 contributor

Users who have contributed to this file

140 lines (140 sloc) 3.61 KB
{
"ipcMode": null,
"executionRoleArn": "arn:aws:iam::152604719847:role/ecsTaskExecutionRole",
"containerDefinitions": [
{
"dnsSearchDomains": [],
"logConfiguration": {
"logDriver": "awslogs",
"options": {
"awslogs-group": "/ecs/jenkins-master",
"awslogs-region": "us-east-1",
"awslogs-stream-prefix": "ecs"
}
},
"entryPoint": [],
"portMappings": [
{
"hostPort": 8080,
"protocol": "tcp",
"containerPort": 8080
},
{
"hostPort": 50000,
"protocol": "tcp",
"containerPort": 50000
}
],
"command": [],
"linuxParameters": null,
"cpu": 1024,
"environment": [],
"resourceRequirements": null,
"ulimits": null,
"dnsServers": [],
"mountPoints": [
{
"readOnly": null,
"containerPath": "/var/jenkins_home",
"sourceVolume": "data-volume"
},
{
"readOnly": null,
"containerPath": "/var/run/docker.sock",
"sourceVolume": "docker_sock"
}
],
"workingDirectory": null,
"secrets": null,
"dockerSecurityOptions": [],
"memory": null,
"memoryReservation": 992,
"volumesFrom": [],
"image": "jenkinsci/blueocean",
"disableNetworking": null,
"interactive": null,
"healthCheck": null,
"essential": true,
"links": [],
"hostname": null,
"extraHosts": null,
"pseudoTerminal": null,
"user": "root",
"readonlyRootFilesystem": null,
"dockerLabels": null,
"systemControls": null,
"privileged": false,
"name": "jenkins-master"
}
],
"placementConstraints": [],
"memory": null,
"taskRoleArn": "arn:aws:iam::152604719847:role/JenkinsMasterRole",
"compatibilities": [
"EC2"
],
"taskDefinitionArn": "arn:aws:ecs:us-east-1:152604719847:task-definition/jenkins-master:26",
"family": "jenkins-master",
"requiresAttributes": [
{
"targetId": null,
"targetType": null,
"value": null,
"name": "com.amazonaws.ecs.capability.docker-remote-api.1.17"
},
{
"targetId": null,
"targetType": null,
"value": null,
"name": "com.amazonaws.ecs.capability.task-iam-role"
},
{
"targetId": null,
"targetType": null,
"value": null,
"name": "ecs.capability.execution-role-awslogs"
},
{
"targetId": null,
"targetType": null,
"value": null,
"name": "com.amazonaws.ecs.capability.logging-driver.awslogs"
},
{
"targetId": null,
"targetType": null,
"value": null,
"name": "com.amazonaws.ecs.capability.docker-remote-api.1.21"
},
{
"targetId": null,
"targetType": null,
"value": null,
"name": "com.amazonaws.ecs.capability.docker-remote-api.1.19"
}
],
"pidMode": null,
"requiresCompatibilities": [
"EC2"
],
"networkMode": "bridge",
"cpu": null,
"revision": 26,
"status": "ACTIVE",
"volumes": [
{
"name": "data-volume",
"host": {
"sourcePath": "/data/"
},
"dockerVolumeConfiguration": null
},
{
"name": "docker_sock",
"host": {
"sourcePath": "/var/run/docker.sock"
},
"dockerVolumeConfiguration": null
}
]
}