Created
April 9, 2020 02:26
-
-
Save gandroz/6d0624200c67f6be960a1226f9589a57 to your computer and use it in GitHub Desktop.
codebuild json builder file
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "Dummy Project Tests", | |
"description": "Script for CodeBuild creation", | |
"source": { | |
"type": "BITBUCKET", | |
"location": "https://bitbucket.org/myself/dummy_project.git", | |
"gitCloneDepth": 1, | |
"auth": { | |
"type": "OAUTH", | |
"resource": "arn:aws:codebuild:ca-central-1:123456789:token/bitbucket" | |
}, | |
"reportBuildStatus": true, | |
"insecureSsl": true | |
}, | |
"secondarySources": [ | |
{ | |
"type": "S3", | |
"location": "my_s3_bucket_name/folder/references.zip", | |
"sourceIdentifier": "references" | |
} | |
], | |
"sourceVersion": "v3.4", | |
"artifacts": { | |
"packaging": "NONE", | |
"type": "S3", | |
"location": "my_s3_artifact_bucket", | |
"name": "TestResults" | |
}, | |
"environment": { | |
"type": "LINUX_CONTAINER", | |
"image": "aws/codebuild/standard:3.0", | |
"computeType": "BUILD_GENERAL1_2XLARGE", | |
"environmentVariables": [ | |
{ | |
"name": "TOKEN", | |
"value": "abcdefghijklmnopqrstuvwxyz123456789", | |
"type": "PLAINTEXT" | |
} | |
], | |
"privilegedMode": true | |
}, | |
"serviceRole": "arn:aws:iam::987654321:role/service-role/codebuild-Dummy_project-CI-service-role", | |
"timeoutInMinutes": 60, | |
"badgeEnabled": true, | |
"logsConfig": { | |
"cloudWatchLogs": { | |
"status": "ENABLED", | |
"groupName": "/aws/codebuild/Dummy_Project-CI" | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment