Skip to content

CCM-1179#445

Merged
almas-liaqat merged 1 commit into
masterfrom
CCM-1179-release-process
Jul 26, 2023
Merged

CCM-1179#445
almas-liaqat merged 1 commit into
masterfrom
CCM-1179-release-process

Conversation

@PhilipSkinner

@PhilipSkinner PhilipSkinner commented Jul 21, 2023

Copy link
Copy Markdown

Summary

There is a regular expression which evaluates the value in SERVICE_ARTIFACT_NAME to determine the version of the deployed version.

Unfortunately this doesn't work for tagged versions where there is no suffix value (-alpha etc).

This PR updates the regex to allow for versions with a suffix and without.

When we deployed prior to this change our /_ping endpoint would return an empty version identifier:

image

Post deployment with this fix, this value is populated correctly:

image

@PhilipSkinner PhilipSkinner force-pushed the CCM-1179-release-process branch 3 times, most recently from d38b4ef to b7bbeb0 Compare July 21, 2023 12:56
@PhilipSkinner

Copy link
Copy Markdown
Author

Testing this with different values gives:

image

@PhilipSkinner PhilipSkinner force-pushed the CCM-1179-release-process branch from b7bbeb0 to 6757a5b Compare July 21, 2023 13:14
Fixes regex that doesn't allow blank suffix values.
@PhilipSkinner PhilipSkinner force-pushed the CCM-1179-release-process branch from 6757a5b to 3ea647e Compare July 26, 2023 07:09
@almas-liaqat almas-liaqat merged commit 6c8bbb8 into master Jul 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants