-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
13 changed files
with
98 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 changes: 7 additions & 0 deletions
7
.../15-Set-Up-Slack-Notifications/1-AWS-CodeDeploy-Notification-To-Slack/_index.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
--- | ||
title : "AWS CodeDeploy Notification To Slack" | ||
date : "`r Sys.Date()`" | ||
weight : 1 | ||
chapter : false | ||
pre : " <b> 15.1 </b> " | ||
--- |
7 changes: 7 additions & 0 deletions
7
.../15-Set-Up-Slack-Notifications/2-GitHub-Actions-Notification-To-Slack/_index.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
--- | ||
title : "GitHub Actions Notification To Slack" | ||
date : "`r Sys.Date()`" | ||
weight : 2 | ||
chapter : false | ||
pre : " <b> 15.2 </b> " | ||
--- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
--- | ||
title : "Set Up Slack Notifications" | ||
date : "`r Sys.Date()`" | ||
weight : 15 | ||
chapter : false | ||
pre : " <b> 15. </b> " | ||
--- |
38 changes: 38 additions & 0 deletions
38
...ur-First-Release-Workflow-Executions/1-Configure-Database-Credentials/_index.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
--- | ||
title : "Configure Database Credentials" | ||
date : "`r Sys.Date()`" | ||
weight : 1 | ||
chapter : false | ||
pre : " <b> 16.1 </b> " | ||
--- | ||
|
||
**1.** Make sure you are in the **awsome-books** local repository. | ||
|
||
```git | ||
cd path/to/awsome-books | ||
``` | ||
|
||
**2.** Create and switch to another branch for configuration. | ||
|
||
```git | ||
git checkout -b "config-db" | ||
``` | ||
|
||
**2.** In the *appspec.yml* file, replace the value **\<YOUR-CONTAINER-NAME\>** with `awsome-books` and **\<YOUR-CONTAINER-PORT\>** with `8080` using the command line. | ||
|
||
```git | ||
sed -i 's/<YOUR-CONTAINER-NAME>/awsome-books/g' appspec.yml && sed -i 's/<YOUR-CONTAINER-PORT>/8080/g' appspec.yml | ||
``` | ||
|
||
|
||
**3.** In the *src/main/resources/application-prod.yml* file, update **\<YOUR-AWS-SECRECTS-MANAGER-NAME\>** with **\<AWS-SECRECTS-MANAGER-NAME\>** which is the value you recorded in step **14** of [10.2 Create AWS RDS Multi AZ](10-create-aws-rds-resources/2-create-aws-rds-multi-az), and replace **\<YOUR-AWS-RDS-DB-URL\>** with **\<AWS-RDS-DB-URL\>** which is the value noted in step **16** of the same section, using the command line. | ||
|
||
```git | ||
sed -i 's/<YOUR-AWS-SECRECTS-MANAGER-NAME>/<AWS-SECRECTS-MANAGER-NAME>/g' src/main/resources/application-prod.yml && sed -i 's/<YOUR-AWS-RDS-DB-URL>/<AWS-RDS-DB-URL>/g' src/main/resources/application-prod.yml | ||
``` | ||
|
||
**4.** Make another commit and push to the remote corresponding branch. | ||
|
||
```git | ||
git add . && git commit -m "configure database credentials" && git push --set-upstream origin config-db | ||
``` |
7 changes: 7 additions & 0 deletions
7
...t-Release-Workflow-Executions/2-Your-First-Release-Workflow-Execution/_index.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
--- | ||
title : "Your First Release Workflow Execution" | ||
date : "`r Sys.Date()`" | ||
weight : 2 | ||
chapter : false | ||
pre : " <b> 16.2 </b> " | ||
--- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
--- | ||
title : "Your First Release Workflow Executions" | ||
date : "`r Sys.Date()`" | ||
weight : 16 | ||
chapter : false | ||
pre : " <b> 16. </b> " | ||
--- |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.