-
-
Save pilgrim2go/a8722869665dff6d09023749401e7c07 to your computer and use it in GitHub Desktop.
The buildspec.yml that deploys Last Week in AWS.
This file contains hidden or 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
version: 0.2 | |
phases: | |
install: | |
commands: | |
- echo Entered the install phase... | |
- pip install -r requirements.txt | |
build: | |
commands: | |
- echo Entered the build phase... | |
- echo Build started on `date` | |
- make prod | |
cache: | |
paths: | |
- '/root/.cache/pip/**/*' |
This file contains hidden or 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
CodeBuildProject: | |
Type: AWS::CodeBuild::Project | |
Properties: | |
Name: PublishBlog | |
Description: Publishes a pelican blog | |
ServiceRole: arn:aws:iam::NOPE:role/service-role/codebuild-PublishBlog-service-role | |
Artifacts: | |
Type: no_artifacts | |
Environment: | |
Type: LINUX_CONTAINER | |
ComputeType: BUILD_GENERAL1_SMALL | |
Image: aws/codebuild/python:3.5.6 | |
Source: | |
Location: https://github.com/QuinnyPig/LastWeekinAWS.git | |
Type: GITHUB | |
Auth: | |
- type: OAUTH | |
BuildSpec: "" | |
GitCloneDepth: 1 | |
InsecureSsl: false | |
ReportBuildStatus: true | |
TimeoutInMinutes: 10 | |
Tags: | |
- Key: project | |
Value: lastweekinaws | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment