Skip to content

Commit

Permalink
fix(ci): install procps into the containers (#481)
Browse files Browse the repository at this point in the history
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit


- **New Features**
- Introduced a command to install the `procps` package in the Docker
container, enhancing system utility availability.

- **Improvements**
- Improved performance and functionality of subsequent commands that
rely on `procps` utilities.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Signed-off-by: Jinzhe Zeng <jinzhe.zeng@rutgers.edu>
  • Loading branch information
njzjz authored Aug 20, 2024
1 parent c8d2114 commit 883ab6b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions ci/pbs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ cd -
docker exec pbs_master /bin/bash -c "chmod -R 777 /shared_space"
docker exec pbs_master /bin/bash -c "chown -R pbsuser:pbsuser /home/pbsuser"

docker exec pbs_master /bin/bash -c "yum install -y procps"
docker exec pbs_master /bin/bash -c "cd /dpdispatcher && pip install uv && uv pip install --system .[test] coverage && chown -R pbsuser ."
docker exec -u pbsuser pbs_master /bin/bash -c "cd /dpdispatcher && coverage run --source=./dpdispatcher -m unittest -v && coverage report"
docker exec -u pbsuser --env-file <(env | grep GITHUB) pbs_master /bin/bash -c "cd /dpdispatcher && curl -Os https://uploader.codecov.io/latest/linux/codecov && chmod +x codecov && ./codecov"
1 change: 1 addition & 0 deletions ci/slurm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,6 @@ docker compose pull
./start-slurm.sh
cd -

docker exec slurmctld /bin/bash -c "yum install -y procps"
docker exec slurmctld /bin/bash -c "cd dpdispatcher && pip install uv && uv pip install --system .[test] coverage && coverage run --source=./dpdispatcher -m unittest -v && coverage report"
docker exec --env-file <(env | grep -e GITHUB -e CODECOV) slurmctld /bin/bash -c "cd dpdispatcher && curl -Os https://uploader.codecov.io/latest/linux/codecov && chmod +x codecov && ./codecov"

0 comments on commit 883ab6b

Please sign in to comment.