---
# System prepended metadata

title: Pipeline for automatically create env

---

# Pipeline for automatically create env

== Create
- Parameter:
    - customer-domain . Examples: veit-gruppe.cleandesk365.io
    - BO-account . Examples:: christian.veit@veit-shopfitting.de
    - branch-build . Examples: alpha

- 1 jenkins job pipeline
- Copy deployment files from **template**, sed environment name
- Add S3 buckets: AWS-CLI with CORS
- Add namespace: by command
- MySQL: create username/password >> update credentials
    - username: replace - by _
    - password: >> **update credentials**

- Domain customer:
    - customer-app: ${ENVIRONMENT}.cleandesk365.io 
    - customer-api: api-ENVIRONMENT.cleandesk365.io

- Emails...

== Deploy (will be in the same pipeline with create)

- Parametter:
    - ENVIRONMENT
    - branch-build