diff --git a/.travis.yml b/.travis.yml index 56825e9999..e20a1567b7 100644 --- a/.travis.yml +++ b/.travis.yml @@ -19,7 +19,11 @@ addons: matrix: allow_failures: - - jdk: oraclejdk9 + - jdk: oraclejdk9 + +before_install: +- ./ecr_credentials.sh +- pip2 install --user awscli script: #run tests and integration tests @@ -38,6 +42,7 @@ script: - cd iri-regression-tests - git checkout -f master - mkdir iri + - aws --profile if-s3-dbfiles-dev s3 cp s3://iotaledger-dbfiles/dev/testnet_files/ testnet_files/ --force --recursive - cp -rf ../target iri/target - bash run_all_stable_tests.sh $VERSION - cd .. @@ -65,3 +70,5 @@ env: global: - secure: oJutGSe5KK3ymwSvohFZ89UL7XaNlXH6fdO2nBEYbk5KyYuQ1Wm+h6+N/05EbwxwDK9dEiF73ZJh76sZ3IWKjRC8VWjUAz+8p38hGvQwByrVsJkrbs5SA4wA4XnyvEqyMV3yqbcgRNbMlIvj7ubUbxMizz7MA7plnumrnx9ejPG1WP4rNgzUA3XcBWHdITyOSg9rSMBJzMZ9CN1Dv+1SxZV+GlkyWN8n1Cshkq2TnNl1oRZqGKs7O0ma1dN0hUKtBa80AsCTjH8ojZFJU92gmkvAWDw5BTSZ8mhX9sZcbBYT8SnQxNDrf51HJ+K7hvdpFbsy5Z0g24cNJkA8lfUnzXFznZ/PH4hm8MeVWjRiWdE4VZr47iYzJcs0brOHSeab6fBoeTPS5899Q3V+yAw6CahfvOBthuF3Ymy+fZXoDO5242PSWXXsGwFqK7r/gT0iwJZxMBI/UUWsP/s7J/CWux8ftwbOdSbs4XdQZsuqxzKEKDDwU0FTytantsMS/vcgI41K5azyY4tbkixzydaBPvhimkflaWcuZb//mXcntitgyenaSwfkLX5pD5l1srVzSliyabnH7AprLOm1B9DBfk2leI2XgGJg/Q/GrVtcjcl1FU0aXBFhLrp3BkK7chlG2v/Eacr8Pb6NOQHORyq64n2prF6zvExX0aadOddefoA= - secure: HfmR15dSUnVLXtYzqE8Rq6STPunSNWpKTipNim79SZ+KE/pJp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2e8PDs5T+XVl+9b4jbKg0u3fhhhFLeko+puGFEX3XobmH+8uqqR+3lAAgQ2y7oj+ZNih+ElS7cHJxaAbomhTZbk6pu4C8R54zeBnLlPKFLHdrjQd1+O2ylU2Tgewnz98n73THwKT+MOtwnmPRpnZ3yVhBCeqqT6LodwDcI4R6nL8XZew5A49XdMEwHOJnLXt7jABGspBgMqUhwIc7PMuN0MOBq2D8uQIIPzP/YAFQ0= + - secure: GT+ASeXWWBsqnv1VIiKOkHZexvopgQCTcmxL8kjjWYd4yoZYihMNN6n35u6E8T0Q02l7LrbRgtT7EvpMJYqdrQEBmqRwipVNKCLsffuLSRgpRWAwlz1CIX9qex3IyxyxpyYoZr4UOIc4ERvEOPAjKnoCYoRRqaanZ6I1fuI1Hgn3tYHgcnBfBUS2qeycxn4pXIVTBmjvwulss2FRS4K0hbxo3cfPjXdnmjiBaUOMD7qGyMPS++3vQuIReygsIHB0rkb8F00te+x9uZXuzoABT0q0xPTedqC4Io0DLDSyRILxIeQg6mQUCHLHQ9rTAEaSo26huKUf9PSjeSn5Q99JDupTPmcM9HwtBGP5RxqW9geB74mbwvXQbg9R9Ut0MWOMfl5q/gyjL3Ddv6g4qN+ebt9D40KRoCpPd5wDDaBcB3XzGePFbqndQtX12La2tELBO8MzvZZEGvgNIv1kX1ASu2MliUsqABES04VMM9qQTCyQcO0gd96JWeexqdGHabirbkRizQkZ36O/Du5BI4xxdlBK/rNU0P5fvqSdmqV+gBy434/D6l/qeoABa3eooceR63DoeHidAB+4KvhMVizkiUpOF5lJ1COWzPOjmiH6dBgq1+47IOw1xQ73fnxIWcCQjg/YSL6N/qD1LuKAjipGDz2GGYUhnHqOPp/Gn5cl2DA= diff --git a/ecr_credentials.sh b/ecr_credentials.sh new file mode 100755 index 0000000000..9d07b76f1e --- /dev/null +++ b/ecr_credentials.sh @@ -0,0 +1,9 @@ +#!/usr/bin/env bash + +mkdir -p ~/.aws + +cat > ~/.aws/credentials << EOL +[if-s3-dbfiles-dev] +aws_access_key_id = ${AWS_ACCESS_KEY_ID} +aws_secret_access_key = ${AWS_SECRET_ACCESS_KEY} +EOL