GitHub package test

This commit is contained in:
iadgovuser26 2022-04-11 16:43:29 -04:00
parent d7343e03d0
commit 4a19bd01ce
4 changed files with 8 additions and 10 deletions

View File

@ -8,5 +8,7 @@ RUN yum install -y tpm2-tools libcurl procps-ng wget dbus python-requests python
RUN mkdir paccor && pushd paccor && wget https://github.com/nsacyber/paccor/releases/download/v1.1.4r2/paccor-1.1.4-2.noarch.rpm && yum -y install paccor-*.rpm && popd
# Install Software TPM for Provisioning
RUN mkdir ibmtpm && pushd ibmtpm && wget https://downloads.sourceforge.net/project/ibmswtpm2/ibmtpm1332.tar.gz && tar -zxvf ibmtpm1332.tar.gz && cd src && make -j5 && popd
RUN mkdir ibmtpm && pushd ibmtpm && wget --no-check-certificate https://downloads.sourceforge.net/project/ibmswtpm2/ibmtpm1332.tar.gz && tar -zxvf ibmtpm1332.tar.gz && cd src && make -j5 && popd
# Install TSS for TPM setup
RUN mkdir ibmtss && pushd ibmtss && wget --no-check-certificate https://downloads.sourceforge.net/project/ibmtpm20tss/ibmtss1.6.0.tar.gz && tar -zxvf ibmtss1.6.0.tar.gz && cd utils && make -f makefiletpmc && popd

View File

@ -2,7 +2,7 @@ version: "3.1"
services:
aca:
image: hirs/hirs-ci:aca
image: ghcr.io/nsacyber/hirs/aca:latest
container_name: hirs-aca1
volumes:
- ../../:/HIRS
@ -18,7 +18,7 @@ services:
- ${HIRS_ACA_HOSTNAME}
tpmprovisioner:
image: hirs/hirs-ci:tpm2provisioner
image: ghcr.io/nsacyber/hirs/tpm2provisioner:latest
container_name: hirs-provisioner1-tpm2
depends_on:
- aca

View File

@ -18,14 +18,9 @@ function installProvisioner {
# use ibm tss to properly clear tpm pcr values
function setTpmPcrValues {
mkdir /ibmtss
pushd /ibmtss > /dev/null
echo "Installing IBM TSS to set the TPM simulator intial values correctly..."
wget --no-check-certificate https://downloads.sourceforge.net/project/ibmtpm20tss/ibmtss1.6.0.tar.gz > /dev/null
tar -zxvf ibmtss1.6.0.tar.gz > /dev/null
echo "starting IBM TSS to set the TPM simulator intial values correctly..."
cd utils
make -f makefiletpmc > /dev/null
cd ../utils
./startup
popd > /dev/null
}

View File

@ -19,6 +19,7 @@ jobs:
- name: Set up JDK 8
uses: actions/setup-java@v2
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
java-version: '8'
distribution: 'adopt'
server-id: github # Value of the distributionManagement/repository/id field of the pom.xml
@ -43,4 +44,4 @@ jobs:
exit 0;
else
exit 1;
fi
fi