Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/develop' into HZA-419-Modify-HUB…
Browse files Browse the repository at this point in the history
…Zone-map-API-to-accept-lat-long-parameters
  • Loading branch information
bryaNgwa committed Apr 29, 2024
2 parents f80ef24 + 72cbed5 commit dc19cfc
Show file tree
Hide file tree
Showing 7 changed files with 73 additions and 27 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/demo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,16 +28,16 @@ jobs:
environment: 'demo'
steps:
- name: 'Checkout'
uses: 'actions/checkout@v3'
uses: 'actions/checkout@v4'

- name: 'Connecting to AWS using OIDC'
uses: 'aws-actions/configure-aws-credentials@v2'
uses: 'aws-actions/configure-aws-credentials@v4'
with:
role-to-assume: ${{ secrets.OIDC_ROLE_ARN }}
aws-region: ${{ env.AWS_REGION }}

- name: 'Connecting to ECR'
uses: 'aws-actions/amazon-ecr-login@v1'
uses: 'aws-actions/amazon-ecr-login@v2'
id: 'ecr-login'
with:
registries: ${{ env.AWS_ECR_REGISTRY_ID }}
Expand All @@ -47,10 +47,10 @@ jobs:
with:
image: '${{ steps.ecr-login.outputs.registry }}/hubzone-api'

- name: 'Install Terraform 1.5.2'
uses: 'hashicorp/setup-terraform@v2'
- name: 'Install Terraform 1.6.1'
uses: 'hashicorp/setup-terraform@v3'
with:
terraform_version: '1.5.2'
terraform_version: '1.6.1'

- name: 'Deploying Service'
uses: './.github/actions/terraform'
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/integration_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
runs-on: 'ubuntu-latest'
steps:
- name: 'Checkout'
uses: 'actions/checkout@v3'
uses: 'actions/checkout@v4'

# https://github.com/ruby/setup-ruby
- name: 'Configure Ruby'
Expand Down Expand Up @@ -58,7 +58,7 @@ jobs:
--health-retries 5
steps:
- name: 'Checkout'
uses: 'actions/checkout@v3'
uses: 'actions/checkout@v4'

# https://github.com/ruby/setup-ruby
- name: 'Configure Ruby'
Expand All @@ -78,7 +78,7 @@ jobs:
runs-on: 'ubuntu-latest'
steps:
- name: 'Checkout'
uses: 'actions/checkout@v3'
uses: 'actions/checkout@v4'

- name: 'RSpec Docker Compose'
run: |
Expand All @@ -91,12 +91,12 @@ jobs:
runs-on: 'ubuntu-latest'
steps:
- name: 'Checkout'
uses: 'actions/checkout@v3'
uses: 'actions/checkout@v4'

- name: 'Install Terraform 1.5.2'
uses: 'hashicorp/setup-terraform@v2'
- name: 'Install Terraform 1.6.1'
uses: 'hashicorp/setup-terraform@v3'
with:
terraform_version: '1.5.2'
terraform_version: '1.6.1'

- name: 'Terraform Format'
run: |
Expand All @@ -121,7 +121,7 @@ jobs:
runs-on: 'ubuntu-latest'
steps:
- name: 'Checkout'
uses: 'actions/checkout@v3'
uses: 'actions/checkout@v4'

- name: 'Build'
run: |
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,16 +26,16 @@ jobs:
environment: 'prod'
steps:
- name: 'Checkout'
uses: 'actions/checkout@v3'
uses: 'actions/checkout@v4'

- name: 'Connecting to AWS using OIDC'
uses: 'aws-actions/configure-aws-credentials@v2'
uses: 'aws-actions/configure-aws-credentials@v4'
with:
role-to-assume: ${{ secrets.OIDC_ROLE_ARN }}
aws-region: ${{ env.AWS_REGION }}

- name: 'Connecting to ECR'
uses: 'aws-actions/amazon-ecr-login@v1'
uses: 'aws-actions/amazon-ecr-login@v2'
id: 'ecr-login'
with:
registries: ${{ env.AWS_ECR_REGISTRY_ID }}
Expand All @@ -45,10 +45,10 @@ jobs:
with:
image: '${{ steps.ecr-login.outputs.registry }}/hubzone-api'

- name: 'Install Terraform 1.5.2'
uses: 'hashicorp/setup-terraform@v2'
- name: 'Install Terraform 1.6.1'
uses: 'hashicorp/setup-terraform@v3'
with:
terraform_version: '1.5.2'
terraform_version: '1.6.1'

- name: 'Deploying Service'
uses: './.github/actions/terraform'
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/stg.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,16 +26,16 @@ jobs:
environment: 'stg'
steps:
- name: 'Checkout'
uses: 'actions/checkout@v3'
uses: 'actions/checkout@v4'

- name: 'Connecting to AWS using OIDC'
uses: 'aws-actions/configure-aws-credentials@v2'
uses: 'aws-actions/configure-aws-credentials@v4'
with:
role-to-assume: ${{ secrets.OIDC_ROLE_ARN }}
aws-region: ${{ env.AWS_REGION }}

- name: 'Connecting to ECR'
uses: 'aws-actions/amazon-ecr-login@v1'
uses: 'aws-actions/amazon-ecr-login@v2'
id: 'ecr-login'
with:
registries: ${{ env.AWS_ECR_REGISTRY_ID }}
Expand All @@ -45,10 +45,10 @@ jobs:
with:
image: '${{ steps.ecr-login.outputs.registry }}/hubzone-api'

- name: 'Install Terraform 1.5.2'
uses: 'hashicorp/setup-terraform@v2'
- name: 'Install Terraform 1.6.1'
uses: 'hashicorp/setup-terraform@v3'
with:
terraform_version: '1.5.2'
terraform_version: '1.6.1'

- name: 'Deploying Service'
uses: './.github/actions/terraform'
Expand Down
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,5 @@ REVISION

# Terraform
**/.terraform*

!**/.terraform.lock.hcl
44 changes: 44 additions & 0 deletions terraform/.terraform.lock.hcl

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion terraform/versions.tf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
terraform {
required_version = "~> 1.5"
required_version = "1.6.1"
required_providers {
aws = {
version = "~> 5.0"
Expand Down

0 comments on commit dc19cfc

Please sign in to comment.