Skip to content

Add generic deployment steps#4

Merged
mamatapradhananga merged 6 commits into
masterfrom
update_deployment_strategy
Jan 6, 2021
Merged

Add generic deployment steps#4
mamatapradhananga merged 6 commits into
masterfrom
update_deployment_strategy

Conversation

@mamatapradhananga
Copy link
Copy Markdown
Contributor

Jira Link:

Jira

Component Name:

Summary/Motivation:

In the Deployment strategy, we generally write actual command to deploy the code. We have realized that writing actual command can lead to unwanted deployment risks. For example: to deploy service we write this command in deployment strategy: DEPLOY_IMAGE_TAG=0.9.3 make initiate-release.

Sometimes the service version has changed in the code but we forget to update the version in deployment strategy. So old piece of code can be deployed in such cases. So to minimize such risks, we will now write only generic steps for deployment rather than mentioning deployment commands

Documentation:

Testing Strategy:

  • Verify that all repos of CF 4.0 have updated PR template with deployment steps

Dependencies:

Screenshots and GIF:

Deployment Strategy:

Pull Request Guidelines

- Deploy SQS queue => queue_name: user-reset-mfa queue
- Deploy Lambda => lambda_name: reset-mfa-listener
- Deploy SNS Topic
- Create table
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we make it more generic like run database migration instead of saying create table? since there could be other CRUD actions as well.

@mamatapradhananga mamatapradhananga merged commit 0182d73 into master Jan 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants