HIRS/.ci/setup/container/setup_aca.sh

16 lines
370 B
Bash
Raw Normal View History

#!/bin/bash
# Script to setup the ACA Docker Image for Integration Tests
set -e
# Prevent rebuild of packages if they already exist
cd /HIRS
2022-04-20 14:46:26 +00:00
echo "building and packagin the ACA"
if [ ! -d package/rpm/RPMS ]; then
./package/package.centos.sh
fi
2022-04-20 14:46:26 +00:00
echo "installing the ACA"
yum install -y package/rpm/RPMS/noarch/HIRS_AttestationCA*.el7.noarch.rpm
2022-04-20 14:46:26 +00:00
echo "ACA Loaded!"