From 41513d464f0790d45a17273134b64f5a4aef0df7 Mon Sep 17 00:00:00 2001 From: Matt Dean Date: Mon, 8 Dec 2025 14:27:01 +0000 Subject: [PATCH] [NRL-1850] Add python_version param to all steps --- azure/azure-build-pipeline.yml | 1 + azure/azure-pr-pipeline.yml | 4 ++++ azure/azure-release-pipeline.yml | 14 ++++++++++++++ azure/project.yml | 1 + pyproject.toml | 2 +- 5 files changed, 21 insertions(+), 1 deletion(-) diff --git a/azure/azure-build-pipeline.yml b/azure/azure-build-pipeline.yml index 4f56e9c..4581a36 100644 --- a/azure/azure-build-pipeline.yml +++ b/azure/azure-build-pipeline.yml @@ -30,3 +30,4 @@ extends: parameters: service_name: ${{ variables.service_name }} short_service_name: ${{ variables.short_service_name }} + python_version: ${{ variables.python_version }} diff --git a/azure/azure-pr-pipeline.yml b/azure/azure-pr-pipeline.yml index f1c571d..f528802 100644 --- a/azure/azure-pr-pipeline.yml +++ b/azure/azure-pr-pipeline.yml @@ -36,7 +36,11 @@ extends: - environment: internal-dev post_deploy: - template: ./templates/run-smoke-tests.yml + parameters: + python_version: ${{ variables.python_version }} - environment: internal-dev-sandbox proxy_path: sandbox post_deploy: - template: ./templates/run-smoke-tests.yml + parameters: + python_version: ${{ variables.python_version }} diff --git a/azure/azure-release-pipeline.yml b/azure/azure-release-pipeline.yml index 430a459..153596a 100644 --- a/azure/azure-release-pipeline.yml +++ b/azure/azure-release-pipeline.yml @@ -35,27 +35,41 @@ extends: - environment: internal-dev post_deploy: - template: ./templates/run-smoke-tests.yml + parameters: + python_version: ${{ variables.python_version }} - environment: internal-dev-sandbox proxy_path: sandbox post_deploy: - template: ./templates/run-smoke-tests.yml + parameters: + python_version: ${{ variables.python_version }} - environment: internal-qa post_deploy: - template: ./templates/run-smoke-tests.yml + parameters: + python_version: ${{ variables.python_version }} - environment: internal-qa-sandbox proxy_path: sandbox post_deploy: - template: ./templates/run-smoke-tests.yml + parameters: + python_version: ${{ variables.python_version }} - environment: ref post_deploy: - template: ./templates/run-smoke-tests.yml + parameters: + python_version: ${{ variables.python_version }} - environment: sandbox proxy_path: sandbox post_deploy: - template: ./templates/run-smoke-tests.yml + parameters: + python_version: ${{ variables.python_version }} - environment: int post_deploy: - template: ./templates/run-smoke-tests.yml + parameters: + python_version: ${{ variables.python_version }} - environment: prod depends_on: - internal_qa diff --git a/azure/project.yml b/azure/project.yml index 53ff655..984f48b 100644 --- a/azure/project.yml +++ b/azure/project.yml @@ -2,3 +2,4 @@ variables: service_name: nrl-consumer-api short_service_name: nca service_base_path: record-locator/consumer + python_version: 3.8 diff --git a/pyproject.toml b/pyproject.toml index d9b98ac..1f223ac 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -11,7 +11,7 @@ license = "MIT" repository = "https://github.com/NHSDigital/nrl-consumer-api" homepage = "https://digital.nhs.uk/developer/api-catalogue/national-record-locator-fhir/v3/consumer" keywords = ["healthcare", "uk", "nhs"] #TODO add additional keywords - +package-mode = false [tool.poetry.dependencies] python = "^3.8"