Error: scheduler type postgres is not one of [objectstore, pgsched]. command terminated with exit code 1
There is inconsistency in what build_deploy.sh
, build_srpm.sh
and build_rpm.sh
scripts expect and check as the value for --scheduler-type
parameter. It does check for "pgsched" or "objectstore" as values, but expects "postgres" or "objectstore" at other places.
[cirunner@ctadevguenther01 ci_runner]$ ./build_deploy.sh --skip-unit-tests --cmake-build-type RelWithDebInfo --scheduler-type postgres --scheduler-config /home/cirunner/db_config_files/pgsched_creds.yaml --catalogue-config /home/cirunner/db_config_files/pgcatalogue_pod_creds.yaml --reset
--skip-unit-tests
--cmake-build-type
--scheduler-type
--scheduler-config
--catalogue-config
--reset
Checking whether CTA directory exists in "/home/cirunner/shared"...
CTA directory found
Found existing build namespace build
Attempting shutdown of existing build pod...
pod "cta-build" deleted
Starting a new build pod: cta-build...
pod/cta-build created
pod/cta-build condition met
Building SRPMs...
Error: scheduler type postgres is not one of [objectstore, pgsched].
command terminated with exit code 1