Hi all,

Just to inform that now it's possible to generate CircleCI's config.yml
from the config-2_1.yml for a specific low/mid/high resource configuration
using the new -l/-m/-h flags. For example, ".circleci/generate.sh -h" will
generate a config.yml file for high resources.

This might be useful when editing the CircleCI config env vars, for example
to set the dtest repo or to use the test multiplexer. This process usually
involves swapping the config.yml file to get the proper resources and then
to manually edit the multiple mentions of DTEST_REPO, DTEST_BRANCH, etc. in
the swapped file. With the new flags one can instead just edit the single
mention of the vars in the config-2_1.yml file and then run the generation
script to validate the config and generate the modified config.yml with the
desired resources configuration.

The new flags have been introduced by CASSANDRA-16871 and they are
mentioned in the readme for CircleCI:
https://github.com/apache/cassandra/blob/trunk/.circleci/readme.md

Reply via email to