forked from clareliguori/spinnaker-ecs-devel
-
Notifications
You must be signed in to change notification settings - Fork 0
/
sample-pipeline-task-def-artifact.json
125 lines (125 loc) · 4.03 KB
/
sample-pipeline-task-def-artifact.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
{
"isNew": true,
"expectedArtifacts": [
{
"defaultArtifact": {
"artifactAccount": "my-github",
"id": "777864a8-1c3a-4df2-8933-bd47071c3824",
"name": "demo-task-definition.json",
"reference": "https://api.github.com/repos/clareliguori/spinnaker-ecs-devel/contents/demo-task-definition.json",
"type": "github/file",
"version": "master"
},
"displayName": "spinnaker-ecs-demo-artifact",
"id": "3df36a4c-0720-4d45-a115-4e967189f39f",
"matchArtifact": {
"artifactAccount": "my-github",
"id": "8a57a510-2332-4869-9771-0ba94e19b0d7",
"name": "demo-task-definition.json",
"type": "github/file"
},
"useDefaultArtifact": true,
"usePriorArtifact": false
}
],
"lastModifiedBy": "anonymous",
"stages": [
{
"clusters": [
{
"account": "ecs-my-aws-devel-acct",
"application": "aws",
"associatePublicIpAddress": false,
"availabilityZones": {
"eu-central-1": [
"eu-central-1a",
"eu-central-1b",
"eu-central-1c"
]
},
"capacity": {
"desired": 3,
"max": 6,
"min": 2
},
"cloudProvider": "ecs",
"containerMappings": [
{
"containerName": "main",
"imageDescription": {
"account": "my-eu-central-1-devel-registry",
"fromTrigger": true,
"imageId": "123456789012.dkr.ecr.eu-central-1.amazonaws.com/spinnaker-deployment-images (Tag resolved at runtime)",
"registry": "123456789012.dkr.ecr.eu-central-1.amazonaws.com",
"repository": "spinnaker-deployment-images",
"tag": ""
}
}
],
"containerPort": 80,
"copySourceScalingPoliciesAndActions": false,
"delayBeforeDisableSec": 0,
"delayBeforeScaleDownSec": 0,
"dockerImageCredentialsSecret": "None (No registry credentials)",
"dockerLabels": {},
"ecsClusterName": "spinnaker-deployment-cluster",
"environmentVariables": {},
"freeFormDetails": "ecsdemoartifact",
"healthCheckGracePeriodSeconds": 5,
"healthCheckType": "EC2",
"iamRole": "None (No IAM role)",
"launchType": "FARGATE",
"loadBalancedContainer": "main",
"loadBalancers": [],
"maxRemainingAsgs": 2,
"moniker": {
"app": "aws",
"detail": "ecsdemoartifact",
"stack": "prod"
},
"networkMode": "awsvpc",
"placementConstraints": [],
"placementStrategyName": "",
"placementStrategySequence": [],
"provider": "ecs",
"rollback": {
"onFailure": true
},
"scaleDown": true,
"securityGroupNames": [
"spinnaker-ecs-demo-artifacts-private-access"
],
"securityGroups": [],
"serviceDiscoveryAssociations": [],
"stack": "prod",
"strategy": "redblack",
"subnetType": "private-subnet",
"tags": {},
"targetGroup": "spinnaker-ecs-demo-artifacts-tg",
"taskDefinitionArtifact": {
"artifactId": "3df36a4c-0720-4d45-a115-4e967189f39f"
},
"taskDefinitionArtifactAccount": "my-github",
"useSourceCapacity": false,
"useTaskDefinitionArtifact": true
}
],
"name": "Deploy",
"refId": "1",
"requisiteStageRefIds": [],
"type": "deploy"
}
],
"triggers": [
{
"account": "my-eu-central-1-devel-registry",
"description": "(Docker Registry) my-eu-central-1-devel-registry: spinnaker-deployment-images",
"enabled": true,
"registry": "123456789012.dkr.ecr.eu-central-1.amazonaws.com",
"repository": "spinnaker-deployment-images",
"tag": "",
"type": "docker"
}
],
"updateTs": "1575935697000"
}