From db35fb3c7ea874d054be6b40935c832a243ed4bd Mon Sep 17 00:00:00 2001 From: Alexis Hernandez Date: Sun, 13 Jan 2019 07:54:41 -0700 Subject: [PATCH] infra: Include sentry on backend deployments --- infra/deployment/config/ltc-backend.env | 60 ++++++++++--------- infra/deployment/config/sentry-ltc.properties | 2 + infra/deployment/config/sentry-xsn.properties | 2 + infra/deployment/config/xsn-backend.env | 46 +++++++------- infra/deployment/ltc-backend.yml | 8 +++ infra/deployment/xsn-backend.yml | 8 +++ 6 files changed, 78 insertions(+), 48 deletions(-) create mode 100644 infra/deployment/config/sentry-ltc.properties create mode 100644 infra/deployment/config/sentry-xsn.properties diff --git a/infra/deployment/config/ltc-backend.env b/infra/deployment/config/ltc-backend.env index 11de9ab..f16bd20 100644 --- a/infra/deployment/config/ltc-backend.env +++ b/infra/deployment/config/ltc-backend.env @@ -1,28 +1,34 @@ $ANSIBLE_VAULT;1.1;AES256 -32623766623935356435336436656663326439623265303138306133393565376565396537646263 -3434323534373231666330643535663633353464313663300a646330643763383633633037313035 -31643061653265626539666631386635363537396132303164343265653761636430386135393930 -3961653864313366310a323639363530623134376630303032396237313963323066303237643837 -32323435393635386262346332343866313632396238663564383562633832396461373339666661 -37373961306135343734323434653430656665323963393037313462323236646539666163616164 -33613662633165386338653635363134323037356134616462626561373138613338643066333833 -64623665393563303432373731326338306237306436623064633034623337626332316133653562 -30356366633839306233633731313066613662336465326164313631313063623034323130353962 -34316138356230393432623438356430363561626631633066623561643463663937626562373032 -35633833303737316632333964653530363035366133633564313935663536393531643738313463 -61636134306566633230353238323030666661323232383766393230373236643935363563336538 -34373031633934396264393538666336373931313565613266666265363936386535346437666638 -39323461613532336230653639316365353537626662343037396138303830353463333261353938 -30373161646466316238356331356136353934633163613437656338383735336439383532313336 -65376134646366363630316535323964633134396334323835366430626263356238656564636165 -31623333383336306536653839636663363535636239613636373433623365363137663131643064 -61386338383737306239326264343762656161346236343138383463376131666432356331633031 -33326632306566393866393032623639643763656666623838393633346237623063623535666363 -35353031636366633763356562646634623035636165353737633734383031636331393366383663 -32616361383735643835333830613138393333353635616330653465336163323266306539373465 -65663866626466646464393436363537383337336338633462646237323134363939336665646238 -39633864623864633734616161656531356166623164663865633837376436353465353065373666 -37356161653861363431363335646462613138326532316262386133633334303464376165313430 -64643362656631353930633336373564373131303534303163656461613561383635386338636362 -64306465393831326534353165303263393534396530393939373434633130393364336262653730 -323465623931333663653233643938353837 +37666633363862643234303262313936313166616134393965623039336464356163353632393231 +3232363234376337373137386235346164666534626239330a373766393833363265623037333534 +65616331376463636363353534666137636436383661623336363535656663663930666561323835 +6339393736393163610a323230663330376166336533646365353261333037313230316262336235 +63353161633935346335303263616566643338623133613766343532616464313133616633336161 +33373061336266616133636339383236636465343233613133653962363163386633346265383936 +31636438343363646538353264306539373830353134366363326638613836316638366536633963 +32313938323966373862613836643266376335383530373636613435636535643664393933363730 +64633232646333646233613733356335623763613630646262303539663062306665333062316263 +31313363326336653231343737393466393532336432363732626533633333303163363830373631 +36326662343634336564313661336535356264323537376336386637636361653662346266343236 +31363835376166313133646663656434313834326433636337383838353463343332616563313239 +34366462396133623436636166343430643937633534613761313661613839656434663263663135 +32353238363039633032653066363666333130626438313133613736653366633665666136633037 +66386466626366636464383136383561383163313234343339393034623562383331363839333239 +65313534353135333034653039633331313237353765663064376432633332386338616137396530 +36316136373530343233313466306530643065326566333233336162343735383333643434613437 +36313865643132623238633264336236633536386634613864373362633038373561316537383662 +66316530623465643161653964313862643363663661343664326361386632383161383131396530 +32643130383330626130373338663833363939633737643865656638366431643234363965376565 +39386536633237666632613137363931633438626530333634393032313430656134336634653339 +31383635626662336665376537623533633135323061383738306565643230633333646234303136 +65313565363861653130636362356262663965393164316236323634663335376165343037613265 +65353562663232663535323635643265333931333062316531646133616663643162386166363264 +32646164373037396431646564633165663035643136323234663663653537363433336435346433 +61613131323461376634646163333630623833303831613632646462646337613831666538646162 +38633837303438313633623632376632343536346239393633623237646233366238666564363832 +36346238643835316166386631666461643564393063613033326138376339623363303962373332 +30393664633431663831313962383164333764313137373737353136313534663363313239363534 +38386464353861616432353131346634633031623736346636343734376236353530356462616633 +33653935373961386566386165343936363630666335633032346332653139366563626233623538 +36336230643538376666313633373230656366353730663932346561323264373838376564646261 +3363 diff --git a/infra/deployment/config/sentry-ltc.properties b/infra/deployment/config/sentry-ltc.properties new file mode 100644 index 0000000..af052a3 --- /dev/null +++ b/infra/deployment/config/sentry-ltc.properties @@ -0,0 +1,2 @@ +stacktrace.app.packages=com.xsn,com.alexitc +servername=ltc diff --git a/infra/deployment/config/sentry-xsn.properties b/infra/deployment/config/sentry-xsn.properties new file mode 100644 index 0000000..11fd084 --- /dev/null +++ b/infra/deployment/config/sentry-xsn.properties @@ -0,0 +1,2 @@ +stacktrace.app.packages=com.xsn,com.alexitc +servername=xsn diff --git a/infra/deployment/config/xsn-backend.env b/infra/deployment/config/xsn-backend.env index 8a9a6d1..b4e1631 100644 --- a/infra/deployment/config/xsn-backend.env +++ b/infra/deployment/config/xsn-backend.env @@ -1,22 +1,26 @@ $ANSIBLE_VAULT;1.1;AES256 -65306364646138396663623136343535336238616636323332653062636261366333613639613337 -6132366138633761356235356439353030376363313764360a646435613637633831326138393061 -36316533623039636134333264356633383834386536626239366337396366316537336563383665 -3366393935343933360a313934323839333739303136643136346237306266613838393931633539 -36383961666564336462326262323534373665323233643465343136616339323561363536366265 -31313564303633373139333437616537373637663639323430623966353030353431643632353132 -35643066633032396230343865626633663062346463363364303639313661616337316336313430 -62653438623964616438313633623837346433646364383666633061623739623162326264663238 -36343137323132643061663965653565353435643033636335653561313663396339346633646234 -62633135663964326134363563313663356430383030646131623433323766623937336665656539 -62393831376565376164326632346538323932633364376631383234373939633237333730386532 -39613836633234303861363737663539376466353138393161613563646637366163303635343137 -35373135393831643737316663346636353332656332316266636238373431383132396534313963 -38343861653231343266383434316664343162366433623366326235623034396130306337326361 -35623862303933383238386338646563613136666137343765666238343536653763376536393434 -38363230373136323730613230393331616536646664646163376435383639306332393033636565 -31633665393437633037616135663432373831616231396536313065633633616564306562303737 -32303439393538313165646164316161623337306336373039383265383637393930353538663164 -61646637386662386432396335666236353334316664363864326339663936353137323730343364 -61333934343362363437393633613666656561643437363133626339383762316638366637656537 -3037 +31623964343835343164333565633761636636373739373737333466366538633462363933306265 +3936353438316463303062663362623835323165643236640a663665663433333238373161386238 +30663936313036396165376566303635616563383031666664323136666462346431393861656232 +6232323138666332330a366365643965333763383735383839653232383139393732373837323362 +30626633336335633564336433613235313431623766653130643936616535633661326238313062 +32363434353033636132663562636432616436316338316234376233633466616661666537386462 +64353066626561646166303234393761343664353566316633303261383161633239346530363761 +30306435613664636661333038326338353765356235626330643834333035383235343733333934 +66343961343036356332613563613832643866353137643636616439636539623635356437383762 +62386565356365613061643838353137313661376330356237383331316536366562666537653264 +37346630663065393361353735323163643336313564313031376431343861353263313732663734 +65393738323937353134346236383562386337313962623963303261363032303130626139653439 +65636538633862313933393530623663336632656432626530346638376434646430353636663561 +37653262626133353337323966376539316533356566333933653064626237613332306638613139 +64303363396532323366393431616438633962393831333337303765303532373064396131656339 +32663232343334633138613234613439613634393936666138656639326531663264303466653130 +35383136313231343965393535613237663066623166303464336261373065366538613562363835 +66343238393662633163616535356339383661393437343264386130633336343161666338326635 +66393836383362643436353964313964656639636436643132663230326336336139323365333866 +61386433643266303366303064636636343438333337386162326132386639396338333834383031 +36363934663966366134313931326136613130633230626165663739373565613539346532363466 +32373333396537323162303236383031386366306363663730373730316365626238363733626431 +64343535356562376662633764393232366531306264656263626361316531613866366561346365 +37623662303865633433363834333338636663353236663134396139333537373232653135323237 +66303633643363356266313466363035623234326139376235373033336365393963 diff --git a/infra/deployment/ltc-backend.yml b/infra/deployment/ltc-backend.yml index 3fed3ea..224256b 100644 --- a/infra/deployment/ltc-backend.yml +++ b/infra/deployment/ltc-backend.yml @@ -62,6 +62,14 @@ owner: play group: play + - name: Set the sentry config + become: yes + copy: + src: config/sentry-ltc.properties + dest: /home/play/app/xsn-block-explorer-0.1.0-SNAPSHOT/conf/sentry.properties + owner: play + group: play + - name: Set the application files permissions become: yes file: diff --git a/infra/deployment/xsn-backend.yml b/infra/deployment/xsn-backend.yml index 947aed5..993c93c 100644 --- a/infra/deployment/xsn-backend.yml +++ b/infra/deployment/xsn-backend.yml @@ -54,6 +54,14 @@ owner: play group: play + - name: Set the sentry config + become: yes + copy: + src: config/sentry-xsn.properties + dest: /home/play/app/xsn-block-explorer-0.1.0-SNAPSHOT/conf/sentry.properties + owner: play + group: play + - name: Set the application files permissions become: yes file: