diff --git a/readme.md b/readme.md index 368146b9..caebbdac 100644 --- a/readme.md +++ b/readme.md @@ -11,26 +11,28 @@ Before executing scripts, python requirements have to be satisfied. To do so, ex 1. Clone template: git clone --branch template https://atc.bmwgroup.net/bitbucket/scm/opapm/coco_apm_terraform_onboarding.git - 2. Create branch: + 2. Change directory: + cd coco_apm_terraform_onboarding + 3. Create branch: git checkout -b CD_ - 3.Install python dependencies: + 4.Install python dependencies: pip install -r requirements.txt - 4.Run onboarding script: + 5.Run onboarding script: 4.1 Default implementation (Management zone, Alerting profile and predefined dashboard) python ./onboarding.py -A CD_ -C 4.2 Additional features (see Usage section): python ./onboarding.py -A CD_ -C -F - 5. Review created files: + 6. Review created files: git status 5.1 Adjust additional feature files (if generated with "-F" option). See "Adjusting tf files" section - 6. Commit your changes: + 7. Commit your changes: git add git commit -m " - Add initial configuration of application to Dynatrace" git push -u origin CD_ - 7. Create pull request from CD_ to master + 8. Create pull request from CD_ to master # Adjusting tf files @@ -60,6 +62,10 @@ For more information about adjusting tf files to your need please follow: # Files +## _templates folder + +Please do not change template files inside this folder. If any of this files will be changed, your pull request will be rejected. + ## onboarding.py This scripts generates predefined configuration basing on your app_name and compass ids