Created
February 17, 2020 07:57
-
-
Save lantrix/535cb3048cb85e40212867914dda101b to your computer and use it in GitHub Desktop.
Buildkite pipeline example for Lambda PowerShell Build environment to deploy PowerShell .NET CORE 2.1 Lambda on AWS
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
env: | |
VERSION: 0.1.${BUILDKITE_BUILD_NUMBER} | |
steps: | |
- label: ":docker: Build Powershell Lambda Environment" | |
command: 'echo Building PS Docker Image...' | |
agents: | |
queue: myQueue | |
plugins: | |
- seek-oss/docker-ecr-cache#v1.5.0 | |
- docker#v3.5.0: | |
environment: | |
- AWS_REGION | |
- AWS_DEFAULT_REGION | |
- wait | |
- label: ':aws-lambda: Deploy Lambda' | |
command: pwsh -c ./Deploy-Lambda.ps1 | |
env: | |
ENVIRONMENT: "dev" | |
agents: | |
queue: myQueue | |
plugins: | |
- seek-oss/docker-ecr-cache#v1.5.0 | |
- docker#v3.5.0: | |
shm-size: 512mb | |
environment: | |
- AWS_REGION | |
- AWS_DEFAULT_REGION | |
- VERSION | |
- ENVIRONMENT |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment