script:
- !reference [.gsutil-install, script]
- cd ci/
- - ./barometer-build.sh
- - ./barometer-upload-artifact.sh
+ - . barometer-build.sh
+ - . barometer-upload-artifact.sh
rules:
- if: $CI_PIPELINE_SOURCE == "schedule" && $BAROMETER_SCHEDULE == "true"
# This script is used by the barometer-daily CI job in gitlab.
# It builds and packages collectd as an RPM
-# After this script is run, the baroemter-daily job runs the
+# After this script is run, the barometer-daily job runs the
# barometer-upload-artifact.sh script.
set -x
echo "------------------------------------"
echo
-cd ci
./install_dependencies.sh
./build_rpm.sh
cp utility/rpms_list $WORKSPACE
-cd $WORKSPACE
# save information regarding artifact into file
(