codecommission / dropstack-cli Goto Github PK
View Code? Open in Web Editor NEWA CLI to simplify continuous deployments into hybrid clouds
Home Page: https://dropstack.run
License: MIT License
A CLI to simplify continuous deployments into hybrid clouds
Home Page: https://dropstack.run
License: MIT License
Enter: dropstack deploy
npm i dropstack-cli --save
dropstack switch [name]
dropstack deploy --token <jwt>
doesn't work in log-out stateCLI should provide an alias command to support a understandable name per service.
dropstack alias <servicename> <myname>
When using dropstack login
it should automatically run a dropstack logout
first.
That way a user can switch between accounts by just running dropstack login
.
Details: When I try to do dropstack deploy, it shows up a message Credentials not found. Use dropstack login <url> to verifiy your credentials.
even If I'm already logged in. That's weird and has started happening since 3 days. It'll be really awesome if you can help me figure out what's going wrong.
StackTrace:
Hemang ~/PycharmProjects/cs $ dropstack ls
Deployments for [email protected] on https://api.cloud.dropstack.run
droTYPE | NUM # | ID/NAME | URL
Nothing deployed
Hemang ~/PycharmProjects/cs $ dropstack deploy
Deploying - for [email protected] on https://api.cloud.dropstack.run
⣇ Deploying [3.88s]
Credentials not found. Use dropstack login <url> to verifiy your credentials.
Hemang ~/PycharmProjects/cs $ dropstack info
Account information for [email protected] on https://api.cloud.dropstack.run
┌──────────────────────────────────────────────────────┐
│ │
│ Account ID : [email protected] │
│ Server Version : 2.5.7 │
│ Client Version : 2.5.7 │
│ Server URL : https://api.cloud.dropstack.run │
│ Plan (beta) : free │
│ │
└──────────────────────────────────────────────────────┘
Hemang ~/PycharmProjects/cs $ dropstack deploy
Deploying - for [email protected] on https://api.cloud.dropstack.run
⣇ Deploying [3.76s]
Credentials not found. Use dropstack login <url> to verifiy your credentials.
Hemang ~/PycharmProjects/cs $
I'm using
dropstack 2.5.7
npm 5.0.3
macOS Sierra
Thanks!
dropstack alias name alias
Example
dropstack deploy --alive-endpoint /info
{
"variables": [],
"instances": 1,
"type": "mono",
"name": "foo",
"serviceUrl": "foo.cloud.dropstack.run",
"aliveEndpoint": "/info"
}
"Automatic sign up" in dropstack login
confuses users. Adjust steps to:
dropstack login
-> account not found -> dropstack signup
dropstack signup
-> enter password twiceRename dropstack CLI command from
dropstack alias <servicename> <domain>
To
dropstack domain <servicename> <domain>
dropstack deploy --git https://...
Example
dropstack deploy --script-add start="./start.sh" --script-add build="./build.sh"
{
"variables": [],
"instances": 1,
"type": "mono",
"name": "foo",
"serviceUrl": "foo.cloud.dropstack.run",
"scripts": {
"start": "./start.sh",
"build": "./build.sh",
"test": "./test.sh",
}
}
➜ example git:(master) dropstack rm orjmzcfx
Remove deployment orjmzcfx for ... on https://api.cloud.dropstack.run
⢼ Removing [3.04s]
An unexpected error occurred!
Error: error: orjmzcfx missing
Example:
dropstack deploy -x bin/* -x obj/* -x packages
dropstack login http://host.domain.com:port
To show current account activities as live activity stream.
Set deployment aliases
example
"excludes": [
"data"
]
dropstack login --reset
Account information for [email protected] on https://api.cloud.dropstack.run
An unexpected error occurred!
Message: Resource not found
dropstack signout
-g [group-name]
-d [description]
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.