software-layer icon indicating copy to clipboard operation
software-layer copied to clipboard

Trigger build & test from PR

Open casparvl opened this issue 4 years ago • 0 comments

This task is part of how we'll get to an automated software deployment (https://github.com/EESSI/software-layer/issues/149).

Proposal

  1. Contributor add's name of EasyConfig to an EasyStack file
  2. Contributor defines which system this needs to build on (in YAML file? In EasyStack file?)
  3. Contributor defines which ReFrame tests should be run (in YAML file? In EasyStack file?) and where E.g.
#testspec.py
testdict = {
  ‘GROMACS-2021.3-foss-2021a-CUDA-11.3.1.eb’: {
      ‘tags’: [‘gromacs’, ‘gpu’],
      ‘systems’: [‘hpc_sys1’, ‘cloud_sys1’],
  }
}

where tags are ReFrame tags. 4. Contributor PRs EESSI/software-layer 5. Reviewer approves 6. CI is kicked off to do build, run (singlenode) tests, and push tarball to S3 bucket.

Alternative Instead of the contributor deciding which ReFrame tests to run, it could be the reviewer that talks to a bot, e.g.

@bot please test @hpc_sys1 @cloud_sys1
TAGS=‘gromacs, gpu’

TODO

  • [ ] Create CI that can connect to build nodes on various HPC / cloud, kick of builds, and kick off (relevant) tests

casparvl avatar Nov 24 '21 12:11 casparvl