Skip to content
Snippets Groups Projects

improve CI

Merged Domenico Giordano requested to merge qa-patatrack-cpuOnly into qa
8 files
+ 77
98
Compare changes
  • Side-by-side
  • Inline
Files
8
@@ -16,7 +16,10 @@ function _script() {
docker exec cvmfs_${CI_JOB_ID} cvmfs_config probe
# Here comes the dry run of the CMS Patatrack container. Arguments are for the time being defaults/hardcoded FIXME
docker pull ${INTERIM_IMAGE}
docker run --name patatrack_container --gpus '"device=0"' -v ${CIENV_CVMFSVOLUME}:/cvmfs ${INTERIM_IMAGE} -e 100 -t 8 -c 1
# just check the list of GPUs via the ${INTERIM_IMAGE}
docker run --rm --gpus all ${INTERIM_IMAGE} nvidia-smi --list-gpus
docker run --name patatrack_container --gpus all -v ${CIENV_CVMFSVOLUME}:/cvmfs ${INTERIM_IMAGE} -e 100 -t 8 -c 1
# run shrinkwrapper
docker exec cvmfs_${CI_JOB_ID} /root/shrinkwrap.sh -t /tmp/traces -e ${CVMFS_EXPORT_DIR}
# get the generated traces from the container
Loading