Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

smoke tests: Ignore version 9.0.0 #14176

Merged
merged 8 commits into from
Sep 26, 2024
Merged

smoke tests: Ignore version 9.0.0 #14176

merged 8 commits into from
Sep 26, 2024

Conversation

marclop
Copy link
Contributor

@marclop marclop commented Sep 25, 2024

Motivation/summary

Ignore version 9.0.0 since it's quite far away, this should bring back the smoke tests.

Omits running the smoke tests against 9.0.0-SNAPSHOT, since the it's
still in its infancy and other components aren't working properly at the
moment. Given how far out the release is and that it breaks the smoke
tests, it skips testing that version.

Signed-off-by: Marc Lopez Rubio <[email protected]>
Signed-off-by: Marc Lopez Rubio <[email protected]>
Signed-off-by: Marc Lopez Rubio <[email protected]>
Signed-off-by: Marc Lopez Rubio <[email protected]>
Signed-off-by: Marc Lopez Rubio <[email protected]>
Copy link
Contributor

mergify bot commented Sep 25, 2024

This pull request does not have a backport label. Could you fix it @marclop? 🙏
To fixup this pull request, you need to add the backport labels for the needed
branches, such as:

  • backport-7.17 is the label to automatically backport to the 7.17 branch.
  • backport-8./d is the label to automatically backport to the 8./d branch. /d is the digit.
  • backport-8.x is the label to automatically backport to the 8.x branch.

Copy link
Contributor

mergify bot commented Sep 25, 2024

backport-8.x has been added to help with the transition to the new branch 8.x.
If you don't need it please use backport-skip label.

@mergify mergify bot added the backport-8.x Automated backport to the 8.x branch with mergify label Sep 25, 2024
@marclop marclop marked this pull request as ready for review September 25, 2024 04:52
@marclop marclop requested a review from a team as a code owner September 25, 2024 04:52
VERSION=${1}
if [[ -z ${VERSION} ]] || [[ "${VERSION}" == "latest" ]]; then
VERSION=$(curl -s "https://artifacts-api.elastic.co/v1/versions" | jq -r '.versions[-1]')
VERSION=$(curl -s "https://artifacts-api.elastic.co/v1/versions" | jq -r --arg IGNORE_VERSION "$IGNORE_VERSION" '.versions | map(select(. != $IGNORE_VERSION))[-1]')
Copy link
Member

Choose a reason for hiding this comment

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

question: would this work with 9.0.1 ? WDYT about checking that the version string starts with 8. (similar to what you did below) ?

I'm wondering this since this also needs to be backported to 8.x so we should try to be as compatible as possible

Signed-off-by: Marc Lopez Rubio <[email protected]>
@marclop marclop enabled auto-merge (squash) September 26, 2024 02:01
@marclop marclop merged commit f37135a into main Sep 26, 2024
12 checks passed
@marclop marclop deleted the f/ignore-9-stack branch September 26, 2024 02:10
mergify bot pushed a commit that referenced this pull request Sep 26, 2024
Omits running the smoke tests against 9.0.0-SNAPSHOT, since the it's
still in its infancy and other components aren't working properly at the
moment. Given how far out the release is and that it breaks the smoke
tests, it skips testing that version.

---------

Signed-off-by: Marc Lopez Rubio <[email protected]>
(cherry picked from commit f37135a)
mergify bot added a commit that referenced this pull request Sep 26, 2024
Omits running the smoke tests against 9.0.0-SNAPSHOT, since the it's
still in its infancy and other components aren't working properly at the
moment. Given how far out the release is and that it breaks the smoke
tests, it skips testing that version.

---------

Signed-off-by: Marc Lopez Rubio <[email protected]>
(cherry picked from commit f37135a)

Co-authored-by: Marc Lopez Rubio <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport-8.x Automated backport to the 8.x branch with mergify
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants