# notes on EESSI bot development (2022-09-08)
- eessi_environment_variables script in software-layer repo should be updated to not rely on having EESSI repo mounted
- => add archspec to build container => https://github.com/EESSI/filesystem-layer/blob/main/containers/Dockerfile.EESSI-build-node-debian10
- see https://github.com/EESSI/filesystem-layer/pull/129
- flesh out part where CPU arch is determined into a stand-alone script that could be used in job build script
- figure out what needs to change in software-layer
- cfr. https://github.com/EESSI/software-layer/compare/main...poksumdo:software-layer:pilot.eessi/add-CaDiCaL-1.3.0
- check for `attr` can be dropped thanks to https://github.com/EESSI/filesystem-layer/pull/125
- => get https://github.com/EESSI/eessi-bot-software-layer/pull/24 merged
- [MAKE ISSUE] job script should verify whether it's actually going to build for correct target CPU arch
- [MAKE ISSUE] bot can be enhanced so it ignores jobs that it didn't submit itself
- skip jobs for which no `*metadata` file is available
- [MAKE ISSUE] improve error handling
- [MAKE ISSUE] implement deploy phase
- bot could be extended to also allow building without submitting jobs to Slurm (single build node vs a Slurm cluster)