Configuring project on HPC serverΒΆ
Note: Assuming we are testing project named hello-world.
- Login to HPC server and clone
ci-hpcrepository:
cd $WORKSPACE # directory where you keep your projects
git clone https://github.com/janhybs/ci-hpc.git
cd ci-hpc
Install necessary pip packages:
Execute
install.shscript located in thebinfolder. It is basically shortcut for apip3 install -r requirements.txt. You can also pass any arguments to the pip. It is expected to havepython3andpip3in the path.bin/install.sh --user --upgrade
To install packages system wide, do not add the
--userflag:bin/install.sh --upgrade
Create configuration file
config.yamlfor the project
export PROJECT_NAME=hello-world
mkdir -p cfg/$PROJECT_NAME
nano cfg/$PROJECT_NAME/config.yaml
- Setup
config.yamlconfiguration file
Please refer to config.yaml section to find out more about configuration.