From ffd018c9d7fb9c496e84c8346cfe8c1f9cf806b9 Mon Sep 17 00:00:00 2001 From: Les Vogel Date: Mon, 6 Jun 2016 15:01:39 -0700 Subject: [PATCH] Add secrets (#254) This time do it correctly. --- .travis.yml | 13 ++++++++----- .../gae-firebase-secrets.json.enc | Bin 2368 -> 0 bytes gae-firebase-secrets.json.enc | Bin 0 -> 2368 bytes 3 files changed, 8 insertions(+), 5 deletions(-) delete mode 100644 appengine/firebase-event-proxy/gae-firebase-event-proxy/gae-firebase-secrets.json.enc create mode 100644 gae-firebase-secrets.json.enc diff --git a/.travis.yml b/.travis.yml index 69fb0cd9adb..11e816525df 100644 --- a/.travis.yml +++ b/.travis.yml @@ -14,15 +14,18 @@ language: java jdk: - - oraclejdk8 +- oraclejdk8 addons: apt: packages: - expect before_install: - - openssl aes-256-cbc -K $encrypted_37a4f399de75_key -iv $encrypted_37a4f399de75_iv -in service-account.json.enc -out service-account.json -d - && export GOOGLE_APPLICATION_CREDENTIALS=$TRAVIS_BUILD_DIR/service-account.json GCLOUD_PROJECT=cloud-samples-tests - || true +- openssl aes-256-cbc -K $encrypted_d17a6ce39290_key -iv $encrypted_d17a6ce39290_iv + -in gae-firebase-secrets.json.enc -out appengine/firebase-event-proxy/gae-firebase-event-proxy/src/main/webapp/gae-firebase-secrets.json + -d +- openssl aes-256-cbc -K $encrypted_37a4f399de75_key -iv $encrypted_37a4f399de75_iv + -in service-account.json.enc -out service-account.json -d && export GOOGLE_APPLICATION_CREDENTIALS=$TRAVIS_BUILD_DIR/service-account.json + GCLOUD_PROJECT=cloud-samples-tests || true # Skip the install step, since Maven will download the dependencies we need # when the test build runs. # http://stackoverflow.com/q/31945809/101923 @@ -30,7 +33,7 @@ before_install: install: true script: ./travis.sh after_success: - - bash <(curl -s https://codecov.io/bash) +- bash <(curl -s https://codecov.io/bash) branches: only: - master diff --git a/appengine/firebase-event-proxy/gae-firebase-event-proxy/gae-firebase-secrets.json.enc b/appengine/firebase-event-proxy/gae-firebase-event-proxy/gae-firebase-secrets.json.enc deleted file mode 100644 index e2e8f577ae2c1a68fc8f8edd8e2ba6fc56111d9c..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2368 zcmV-G3BUGuDSodQwHqLo_NkcasYEbRBsMSQVIXfCFq2H_OM46`SKV<<( zDhh<|5>yYI%j)iS z`8tm$|7Qr)y2-W7?NQ1IosW*ePH|R0AHMg#DenxmtT_*AOr<0w@E_w%vP6lI=5lLX zO@gCFTHG2(($+Ji5{jg*p`2A}=)cVOXeunjEh=&Ll?z0r>cv?Rfs<&;-v(cAaE^iG z@sGMG_!M6g{T}U$#81jd$-IIdM($IZGc>2IDQ4`OGHx2mIAcFGl*!*USG1GU*uL9G zOBMJ9d2*|*uxYvQex{DE5ftMyE-Qu1g+og*Z%NS_*+fvv7n!e&!&jXIxY*0$@NJ)g zP-J`yrt*2uyGOHwQcCtI*hX5LL~4kc&=`K{IUULEUCh59TK2!L)u4-uOxf$8ekW&n zcpziofaS8|)W6|HWBUYIpbHEFCEw3~GPV_bTmZ{VIuJh8w{Cp@+b94#%} z7IPy`Yr)F6b94Zn&%dPjXgGHiqP43`LfZ#=N7$;aR4W@NK94QFC8x3(H9)8;@@c4Z@UB|otlK`?H*~Mc-^C^`+#JZ(C6|PCy8C=u z+l&5}QWQb|5J^CF2%e*)Da{84%!-|8zU3h#%Dg|b+C8q1L7dz)RSH8TYFSiXkz$g)!%9i zGb_eHg{bdC{ERgr%BjrTW0YStLmz)u`N2iSKiV0EAigfBA8hB>Xpg0*3XD;BK(;2Y z10Z!U!to*fA_81A^6d3Nm_s9zi0}iwuzXP5l!n=?{%huI( zbq9+$xs%9c_6w`*lI4@9qB$5AsZ9f^4OcjxQ|eDLB(J>DnV~b+dJOiLAYz3-KS#24p`Qv<71zHB($oj$>^M_ zcsgyosouee&w~3Z46Np#$xEmU%=ZsjT@^tbb`|>d{h}Usp=;&zb2KG?ldDi0_W(75tBDi~kv;pzyz*2g zz?MBcRii(Q@L)#Go92y#ogRm08d|mYnK|E(5%^?>3QW?ikmQ`$r5}cYDP&U z*Y^=mn7O7yc~j%{tJmZSmpMSuJrnLs!`i z&?Xoc&-6cI>lUxk65*c;awf)W5Bt%UnE_VrgQN}ds7t2OK8UYi^dASI%^{X?XZFkR zIn0Wf))~1=t-7of>Tmb1r0WhkoI-q>1(4amBw4%Q&8Z?r;&toI{@#}p-FLh;{Y(%_ z-?8{8M_#$QYzEIU6(U;K{Jh)Q9k0k9KlwL zeUc>(Uy4Y%n0RLEw<#4Uk)|SJ62Z*Y{IrnpW#&OrboquK7fI9A~+r0e-I##P*PxLi%~(kC^TJ!|BH02a{7%!cd$ diff --git a/gae-firebase-secrets.json.enc b/gae-firebase-secrets.json.enc new file mode 100644 index 0000000000000000000000000000000000000000..d45c328a5154e4d8a1c17efebd5597517b00d73d GIT binary patch literal 2368 zcmV-G3BUHynm451m6k9@7Y`a^(6DWLVUn3*b3bu7%@Qbge6vN`#BpD2A_OULgzes{&Y}jMl4t)ci6${95zjo}TRq^*jTv z@<+i)(fAx%eP)%ztEFr_wF^bra1YtUFV;$1)lZ#JlCkE%kO4y{1gN06av7LYrn)-0VRR(V~%Mj;39x0hJ0 zl3O`!Pbt-x>ct=H!+;37$T7(W4UT*X+(sE!!O&-%QhQZ=@Xi=GcOtWiQuG&g`{NF8 z|8LUlVpYe9z_aW%0ZoBSfhqBJKfWje2T-!4ONP7fkNBf%CBxU$@w^3a4UtEH9_bqd z;AHAaQW`v~d&%^w3fAg3aj~uRx2>^9Q%;2B7p_MH;&XJ4;xk)YpQRRAE!%@Y3ILBq zDg`FQUXou7qb=NMfU@i!%mtUz;7TbS_K6`So_vHD@L^1>4jFcYo)LgFN|Kd5T9P4Q zk_T6}hi1t+Sc7h`mf7P`V$@-!&yrHJ9tu;n>`q_1uXc$!8^1$7NwrLGaTlcd+4G4? z0Oy)MJa;*coKuU7obxr`Nwi{LCpsphuQ007^tE)L@nGvc2JDfC-q>lFMp$Nbd(X`A z`fwy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