Now the build is failing with:
+ '[' self-signed = self-signed ']'
+ echo 'Copying the Arvados CA certificate '\''local-arvados-snakeoil-ca.crt'\'' to the installer dir, so you can import it'
Copying the Arvados CA certificate 'local-arvados-snakeoil-ca.crt' to the installer dir, so you can import it
+ '[' x = xyes ']'
+ cp /etc/ssl/certs/arvados-snakeoil-ca.pem /tmp/workspace/test-provision-centos7/tools/salt-install/local-arvados-snakeoil-ca.crt
cp: cannot stat ‘/etc/ssl/certs/arvados-snakeoil-ca.pem’: No such file or directory
Build step 'Execute shell' marked build as failure
This part of provision.sh
assumes SSL certs use Debian-style paths:
# Leave a copy of the Arvados CA so the user can copy it where it's required
if [ "${SSL_MODE}" = "self-signed" ]; then
echo "Copying the Arvados CA certificate '${DOMAIN}-arvados-snakeoil-ca.crt' to the installer dir, so you can import it"
if [ "x${VAGRANT:-}" = "xyes" ]; then
cp /etc/ssl/certs/arvados-snakeoil-ca.pem /vagrant/${DOMAIN}-arvados-snakeoil-ca.pem
else
cp /etc/ssl/certs/arvados-snakeoil-ca.pem ${SCRIPT_DIR}/${DOMAIN}-arvados-snakeoil-ca.crt
fi
fi
This logic needs to be updated to accommodate Red Hat-based distros.
I'm setting this aside for a moment, I'm not sure this is what I should be doing. Skimming provision.sh
real quick, there are some CentOS-specific branches, and now I'm wondering, do those need to be extended for Rocky? RHEL? Others? We should talk about the scope of this ticket and how it relates to the 2.7 release schedule.