scylla-cluster-tests
scylla-cluster-tests copied to clipboard
improvement(longevityPipeline): Remove default availability_zone setting
There is no need to set default in Jenkins, test configuration files configure availability_zone as well and given that it is directly tied to the db_nodes setting, it makes sense to configure it only in configuration file and not have jenkins override the default in UI.
Testing
- [ ] Test on Jenkins with various pipelines
PR pre-checks (self review)
- [x] I added the relevant
backportlabels - [x] I didn't leave commented-out/debugging code
Reminders
- Add New configuration option and document them (in
sdcm/sct_config.py) - Add unit tests to cover my changes (under
unit-test/folder) - Update the Readme/doc folder relevant to this change (if needed)
It does come handy in cases where you have resource issues, or when using spots.
For cases no using multiple availability zone, it's actually helpful to have this setting in the pipeline.
Regardless it's now can still be override by environment variables, so people will need to get used to using that when needed
Regardless it's now can still be override by environment variables, so people will need to get used to using that when needed
The option stays, you can still override it in Jenkins, it just wont be set to any default value there
What about other pipelines? We have more than just "longevity"
I will take a look at others, once I finish testing this change for longevitiy ones
@juliayakovlev this is kind of connected to what you are working on for GCE, i.e. address part of the problem. can you takeover this one ? and test it ?
@juliayakovlev this is kind of connected to what you are working on for GCE, i.e. address part of the problem. can you takeover this one ? and test it ?
I already opened similar draft PR https://github.com/scylladb/scylla-cluster-tests/pull/12456 and ran the different test-provision. But they are failed. I did not check why they failed.
Let's add here the labels and see if it'll pass
I ran test-provision-gce and test-provision-aws on the https://github.com/scylladb/scylla-cluster-tests/pull/12456 and it passed