DNXLabs / one-cli

CLI to manage all stacks from DNX.
https://cli.dnx.one
Apache License 2.0
7 stars 0 forks source link

Application deployment #22

Closed adenot closed 4 years ago

adenot commented 4 years ago

this is the version of one.yaml that i'm working with this PR:

images:
  terraform: dnxsolutions/terraform:0.12.24-dnx1
  gsuite: dnxsolutions/aws-google-auth:latest
  aws: dnxsolutions/aws:1.18.44-dnx2
  ecs-deploy: dnxsolutions/ecs-deploy:1.2.0

app:
  name: copacabana
  port: 80
  docker:
    file: Dockerfile
    image-name: copacabana
    registry-type: ecr
    registry-options:
      ecr-aws-account-id: <REDACTED>
      ecr-aws-region: ap-southeast-2
      ecr-aws-assume-role: true
      ecr-aws-role: <REDACTED>
  ecs-task-definition-file: task-definition.tpl.json

workspaces:
  dev:
    type: ecs
    aws-account-id: <REDACTED>
    aws-role: <REDACTED>
    aws-assume-role: true
    aws-region: ap-southeast-2
    ecs-cluster-name: allan-01
arthurbdiniz commented 4 years ago

I think that before we merge this into master would be good to clean the commits and it's messages.

So to not override this branch I made this clean up in another branch to then decide if it's good https://github.com/DNXLabs/one-cli/commits/feature/app-deploy-clean