This repository has been archived by the owner on Nov 10, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[IT-435] upgrade to use Sceptre ver 2
Upgrade from Sceptre 1.x to 2.x because V1 is end of life[1]. Followed the migration guide[2] to do the upgrade. [1] Sceptre/sceptre#593 [2] https://github.com/cloudreach/sceptre/wiki/Migration-Guide:-V1-to-V2
- Loading branch information
Showing
9 changed files
with
25 additions
and
376 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,24 @@ | ||
sudo: false | ||
language: python | ||
python: 3.5 | ||
python: 3.6 | ||
cache: pip | ||
fast_finish: true | ||
install: | ||
- pip install cfn-lint | ||
- wget https://github.com/Sage-Bionetworks/infra-utils/archive/master.zip -O /tmp/infra-utils.zip | ||
- unzip -j -n /tmp/infra-utils.zip -x "infra-utils-master/.gitignore" "infra-utils-master/LICENSE" "infra-utils-master/*.md" "infra-utils-master/aws/*" | ||
- ./setup_aws_cli.sh || travis_terminate 1 | ||
- ./setup_sceptre.sh || travis_terminate 1 | ||
- pip install cfn-lint | ||
- pip install git+git://github.com/zaro0508/sceptre@issue-586 | ||
- pip install git+git://github.com/zaro0508/sceptre-ssm-resolver.git | ||
- pip install git+git://github.com/zaro0508/sceptre-date-resolver.git | ||
- pip install git+git://github.com/Sage-Bionetworks/sceptre-provisioner-hooks.git | ||
stages: | ||
- name: validate | ||
- name: deploy | ||
if: branch = master AND type = push | ||
jobs: | ||
include: | ||
- stage: validate | ||
script: cfn-lint ./templates/**/*.yaml | ||
script: cfn-lint ./templates/**/* | ||
- stage: deploy | ||
script: | ||
- sceptre --var "profile=default" --var "region=us-east-1" launch-env prod | ||
script: sceptre launch prod --yes |
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
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
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
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
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
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.