I was trying to create a deployment for GAE application. Have below queries:-
To explain how we are doing it right now, please refer below screenshots of two yaml files staging_app.yaml for staging environment and dev_app.yaml for development enviroment.
1) dev_app.yaml
2) staging_app.yaml
Ideal way would be to add a variable to decide path of gae yaml file, please let me know how can above two be taken care of?
Hi Vinit :) Let me try to answer your questions
1. To store sensitive variables you can use Pipelines Variables. In particular, please refer to Secure variable masking section in our documentation. These are not public and only available to people who have admin access to the repository.
2. You should be able to pass different GAE deployables using EXTRA_ARGS:
EXTRA_ARGS: 'staging_app.yaml'
You can even go further and use Bitbucket Deployments with Deployment variables to provide different gae yaml file path depending on the deployment environment.
Let me know if you have any further questions :)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.