Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
lorenzo-catalano committed Feb 16, 2024
1 parent 9cfb319 commit 3af09aa
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 2 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/05h_deploy_with_github_runner.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,3 +81,31 @@ jobs:
resource_group_name: ${{ vars.CONTAINER_APP_ENVIRONMENT_RESOURCE_GROUP_NAME }}
runner_name: ${{ needs.create_runner.outputs.runner_name }}
pat_token: ${{ secrets.BOT_TOKEN_GITHUB }}
update_openapi:
needs: [ deploy ]
runs-on: ubuntu-latest
name: Update OpenAPI
if: ${{ inputs.target == inputs.environment }}
environment: ${{ inputs.environment }}
steps:
- name: Checkout
id: checkout
# from https://github.com/actions/checkout/commits/main
uses: actions/checkout@1f9a0c22da41e6ebfa534300ef656657ea2c6707
with:
persist-credentials: false

- name: Setup Terraform
# from https://github.com/hashicorp/setup-terraform/commits/main
uses: hashicorp/setup-terraform@8feba2b913ea459066180f9cb177f58a881cf146
with:
terraform_version: "1.3.6"

- name: Login
id: login
# from https://github.com/Azure/login/commits/master
uses: azure/login@92a5484dfaf04ca78a94597f4f19fea633851fa2
with:
client-id: ${{ secrets.CD_CLIENT_ID }}
tenant-id: ${{ secrets.TENANT_ID }}
subscription-id: ${{ secrets.SUBSCRIPTION_ID }}
2 changes: 1 addition & 1 deletion infra/env/weu-dev/terraform.tfvars
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ tags = {
CreatedBy = "Terraform"
Environment = "Dev"
Owner = "pagoPA"
Source = "https://github.com/pagopa/pagopa-node-cfg-sync"
Source = "https://github.com/pagopa/pagopa-node-cfg-sync.git"
CostCenter = "TS310 - PAGAMENTI & SERVIZI"
}

Expand Down
2 changes: 1 addition & 1 deletion infra/env/weu-uat/terraform.tfvars
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ tags = {
CreatedBy = "Terraform"
Environment = "Uat"
Owner = "pagoPA"
Source = "https://github.com/pagopa/pagopa-node-cfg-sync"
Source = "https://github.com/pagopa/pagopa-node-cfg-sync.git"
CostCenter = "TS310 - PAGAMENTI & SERVIZI"
}

Expand Down

0 comments on commit 3af09aa

Please sign in to comment.