Skip to content

Commit 4dbdf7b

Browse files
authored
Merge pull request #392 from NHSDigital/release/2024-11-05
Release/2024-11-05
2 parents 3ba0bfe + 10e737d commit 4dbdf7b

File tree

7 files changed

+10
-11
lines changed

7 files changed

+10
-11
lines changed

.github/workflows/pull-requests.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@ permissions:
99

1010
env:
1111
BASE_CACHE_SUFFIX: base
12-
BASE_BRANCH_NAME: ${{ github.event.pull_request.base.ref }}
12+
#BASE_BRANCH_NAME: ${{ github.event.pull_request.base.ref }}
13+
BASE_BRANCH_NAME: ${{ github.event.pull_request.head.ref }}
1314
BRANCH_NAME: ${{ github.event.pull_request.head.ref }}
1415
CI_ROLE_NAME: ${{ secrets.CI_ROLE_NAME }}
1516
BRANCH_GITHUB_SHA_SHORT: $(echo ${{ github.event.pull_request.head.sha }} | cut -c 1-7)

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
# Changelog
22

3+
## 2024-11-05
4+
- [PI-585] PR/release CI builds in dev
5+
36
## 2024-10-31
47
- [PI-555] Remov fhir from create device endpoint
58
- [PI-556] Remov fhir from read device endpoint

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2024.10.31
1+
2024.11.05

changelog/2024-11-05.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
- [PI-585] PR/release CI builds in dev

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "connecting-party-manager"
3-
version = "2024.10.31"
3+
version = "2024.11.05"
44
description = "Repository for the Connecting Party Manager API and related services"
55
authors = ["NHS England"]
66
license = "LICENSE.md"

scripts/infrastructure/terraform/terraform-commands.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ function _terraform() {
1919
local terraform_role_name="NHSDeploymentRole"
2020
lowercase_string=$(echo "$TERRAFORM_WORKSPACE" | tr '[:upper:]' '[:lower:]')
2121

22-
account=$(_get_account_name "$AWS_ACCOUNT" "$lowercase_string") || return 1
22+
account=$(_get_account_name "$AWS_ACCOUNT") || return 1
2323
workspace=$(_get_workspace_name "$account" "$lowercase_string") || return 1
2424
aws_account_id=$(_get_aws_account_id "$account" "$PROFILE_PREFIX" "$VERSION") || return 1
2525

scripts/infrastructure/terraform/terraform-utils.sh

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,9 @@ source ./scripts/infrastructure/terraform/terraform-constants.sh
55

66
function _get_account_name() {
77
local account=$1
8-
local workspace=$2
98

10-
# if account not specified then infer it
119
if [[ -z "$account" ]]; then
12-
if [[ "$workspace" = "ci-"* ]]; then
13-
echo "ref" # ci builds go here
14-
else
15-
echo "dev" # personal builds co here
16-
fi
10+
echo "dev"
1711
else
1812
echo "$account"
1913
fi

0 commit comments

Comments
 (0)