55 lines
1.4 KiB
Plaintext
55 lines
1.4 KiB
Plaintext
# key: __codebuild.json
|
|
# name: AWS CodeBuild json config
|
|
# --
|
|
{
|
|
"name": "$1",
|
|
"arn": "arn:aws:codebuild:eu-central-1:123456789012:project/$2",
|
|
"description": "$3",
|
|
"source": {
|
|
"type": "CODEPIPELINE",
|
|
"insecureSsl": false
|
|
},
|
|
"secondarySourceVersions": [],
|
|
"artifacts": {
|
|
"type": "CODEPIPELINE",
|
|
"name": "$4",
|
|
"packaging": "NONE",
|
|
"encryptionDisabled": false
|
|
},
|
|
"cache": {
|
|
"type": "NO_CACHE"
|
|
},
|
|
"environment": {
|
|
"type": "LINUX_CONTAINER",
|
|
"image": "aws/codebuild/standard:5.0",
|
|
"computeType": "BUILD_GENERAL1_SMALL",
|
|
"environmentVariables": [
|
|
{
|
|
"name": "AWS_DEFAULT_REGION",
|
|
"value": "eu-central-1",
|
|
"type": "PLAINTEXT"
|
|
}
|
|
],
|
|
"privilegedMode": true,
|
|
"imagePullCredentialsType": "CODEBUILD"
|
|
},
|
|
"serviceRole": "arn:aws:iam::123456789012:role/ExampleExampleCodeBuildServiceRole",
|
|
"timeoutInMinutes": 60,
|
|
"queuedTimeoutInMinutes": 480,
|
|
"encryptionKey": "arn:aws:kms:eu-central-1:123456789012:alias/aws/s3",
|
|
"tags": [$5],
|
|
"badge": {
|
|
"badgeEnabled": false
|
|
},
|
|
"logsConfig": {
|
|
"cloudWatchLogs": {
|
|
"status": "ENABLED"
|
|
},
|
|
"s3Logs": {
|
|
"status": "DISABLED",
|
|
"encryptionDisabled": false
|
|
}
|
|
},
|
|
"fileSystemLocations": [],
|
|
"concurrentBuildLimit": 1
|
|
} |