Feature/notify env badge
This Feature allows to send a notificatio on the following stages: deploy deploy_next For both Web projects and Ruby apps
This notification is only sent if there is a tag. The deploy job seams to always pick up the previous tag if re-run manually or to create and increment version if changes have been done to the relevant folders so a notification is always sent
For the deploy_next there are three different environment, if the environment doesn't have a tag which is annotated the current behavior is to jump the deployment instead of redeploy therefore a skip_notification logic has been implemented to skip the notification all together.
The code has been DRY-ed as much as possible.
here few example pipelines: Front end re-run previous commit: https://gitlab.builder.ai/builder/builder-bx/Bx/assembler_projects/stg/onur18011123-1329140-react-native/-/pipelines/7019181 Front End change actual relevant code: https://gitlab.builder.ai/builder/builder-bx/Bx/assembler_projects/stg/onur18011123-1329140-react-native/-/pipelines/7019234 Front End Deploy next: https://gitlab.builder.ai/builder/builder-bx/Bx/assembler_projects/stg/onur18011123-1329140-react-native/-/pipelines/7019968
Back end re-run pipeline: https://gitlab.builder.ai/devsecops/giuseppedf/giusepped-app/-/pipelines/7019111 Back end change actual relevant code: https://gitlab.builder.ai/devsecops/giuseppedf/giusepped-app/-/pipelines/7019164 Back ned deploy next: https://gitlab.builder.ai/devsecops/giuseppedf/giusepped-app/-/pipelines/7019833