-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
29 lines (23 loc) · 841 Bytes
/
.travis.yml
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
---
language: node_js
node_js:
- 12.13.0
install:
# Install Pulumi SDK with the installation script from https://www.pulumi.com/docs/get-started/install/#installation-script
- curl -fsSL https://get.pulumi.com | sh
# Add Pulumi to Travis' PATH so the executable could be found
- export PATH=$PATH:/home/travis/.pulumi/bin
- pulumi version
# Install pulumi-aws dependencies (among others like awscli) via npm dependency manager
- npm install
# Check, if Pulumi aws plugin was installed correctly
- pulumi plugin ls
script:
# login to app.pulumi.com with the predefined PULUMI_ACCESS_TOKEN
- pulumi login
# Select your Pulumi projects' stack
- pulumi stack select dev
# Create AWS Fargate application deployment
- pulumi up --yes
# Destroy Pulumi setup after successful creation
- pulumi destroy --yes