diff --git a/config/production.json b/config/production.json index eba1dd30..02a7edf3 100644 --- a/config/production.json +++ b/config/production.json @@ -5,7 +5,7 @@ "versions": { "storage": { "git": { - "snapshotIdentiferTemplate": "mongo://contrib/open-terms-archive/snapshots/%SNAPSHOT_ID", + "snapshotIdentiferTemplate": "https://github.com/OpenTermsArchive/contrib-snapshots/commit/%SNAPSHOT_ID", "repository": "git@github.com:OpenTermsArchive/contrib-versions.git", "path": "./data/versions" } @@ -13,11 +13,9 @@ }, "snapshots": { "storage": { - "type": "mongo", - "mongo": { - "connectionURI": "mongodb://127.0.0.1:27017", - "database": "open-terms-archive", - "collection": "snapshots" + "git": { + "repository": "git@github.com:OpenTermsArchive/contrib-snapshots.git", + "path": "./data/snapshots" } } } diff --git a/deployment/.env b/deployment/.env index 55e22152..4ce4a5c5 100644 --- a/deployment/.env +++ b/deployment/.env @@ -1,17 +1,17 @@ $ANSIBLE_VAULT;1.1;AES256 -32616662393337363338373333663565626535326465326664393661633233303262346161643437 -3337386135333166396262343762396632386330323266300a636438363432646630663137383763 -62343838626662343439353564343633326334323366366233373039613133623463373335396337 -3439393166363233380a636437343833623432316662376566343266303835623438626264346335 -61313132356139616636373637323739306337326439373335336536366539633438316538343031 -63663532396565313162376331646361653366663937633839643032313435373661333634343265 -62616133336437393666663831623231383433643466393963356164323766633764666663336663 -37613937663161343331323332613162623332346661393163376130613435333462663837333935 -33656137303936616131333833366635613266373066343535613936643964626132376134613731 -62633634386439663931663161633961633964303034653636623835386539623664303564383764 -61303038653562653562663362323363636538636132366365653061336136363836363135613533 -63316466343364313762346465326133393832643564633664326266383265376262333634653937 -35323565623334346234356563393163653933363233363831323033663836643432373364373637 -30643632643834383033633462313362313834383066326133373461613430376531343633646563 -31373864363136306238643036313964323230343830383362666234653663623838623237393135 -65366435303461646538 +63653262383536333363363535636435663434343261396133353766353864386333386337333032 +3764313133613363656365313230313933383263383733340a333432623965336138626535653063 +35666461343238633461363262306637356237393163363863333134663762343130643863373064 +6265306265343666330a303831633064613232666133363462666637313364663539626662373238 +66356137636539323235373839336136666237656166303965333736323136623031643134313333 +37613636356133633334373266393064353037663530626561326338653430636461373663393765 +31313564346230373731623833323838376533643334356366373362356134376334363461313339 +62363939363264353139376261333734306133363264646333666261323930373964613166613134 +30303635636366323936376436333838666465303063643663306664363065343934623966633265 +38333439336431316366343266323161323434343933353864653461643562653263626530623762 +32336638653430623937366339396435616632353462346261616134656431383532313732363433 +39386130393839666139326530366336656434616661346164313933316332373536396163353633 +62643266646663656539363537663334313766633739303732313664663666613539383438616365 +62306563366163306164643065653937343731646636306533393036313765623365663965333337 +64366537396330376230633862663636643064633862323437643436376166376238356462356536 +36636536666163313537 diff --git a/deployment/github-bot-private-key b/deployment/github-bot-private-key index c012038d..888b232e 100644 --- a/deployment/github-bot-private-key +++ b/deployment/github-bot-private-key @@ -1,26 +1,26 @@ $ANSIBLE_VAULT;1.1;AES256 -64613538623232656264386566306231633333656261653737336335323164636165383963363832 -3066353333643035343561636662353031303133356266320a653065613135613564363930653736 -30343864613565663435386534316137363735653031666531623538346162326236363665643939 -6363373735396463370a323839616263663931666161313637363431306138653031323333646638 -64393439303666633339633463633862636563653364626565303131336464663835643137336165 -37646136323430303964663939323962343437323562353962303032613136393232313362303830 -34643532343834613531333739623332333033653733343237663433353734303266336266383535 -30373461353032633362393536386131353332353632396630373966373032643664376134343535 -31316637326133633133363864646230306464336664393438653731386238653232333032626364 -61366439376139396561643164633831396230363865326665316133613664376235613837616165 -63356236306435623964373734313032373966383636646237613133396438646166626361633131 -33396431386666653333643265613734343465343632616665646139326231396234343564373566 -32346562373364383962633736666262343639383235353164633965613736633062383132373738 -65386639646539633831613631386565356162326136326132653335616234653437623336616330 -36346664633863333039623530393631323363626134643261613337346565376230386663313132 -61346366656163303166636564653636393231613337303237366361643136613062363332366562 -61356165306638306433656136353537326535356164306533393338363462623265653562316439 -34313365343063373632376666386466663562643062306336353039626530636536636536326235 -64646135623263383832343738313365653561376639353865323033313536386333353936353235 -66663739663233363362663265323662346563303935326264643661386235616532346137346330 -39323830343932623136323732383961353166623561326461613233656563623937396366656137 -31346162326333343633636664663237386363656362333538663830393965383535363061646663 -65313939323732643932626561666336336165383066366366353134343630663835656364366562 -65636231383035343439316636333938343363323732363961383165323663663439623163656334 -35643731316361383164343664383431623863653034326339393930666639306132 +65303562633833333266306238636262333461313931313938343264656239356334316535623163 +6137656166623132306133346539616238646332623337310a656463353465303330333864636332 +36303631383862636433366537353262653137376238393836623635336138346238643637316634 +6366313539613039350a346438326531633930633666663961646461336431653031616662636466 +62363236356338303137616337663164323330643634383730343664376534666161343839326265 +30653832326136623362353465356562643332343831376639353136386633376237336139646536 +37353331356665383935363665326163636662646131383336393865656233393931633031633339 +62353334633733383562643833303439366535626138653038386261633766613138393234613162 +38373465333935643838623862323138366639623838653561363132353530616533333165313765 +33343130633662646264303161626164336237373862333432346165656465313963633262656532 +39306430643066326162636539636332306531363164663865323031623433623864656665386233 +39656230343839336634333462306134643035313761663231303061346430623738613735363039 +61623736353031356165383865616563643061623839343962343333323066353335336537386362 +39623537336431323132323666313561316438656537383861376137383531663336626234336630 +61613735613764646231323431623166343962393762396663396637643866663231396535353965 +63386266653438646463393535376564326562366231653633623137336431313439376235343333 +30333839613830346339633830383239333666396663376165363533663130373938636165656665 +38313365393037626165396235633733343963643939663336353938326363646162656333646337 +37303665373364343166616263386364623363353062643330333539326666343437616130346139 +36326565303632646662383734386539623535306365613434353832313135383139336535353063 +37636462353332323431383463326138366563653162636530326662353534636463626264346630 +30326535313533316630353232613433646430363437303535316131356436653936326166343364 +63616435646262393365653231623363633333383239326534316539326336303936333938373439 +36343034626331646136663037316463343539303164386136313638386331613834313535623236 +35353161333439636166616138643766383433623238343262333062313638333434 diff --git a/deployment/inventory.yml b/deployment/inventory.yml index 7bab5861..4c354d1d 100644 --- a/deployment/inventory.yml +++ b/deployment/inventory.yml @@ -1,6 +1,6 @@ all: hosts: - 51.89.224.102: - ansible_user: debian - ed25519_fingerprint: AAAAC3NzaC1lZDI1NTE5AAAAIMiPFUFSL8ZAw89LUOejrHyVIknIckspPrgLygEoPff3 - ota_source_repository: https://github.com/OpenTermsArchive/contrib-declarations.git + 86.54.83.7: + ansible_user: ota + ed25519_fingerprint: AAAAC3NzaC1lZDI1NTE5AAAAIOUZkbO6zGhjtRpDrFiTTdnYRoEBwpCUpwST4hJYZsKt + ota_source_repository: https://github.com/OpenTermsArchive/contrib-declarations.git \ No newline at end of file