Skip to content

Commit

Permalink
GROUP-105 Updated build steps to include AWS RDS certificate
Browse files Browse the repository at this point in the history
  • Loading branch information
makmn1 committed Jun 23, 2024
1 parent e058d7a commit fa5c981
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/commit-stage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ env:
IMAGE_NAME: grouphq/group-service
VERSION: ${{ github.sha }}
NVD_API_KEY: ${{ secrets.NVD_API_KEY }}
AWS_RDS_ROOT_CERT_US_EAST_1: https://truststore.pki.rds.amazonaws.com/us-east-1/us-east-1-bundle.pem

jobs:
build:
Expand Down Expand Up @@ -79,6 +80,10 @@ jobs:
steps:
- name: Checkout source code
uses: actions/checkout@v3
- name: Download AWS RDS Root Certificate for us-east-1
run: |
mkdir -p ./.postgresql
curl -o ./.postgresql/root.crt ${{ env.AWS_RDS_ROOT_CERT_US_EAST_1 }}
- name: Set up JDK
uses: actions/setup-java@v3
with:
Expand Down
3 changes: 3 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,9 @@ repositories {

bootBuildImage {
imageName = "${project.name}"
bindings = [
"${projectDir}/.postgresql:/home/cnb/.postgresql:ro".toString()
]
environment = ["BP_JVM_VERSION" : "17.*"]
}

Expand Down

0 comments on commit fa5c981

Please sign in to comment.