-
Notifications
You must be signed in to change notification settings - Fork 226
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(deployment): --genesis=FILE and unique digitalocean SSH keys
- Loading branch information
1 parent
22a3f42
commit 00d69da
Showing
13 changed files
with
134 additions
and
73 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,6 +6,6 @@ | |
gather_facts: yes | ||
strategy: free | ||
vars: | ||
- NODEJS_VERSION: 12 | ||
- NODEJS_VERSION: 14 | ||
roles: | ||
- prereq |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
#! /usr/bin/env node | ||
/* global setInterval */ | ||
|
||
import '@agoric/install-ses'; | ||
|
||
import fs from 'fs'; | ||
import path from 'path'; | ||
import temp from 'temp'; | ||
import process from 'process'; | ||
import { exec, spawn } from 'child_process'; | ||
import inquirer from 'inquirer'; | ||
import fetch from 'node-fetch'; | ||
|
||
import { running } from './run'; | ||
import { setup } from './setup'; | ||
import * as files from './files'; | ||
import deploy from './main.js'; | ||
|
||
process.on('SIGINT', () => process.exit(-1)); | ||
deploy(process.argv[1], process.argv.splice(2), { | ||
env: process.env, | ||
rd: files.reading(fs, path), | ||
wr: files.writing(fs, path, temp), | ||
setup: setup({ resolve: path.resolve, env: process.env, setInterval }), | ||
running: running(process, { exec, process, spawn }), | ||
inquirer, | ||
fetch, | ||
}).then( | ||
res => process.exit(res || 0), | ||
rej => { | ||
console.error(`error running ag-setup-cosmos:`, rej); | ||
process.exit(1); | ||
}, | ||
); |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters