Skip to content

Integrating

Tibor Šimko edited this page Sep 20, 2023 · 2 revisions

Checking out a set of pull requests

If you are reviewing a set of pull requests implementing a feature, you can use the reana-dev helper script to check out all the corresponding pull request branches locally:

$ reana-dev git-checkout-pr --fetch \
	 -b r-w-controller 155 \
	 -b r-j-controller 283 \
	 -b r-commons 401 \

You can verify the status of locally checked-out branches for all most interesting components to see if everything is up to date:

$ reana-dev git-fetch -c CLUSTER -c CLIENT -c reana
$ reana-dev git-status -c CLUSTER -c CLIENT -c reana | grep -v '@ master'

Running integration tests

You can use reana-dev helper script to build and deploy the cluster components and to run the integration tests using a demo example:

$ reana-dev run-ci \
      -m /var/reana:/var/reana \
      -c r-d-r-roofit \
      --exclude-components r-a-vomsproxy,r-a-krb5,r-a-rucio \
      --admin-email [email protected] \
      --admin-password mysecretpassword

You can run the full test suite of all the demo examples locally:

$ reana-dev kind-load-docker-image -c DEMO
$ reana-dev run-ci ... -c DEMO --submit-only
...
$ reana-dev run-ci ... -c DEMO --check-only