-
Notifications
You must be signed in to change notification settings - Fork 83
Description
As discussed, I tried to automate deployment using scripts but web-ui trips up the script.
I have a file called “microservices.list” and using the values in here many scripts can avoid duplication in the scripts (create/delete)
e.g. buildAndDeploy reads the list, finds entry "Accounts-service”, this helps the script find the right folder to execute build and cf push, the resulting app in PCF is called “accounts". However, this trips up the delete script ... but thats fine, I just put in logic to remove the word “-service” when it loops through the same list finding apps to delete.
BUT then you have folder “web-ui” which creates an app called webtrader and never has the word “service" so both build and delete script fall over.
i don't want the script to drive future naming of microservices, so happy to think of another way .....