Skip to content

Commit

Permalink
Merge branch 'release'
Browse files Browse the repository at this point in the history
  • Loading branch information
aaron-downing committed Jul 5, 2024
2 parents 661e19d + 881d902 commit b4454de
Show file tree
Hide file tree
Showing 130 changed files with 4,387 additions and 2,170 deletions.
2 changes: 1 addition & 1 deletion azure/azure-build-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ resources:
type: github
name: NHSDigital/api-management-utils
ref: refs/heads/edge
endpoint: NHSDigital (63)
endpoint: NHSDigital

variables:
- template: project.yml
Expand Down
2 changes: 1 addition & 1 deletion azure/azure-pr-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ resources:
type: github
name: NHSDigital/api-management-utils
ref: refs/heads/edge
endpoint: NHSDigital (63)
endpoint: NHSDigital
pipelines:
- pipeline: build_pipeline
source: "Communications-Manager-Build"
Expand Down
2 changes: 1 addition & 1 deletion azure/azure-release-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ resources:
type: github
name: NHSDigital/api-management-utils
ref: refs/heads/edge
endpoint: NHSDigital (63)
endpoint: NHSDigital
pipelines:
- pipeline: build_pipeline
source: "Communications-Manager-Build"
Expand Down
2 changes: 1 addition & 1 deletion azure/nightly-int-dev-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ resources:
type: github
name: NHSDigital/api-management-utils
ref: refs/heads/edge
endpoint: NHSDigital (63)
endpoint: NHSDigital

schedules:
- cron: 0 2 * * *
Expand Down
2 changes: 1 addition & 1 deletion azure/nightly-int-qa-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ resources:
type: github
name: NHSDigital/api-management-utils
ref: refs/heads/edge
endpoint: NHSDigital (63)
endpoint: NHSDigital

schedules:
- cron: 0 2 * * *
Expand Down
2 changes: 1 addition & 1 deletion azure/nightly-int-sandbox-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ resources:
type: github
name: NHSDigital/api-management-utils
ref: refs/heads/edge
endpoint: NHSDigital (63)
endpoint: NHSDigital

schedules:
- cron: 0 2 * * *
Expand Down
2 changes: 1 addition & 1 deletion azure/nightly-integration-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ resources:
type: github
name: NHSDigital/api-management-utils
ref: refs/heads/edge
endpoint: NHSDigital (63)
endpoint: NHSDigital

schedules:
- cron: 0 2 * * *
Expand Down
2 changes: 1 addition & 1 deletion azure/nightly-internal-dev-end-to-end-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ resources:
type: github
name: NHSDigital/api-management-utils
ref: refs/heads/edge
endpoint: NHSDigital (63)
endpoint: NHSDigital

schedules:
- cron: 0 2 * * *
Expand Down
2 changes: 1 addition & 1 deletion azure/nightly-prod-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ resources:
type: github
name: NHSDigital/api-management-utils
ref: refs/heads/edge
endpoint: NHSDigital (63)
endpoint: NHSDigital

schedules:
- cron: 0 2 * * *
Expand Down
2 changes: 1 addition & 1 deletion azure/nightly-prod-sandbox-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ resources:
type: github
name: NHSDigital/api-management-utils
ref: refs/heads/edge
endpoint: NHSDigital (63)
endpoint: NHSDigital

schedules:
- cron: 0 2 * * *
Expand Down
2 changes: 1 addition & 1 deletion azure/nightly-uat-end-to-end-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ resources:
type: github
name: NHSDigital/api-management-utils
ref: refs/heads/edge
endpoint: NHSDigital (63)
endpoint: NHSDigital

schedules:
- cron: 0 2 * * *
Expand Down
2 changes: 1 addition & 1 deletion azure/nightly-zap-scan-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ resources:
type: github
name: NHSDigital/api-management-utils
ref: refs/heads/edge
endpoint: NHSDigital (63)
endpoint: NHSDigital

schedules:
- cron: 0 3 * * *
Expand Down
2 changes: 1 addition & 1 deletion azure/periodic-mtls-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ resources:
type: github
name: NHSDigital/api-management-utils
ref: refs/heads/edge
endpoint: NHSDigital (63)
endpoint: NHSDigital

schedules:
- cron: '*/10 * * * *'
Expand Down
6 changes: 6 additions & 0 deletions azure/templates/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,12 @@ steps:
parameters:
secret_file_ids:
- ptl/app-credentials/jwt_testing/non-prod/JWT_TESTING_PRIVATE_KEY
- ptl/api-deployment/communications-manager/NON_PROD_PRIVATE_KEY
- ptl/api-deployment/communications-manager/INTEGRATION_PRIVATE_KEY
- ptl/azure-devops/communications-manager/PRODUCTION_PRIVATE_KEY
secret_ids:
- ptl/app-credentials/communications-manager-testing-app/non-prod/SANDBOX_APP_ID
- ptl/api-deployment/communications-manager/NON_PROD_API_KEY
- ptl/api-deployment/communications-manager/INTEGRATION_API_KEY
- ptl/azure-devops/communications-manager/PRODUCTION_API_KEY
- ptl/api-deployment/communications-manager/GUKN_API_KEY
Expand Down Expand Up @@ -123,6 +125,8 @@ steps:
apigee_password: $(APIGEE_PASSWORD)
- bash: |
export PROXY_NAME="communications-manager-${{parameters.environment}}"
export NON_PROD_PRIVATE_KEY="$(Pipeline.Workspace)/secrets/$(NON_PROD_PRIVATE_KEY)"
export NON_PROD_API_KEY="$(NON_PROD_API_KEY)"
export APIGEE_ACCESS_TOKEN="$(secret.AccessToken)"
export APIGEE_APP_ID="$(SANDBOX_APP_ID)"
export STATUS_ENDPOINT_API_KEY="$(STATUS_ENDPOINT_API_KEY)"
Expand All @@ -149,6 +153,8 @@ steps:
export APIGEE_APP_ID="$(SANDBOX_APP_ID)"
export STATUS_ENDPOINT_API_KEY="$(STATUS_ENDPOINT_API_KEY)"
export SOURCE_COMMIT_ID="$(Build.SourceVersion)"
export NON_PROD_PRIVATE_KEY="$(Pipeline.Workspace)/secrets/$(NON_PROD_PRIVATE_KEY)"
export NON_PROD_API_KEY="$(NON_PROD_API_KEY)"
export INTEGRATION_PRIVATE_KEY="$(Pipeline.Workspace)/secrets/$(INTEGRATION_PRIVATE_KEY)"
export INTEGRATION_API_KEY="$(INTEGRATION_API_KEY)"
export PRODUCTION_PRIVATE_KEY="$(Pipeline.Workspace)/secrets/$(PRODUCTION_PRIVATE_KEY)"
Expand Down
Loading

0 comments on commit b4454de

Please sign in to comment.