Stage-Based Logs and Parameterized Multi-Stage Deployment with Secure Public/Private Config Management #3
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Pull Request Description
This pull request extends the project automation by adding support for multi-stage deployments and secure configuration handling. It aligns with the requirements of Assignment 4 and introduces the following enhancements:
Multi-Stage Deployment
dev
,prod
) using input parameters or git tags such asdeploy-dev
anddeploy-prod
.Private and Public Config Handling
Stage-Based S3 Log Upload
Application and deployment logs are uploaded to stage-specific folders in S3, for example:
Post-Deployment Health Check
Documentation Updates
This feature/assignment
[devops/a4]
continues from[devops/a3]
and has been raised on[main]
to maintain a clear history of each assignment.Below are screenshots for stage based s3 logs storage.

dev
stageprod
stageThe screenshot below shows the successful execution of the deployment workflow across multiple stages.
The screenshot below demonstrates the successful execution of the deployment workflow for the prod stage, where the configuration was fetched from a private repository.

In the following screenshot, you can see that during the dev stage, the step to clone the private repository is skipped, as it is only required for the production environment.

These results confirm that the configuration management for both public and private repositories is working as intended across different stages.