Test CycleCloud OpenPBS changes by creating new OpenPBS clusters.
Install the Azure CycleCloud CLI and confirm it is connected to your CycleCloud instance by running the following command. The expected output is CycleCloud is configured properly.
cyclecloud initializeInstall a container runtime like Docker or Podman on your system.
- Clone the
cyclecloud-pbsprorepository and make your desired changes. - From the root of the repository, run the following command to prepare project blobs and generate
release.yml.
./build.sh- Run the following command then copy the name of the locker you would like to upload project blobs to.
cyclecloud locker list- Run the following command to upload project blobs to your locker.
cyclecloud project upload "LOCKER_NAME"Replace LOCKER_NAME with the name of your locker.
- Update the openpbs template to point to your changes by running the following commands.
cp templates/openpbs.txt templates/openpbs-test.txt
sed -i -e 's/\(\[*cluster-init[^]]*\)\]/\1:RELEASE_VERSION]/' -e 's/cyclecloud\/pbspro/pbspro/g' templates/openpbs-test.txtReplace RELEASE_VERSION with the cyclecloud-pbspro release version (ex: 2.0.25)
- Import the template by running the following command.
cyclecloud import_template -f templates/openpbs-test.txt -c openpbs OPENPBS_PREVIEWReplace OPENPBS_PREVIEW with the desired name for your new cluster type.
- Using the CycleCloud UI, create a new cluster and select
OPENPBS_PREVIEWas the scheduler.