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

Group Shell Scripts by Activity and not CI #11029

Open
rnveach opened this issue Dec 12, 2021 · 0 comments
Open

Group Shell Scripts by Activity and not CI #11029

rnveach opened this issue Dec 12, 2021 · 0 comments

Comments

@rnveach
Copy link
Member

rnveach commented Dec 12, 2021

Re-identified at #11028 (comment) but discussed at other times. Making sure we have an issue.

It has become common that we have to rotate CIs when one becomes over bloated, one starts to have reliable issues, etc. all of which we have run into before.

We should group all our shell scripts by their activity instead of strictly putting it in the CI. For example, we should have script for regression, another for pitest (which we already do), etc...

Travis as one example still requires us to put commonds in shell. For the split we want, we should use a pattern similar to the below:

no-error-spring-cloud-gcp)
  mvn -e --no-transfer-progress clean install -Pno-validations
  ./.validation.sh no-error-spring-cloud-gcp

This way CI config and CI specific shell remove all CI specific commands, and under them there is group's shell script (validaiton.sh in this case) that try to be CI agnostic.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants