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

align supported releases #63

Merged
merged 5 commits into from
Feb 19, 2024
Merged

Conversation

Annamikhlin
Copy link
Collaborator

@Annamikhlin Annamikhlin commented Feb 15, 2024

This PR includes the following:

  • 458ea03 - includes:

    • fix not working link to ScyllaDB Web Install
    • removing script description since we already have README.md
  • c01290b - to align supported versions this commit includes the following changes:

    • add check of supported Scylla versions in check_scylla_version() function
      in case the specified version reached EOL, the script will exit with relevant message
    • remove not supported versions from the script
    • remove version check in architecture check process
    • remove set_gpg_key() function - due to old GPG_KEY for not supported versions
    • updated help and README example versions
  • 35ae047 - adding 2024.1.0 to web-install ci tests as this version already released

  • 9cb84a1 - fix error E: Unable to correct problems, you have held broken packages - when trying to install 5.4.0 and above

  • f9ebc82 - when trying to install version 5.2.1, it is installing the latest version of 5.2.1x (5.2.15)

Closes: #62

1) fix not working link to ScyllaDB Web Install
2) removing script description since we already have README.md
@Annamikhlin
Copy link
Collaborator Author

Verification:

  • when trying to install scylla version 4.5 that already EOL:
root@7f11c92459b3:/scylla-web-install# ./server --scylla-version 4.5
The specified scylla-version '4.5' has reached End of Life (EOL) and is no longer supported.  For supported ScyllaDB versions please refer to https://docs.scylladb.com/getting-started/os-support
  • when the version does not exist in Scylla:
root@7f11c92459b3:/scylla-web-install# ./server --scylla-version 5.9
There is no package repository for version '5.9'. For ScyllaDB versions please refer to https://docs.scylladb.com/getting-started/os-support
  • when trying to install scylla-enterprise 2021.1.0 that is already EOL:
root@7f11c92459b3:/scylla-web-install# ./server --scylla-product scylla-enterprise --scylla-version 2021.1.0
The specified scylla-version '2021.1.0' has reached End of Life (EOL) and is no longer supported. For supported ScyllaDB versions please refer to https://docs.scylladb.com/getting-started/os-support

Copy link
Collaborator

@yaronkaikov yaronkaikov left a comment

Choose a reason for hiding this comment

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

You have some tests failing, any idea why?

@Annamikhlin
Copy link
Collaborator Author

You have some tests failing, any idea why?

Just checking it..

@Annamikhlin
Copy link
Collaborator Author

You have some tests failing, any idea why?

It's failing from main branch as well

@yaronkaikov
Copy link
Collaborator

You have some tests failing, any idea why?

It's failing from main branch as well

That's weird. not related to any of the changes? in any case, we need to get it fixed :-)

server Outdated Show resolved Hide resolved
server Outdated Show resolved Hide resolved
server Outdated Show resolved Hide resolved
Copy link
Contributor

@benipeled benipeled left a comment

Choose a reason for hiding this comment

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

A few tiny comments but in general lgtm

to align supported versions this commit includes the following changes:
1) add check of supported Scylla versions in check_scylla_version()
   function. in case the specified version reached EOL, the script will
   will exit with relevant message
2) remove not supported versions from the script
3) remove version check in architecture check process
4) remove set_gpg_key() function - due to old GPG_KEY for not supported
   versions
5) updated help and README example versions

Closes: scylladb#62
since 2024.1.0 - first GA already released.
adding it to test.yml to run ci tests also on this version
when trying to install version 5.4.0 and above
the following error is displayed:
`E: Unable to correct problems, you have held broken packages.`

adding installation of `-cqlsh` package to fix this error
when trying to install version 5.2.1, it installed the latest version of
5.2.1x (5.2.15) due to `head -n1`

fixing it by adding -w option (match only whole word)
@Annamikhlin
Copy link
Collaborator Author

Annamikhlin commented Feb 19, 2024

@benipeled @yaronkaikov - I added 3 additional commits:

  • 35ae047 - adding 2024.1.0 to web-install ci tests as this version already released

  • 9cb84a1 - fix error E: Unable to correct problems, you have held broken packages - when trying to install 5.4.0 and above

  • f9ebc82 - when trying to install version 5.2.1, it is installing the latest version of 5.2.1x (5.2.15)

Verification for last commit f9ebc82

before the fix:

root@e8198991e3de:/scylla-web-install# apt-cache madison ${SCYLLA_PRODUCT} | grep -F 5.2.1 | cut -d'|' -f 2 | sed 's/[[:space:]]//g' | head -n1
5.2.15-0.20240211.1fa8327504ca-1

after the fix with -w

root@e8198991e3de:/scylla-web-install# apt-cache madison ${SCYLLA_PRODUCT} | grep -Fw 5.2.1 | cut -d'|' -f 2 | sed 's/[[:space:]]//g' | head -n1
5.2.1-0.20230508.f1c45553bc29-1

All CI tests passed

Copy link
Collaborator

@yaronkaikov yaronkaikov left a comment

Choose a reason for hiding this comment

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

LGTM

@Annamikhlin Annamikhlin merged commit 2f6e8ad into scylladb:main Feb 19, 2024
51 checks passed
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.

Align supported releases for installation
3 participants