[go: up one dir, main page]

Skip to content

New launch type environment variable to indicate deployment target

Problem to solve

Coming from #208132 (comment 313316379). In order for autoDevOps to differentiate between different (AWS) targets, we need a way for the user to state the deployment target.

Intended users

Further details

Proposal

Introduce a new environment variable called AWS_DEPLOY_TYPE

# within future Jobs/Deploy_ECS.gitlab-ci.yml

auto deploy on ECS:
  stage: deploy
  only:
    variables:
      - $AWS_LAUNCH_TYPE == "ECS"
  except:
    kubernetes: active

If the type is left blank and error message should be printed "Missing Launch Type"

Also the documentation should instruct users to use this new environment variables

Permissions and Security

Documentation

Availability & Testing

What does success look like, and how can we measure that?

What is the type of buyer?

Is this a cross-stage feature?

Links / references

Edited by Orit Golowinski