Integration Testing: Start performing full rattler-build
integration tests
#228
Labels
enhancement
New feature or request
infrastructure
Issues related to automated testing and CI/CD tasks
Milestone
Overview
I've gotten some requests to perform actual (non dry-run) builds with
rattler-build
. To start, we will need to select a small subset of the recipe files in the test data set. I'm think maybe 10-30 files found in theconda-forge
andAnacondaRecipes
folders.We should maintain a file in Conda Recipe Manager that contains a list of the files we would like to run a full build test on. Maybe something like:
integration_build_test_config.json
This new test workflow should:
rattler-build
from theconda-forge
channel, usingconda
.crm convert
rattler-build
on any successfully converted files.rattler-build
? (Exact number and percentage)Current Integration Test Status
Here is our current integration test: https://github.com/conda-incubator/conda-recipe-manager/blob/main/.github/workflows/integration_tests.yaml
Here is an outline of what currently happens (for 1 of the 6 containers initialized):
rattler-build
, and all the other required toolscrm convert
. Statistics about this process are written to a JSON file and dumped to the console.crm convert
will leave behind arecipe.yaml
file in the same directory as themeta.yaml
file.rattler-build
. This is done with thecrm rattler-bulk-build
script. Statistics about this process are written to a JSON file and dumped to the console.When all 6 containers complete, one last phase begins. A new container downloads all the JSON statistics artifacts generated by the 6 tests. There are 12 artifacts in total, one for the
convert
phase, and one for therattler-build
phase. This script aggregates and averages the statistics in those artifacts and provides a final report (an example can be found here).Additional Notes
rattler-build
should be spinning up multiple threads per build. Be aware of this when dispatching build jobs. I don't think the threading model used incrm rattler-bulk-build
will work for full-builds, but feel free to give it a try.The text was updated successfully, but these errors were encountered: