Skip to content

Commit

Permalink
feat: added optional filters on mock resource search (#16)
Browse files Browse the repository at this point in the history
This commit contains a new functionality made on mock resource research operation. This new functionality aims to help the pagoPA Shared Toolbox portal on search operation, in order to guarantee a better user experience.  
Also, the automatic update of Terraform resources with dedicated GitHub pipeline is removed because there is an issue with the use of wrong authorization token, caused by the migration of infrastructure's apply strategy to managed-identity mode.

#### List of Changes
 - Added optional filters for filtering elements during mock resource read-all invocation
 - Temporarily removed Terraform's OpenAPI automatic update
  • Loading branch information
andrea-deri committed Feb 24, 2024
1 parent 53ab064 commit 2f354cf
Show file tree
Hide file tree
Showing 7 changed files with 2,021 additions and 2,211 deletions.
22 changes: 11 additions & 11 deletions .github/workflows/04h_deploy_with_github_runner.yml
Original file line number Diff line number Diff line change
Expand Up @@ -107,14 +107,14 @@ jobs:
subscription-id: ${{ secrets.SUBSCRIPTION_ID }}


- name: Terraform Apply
shell: bash
run: |
cd ./infra
export ARM_CLIENT_ID="${{ secrets.CD_CLIENT_ID }}"
export ARM_SUBSCRIPTION_ID=$(az account show --query id --output tsv)
export ARM_TENANT_ID=$(az account show --query tenantId --output tsv)
export ARM_USE_OIDC=true
export ARM_ACCESS_KEY=$(az storage account keys list --resource-group io-infra-rg --account-name pagopainfraterraform${{inputs.environment}} --query '[0].value' -o tsv)
bash ./terraform.sh init ${{ inputs.environment }}
bash ./terraform.sh apply ${{ inputs.environment }} -auto-approve
# - name: Terraform Apply
# shell: bash
# run: |
# cd ./infra
# export ARM_CLIENT_ID="${{ secrets.CD_CLIENT_ID }}"
# export ARM_SUBSCRIPTION_ID=$(az account show --query id --output tsv)
# export ARM_TENANT_ID=$(az account show --query tenantId --output tsv)
# export ARM_USE_OIDC=true
# export ARM_ACCESS_KEY=$(az storage account keys list --resource-group io-infra-rg --account-name pagopainfraterraform${{inputs.environment}} --query '[0].value' -o tsv)
# bash ./terraform.sh init ${{ inputs.environment }}
# bash ./terraform.sh apply ${{ inputs.environment }} -auto-approve
Loading

0 comments on commit 2f354cf

Please sign in to comment.