Skip to content
This repository was archived by the owner on Nov 16, 2023. It is now read-only.

CLI integration tests don't validate pipeline runs for "rings" #14

Merged
edaena merged 6 commits intomasterfrom
edaena-int-ring
Apr 17, 2020
Merged

CLI integration tests don't validate pipeline runs for "rings" #14
edaena merged 6 commits intomasterfrom
edaena-int-ring

Conversation

@edaena
Copy link
Contributor

@edaena edaena commented Apr 15, 2020

The change was verified locally and samiya verified it on Azure DevOps (see below).

@samiyaakhtar
Copy link
Contributor

Thanks Edaena, for killing two bugs with one PR. Verified the change in azdo here: https://dev.azure.com/epicstuff/hellobedrock/_build/results?buildId=19294&view=results

@samiyaakhtar samiyaakhtar marked this pull request as ready for review April 15, 2020 17:23
@edaena edaena marked this pull request as ready for review April 15, 2020 18:06
fi
fi
real_title=$(echo $all_prs | jq -r --arg pr_title "$pr_title" 'select(.[].title | startswith($pr_title)) | .[].title' | head -n 1)
real_title=$(echo $all_prs | jq -r --arg pr_title "$pr_title" '.[] | select(.title | startswith($pr_title)) | .title' | head -n 1)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@edaena This looks like it's just an optimization, correct? The result should be the same

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@andrebriggs It doesn't work for me locally if I leave it the other way. startswith() returns results that don't start with the specified string.

@edaena edaena merged commit 93ccc14 into master Apr 17, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants