From 9dfeede68ab93c73b8be2f3cbe72c4f92ed8c2e9 Mon Sep 17 00:00:00 2001 From: Parth Shah Date: Tue, 22 Mar 2016 21:40:25 -0700 Subject: [PATCH] fixing travis env and deploy script --- .travis.yml | 11 +++++------ deploy.sh | 3 +++ 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/.travis.yml b/.travis.yml index ec79aed..8403e86 100644 --- a/.travis.yml +++ b/.travis.yml @@ -29,15 +29,14 @@ env: matrix: - CXX=g++-4.8 global: - - TEMP='blah' # DEV_MEMBER_ES_HOST - #- secure: + - secure: kNVo5r0jRIKCwZp1lWD1AKDJ3eEIf2bGIqg1o7USxpyV4XLY8GInxYs+gemX3ovm3lxDhwi3kQLY7VC98XL6+zNaYaJNiW4pEcrFcVtmVJ8//D4tEEATmsr4pR4z3oOesGU/AdS37i5VYqG/esIZvRSNwu7AQ2WMICg8Qu+MG83XYCx0V/RYwF0zCg/N1Ns+FlP0IvgZdwGrM7o35InJ3pgNFBpJgqC7bERJS6DyTq565fKriI10VDx1CtT/OYEE6DAtUCF49gPtbOCoN8iWTo828N+oMoZBqfopQfWw2URV69+qbNCKqv5GnuYaeZFIYmwpSoBpPVh4kcFkH1kp7ZoA7jIKRdMkEvvvr6JKu/11G06jhQ59oQTMQnsZT3ToDClWKyIHtsseJlzcmC7TQvAHV2MhY4I6O322rqRhafDoothOEu0f0tj+Um5DCK366BFF3RUf4t2deD0oIUMHEkOEClOwSdW1BZrJSJsml49sY6SQS3RamDbRXKffbrgywaE4646agVHGwsAJNf6jfzzeyu2C5BfwI+HaS8SVE/pPnb5bpML6ODc0dZ75ZpHNirFhlDHnlRK6yf+BuUSSWZTrNUDt+UF5HJTLVsLbZtDlmSH30YOc9DvrvZ8oWud6c+Sj3rXvjTmAJaUZi6/XWEU0GGwzPssY52byXL+TiKE= # DEV_AWS_KEY - #- secure: + - secure: aGNnOjVW8W5/cFGhMMZqW6TSNcPrHjRD5WDPAwq4bi4MgvxXv3wyMxedjnWImT+HRx8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pJl831P5kQLWGZnPVhd1C7gEOkGWn6+P0Verx8j3F60Mr5xgqwPdBL1L+IjLog0w+f7KB8KQ3tJ94+hEpxNveV0Wn5M256meajyeY1k9YmCWI2DbSojRae8gwiU7/mDGwMHjoPaYRttXD7t3095dFClUafzQA6izyk6Uhz+SbCbpqs94RzMl2ny3y0siNDKTw28p5Vg35CUU+kib3JkzxQQ9HkKeqX0ufBJhGl9EAsR9KAiOuoGXH93tG46UIwaXIrj4gQtixl8P0jNM= + # DEV_AWS_LAMBDA_ROLE_ARN + - secure: R8KfL51csAq/vwJBFAZT5FMql7z00HHUwfY6m5dEOTcVQDOiAFawVF1q3x5HpotXQLF21tgUvgU7kvvDtN86DyZMxg62w0x8VVar3zmxQJUalUWXeHE9wbrb45Gk6F8D7AWIGzJFgP0TQjpv/jiOJ9kH+PDXhwYe43ngz8J+7wK0uZT8byn74BYqqrz5gybSFA+iM1+TKmDOyJk2sBOcX5xWsTGgjM1BbVpom9c1HxxmAvt/OaMOhgsPJO2Wv61BwrnIW6IygfHbDDzl0M3ohW191Pt4UmhkVDb3pO6NqaLRgYRWCeZXroQCJzfjIj0ITBSbcoYUGnqPLSccDaIPXsSA4ytBQe1K6D9urb8ZvMXVoWJOaAWFqEIH2/4p0w8hfF8l+G4Lodk//rh2x6FNjFDXpMEpmBp1q85Uk55u/D84lm+Wgn6EXA+pg3BTxEPdSMhUK9URNj3cJ10oNwkCA9mZII2Xis4CprwLjJ7eouVs3gy5AHCInD/wdGQg2J4JoBFp5vKlfLk7joBxLaKmDHI/qXav7dxpINStvJKbvUkCc+PYnxrAZG3xy5rnLWiTwb9I8cF6Dfrw+huCXRxONzDsep7MBNG8r5MJilE/g8cAzjkNDZStZP4VP5VD1Jv5saVVVAQCuLRWbJnVW4e7Ywxy9uCRociFzhPjFSFwONQ= diff --git a/deploy.sh b/deploy.sh index 6d1f14a..ab00e10 100644 --- a/deploy.sh +++ b/deploy.sh @@ -2,14 +2,17 @@ if [ "$TRAVIS_BRANCH" = "dev" ]; then export AWS_ACCESS_KEY_ID=$DEV_AWS_KEY export AWS_SECRET_ACCESS_KEY=$DEV_AWS_SECRET + export AWS_LAMBDA_ROLE_ARN=$DEV_AWS_LAMBDA_ROLE_ARN export MEMBER_ES_HOST=$DEV_MEMBER_ES_HOST elif [ "$TRAVIS_BRANCH" = "release" ]; then export AWS_ACCESS_KEY_ID=$QA_AWS_KEY export AWS_SECRET_ACCESS_KEY=$QA_AWS_SECRET + export AWS_LAMBDA_ROLE_ARN=$QA_AWS_LAMBDA_ROLE_ARN export MEMBER_ES_HOST=$QA_MEMBER_ES_HOST elif [ "$TRAVIS_BRANCH" = "master" ]; then export AWS_ACCESS_KEY_ID=$PROD_AWS_KEY export AWS_SECRET_ACCESS_KEY=$PROD_AWS_SECRET + export AWS_LAMBDA_ROLE_ARN=$PROD_AWS_LAMBDA_ROLE_ARN export MEMBER_ES_HOST=$PROD_MEMBER_ES_HOST fi