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

14 lines
350 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"
2022-04-20 15:25:30 +00:00
yum install -y package/rpm/RPMS/noarch/HIRS_AttestationCA*.el7.noarch.rpm