-
Notifications
You must be signed in to change notification settings - Fork 14
/
.travis.old
43 lines (41 loc) · 976 Bytes
/
.travis.old
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
deploy:
# DEPLOY to STAGING
- provider: s3
region: us-east-1
access_key_id: $AWS_ACCESS_KEY_ID
secret_access_key: $AWS_SECRET_ACCESS_KEY
bucket: $AWS_S3_STAGING
local_dir: _build/
upload_dir: training
edge: true
on:
branch: develop
repo: f5devcentral/f5-agility-labs
# DEPLOY to PRODUCTION
- provider: s3
region: us-east-1
access_key_id: $AWS_ACCESS_KEY_ID
secret_access_key: $AWS_SECRET_ACCESS_KEY
bucket: $AWS_S3_BUCKET
local_dir: _build/
upload_dir: training
edge: true
on:
branch: master
repo: f5devcentral/f5-agility-labs
after_deploy:
- aws cloudfront create-invalidation --distribution-id $AWS_DIST_ID --paths /training/community
before_install:
- sudo apt-get -qq update
- sudo apt-get install -y python3
install:
- "pip install -r requirements.txt"
language: python
python:
- "3.8"
script:
- script/cibuild
services:
- docker
os: linux
dist: bionic