1
0
mirror of https://github.com/raseels-repos/golang-saas-starter-kit.git synced 2025-08-08 22:36:41 +02:00

updated devops package

This commit is contained in:
Lee Brown
2019-08-26 05:21:55 -08:00
parent 6856ccd8d0
commit 864f7972fd
7 changed files with 34 additions and 16 deletions

View File

@@ -357,7 +357,18 @@ Access/Secret Keys are required
--no-cache skip caching for the docker build
--no-push disable pushing release image to remote repository
```
* `deploy infrastructure` - Executes a deploy to setup the infrastructure for the deployment environment.
```bash
$ cicd -env [dev|stage|prod] deploy infrastructure [command options]
```
Options:
```bash
--dry-run print out the deploy details
```
* `deploy service` - Executes a deploy for a single service
```bash
@@ -403,6 +414,11 @@ Access/Secret Keys are required
### Examples
Setup the infrastructure for _prod_
```bash
$ cicid --env=prod deploy infrastructure --dry-run=false
```
Build the example service _web-app_
```bash
$ cicid --env=prod build service --name=web-app --release-tag=testv1 --dry-run=false