Skip to content

Commit

Permalink
Serverless release pipeline - adjust version key for QA (elastic#192968)
Browse files Browse the repository at this point in the history
## Summary

This PR adjusts the serverless release pipeline script to use the new
key for QA when reading the version.yaml file.

Note that this is a quick fix to get the pipeline running again. Longer
term, we could have multiple slices of QA, so we should think about how
to prepare the script for that scenario.
  • Loading branch information
pheyos authored Sep 16, 2024
1 parent f46dc9e commit a9ff2a3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ export async function getCurrentQARelease() {
// @ts-ignore
const fileContent = Buffer.from(releasesFile.data.content, 'base64').toString('utf8');

const sha = fileContent.match(`qa: "([a-z0-9]+)"`)?.[1];
const sha = fileContent.match(`qa-ds-1: "([a-z0-9]+)"`)?.[1];

if (!sha) {
throw new Error('Could not find QA hash in current releases file');
Expand Down

0 comments on commit a9ff2a3

Please sign in to comment.