mirror of
https://github.com/nsacyber/HIRS.git
synced 2025-01-29 15:44:14 +00:00
GitHub package test
This commit is contained in:
parent
d7343e03d0
commit
4a19bd01ce
@ -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
|
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
|
# 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
|
||||||
|
@ -2,7 +2,7 @@ version: "3.1"
|
|||||||
|
|
||||||
services:
|
services:
|
||||||
aca:
|
aca:
|
||||||
image: hirs/hirs-ci:aca
|
image: ghcr.io/nsacyber/hirs/aca:latest
|
||||||
container_name: hirs-aca1
|
container_name: hirs-aca1
|
||||||
volumes:
|
volumes:
|
||||||
- ../../:/HIRS
|
- ../../:/HIRS
|
||||||
@ -18,7 +18,7 @@ services:
|
|||||||
- ${HIRS_ACA_HOSTNAME}
|
- ${HIRS_ACA_HOSTNAME}
|
||||||
|
|
||||||
tpmprovisioner:
|
tpmprovisioner:
|
||||||
image: hirs/hirs-ci:tpm2provisioner
|
image: ghcr.io/nsacyber/hirs/tpm2provisioner:latest
|
||||||
container_name: hirs-provisioner1-tpm2
|
container_name: hirs-provisioner1-tpm2
|
||||||
depends_on:
|
depends_on:
|
||||||
- aca
|
- aca
|
||||||
|
@ -18,14 +18,9 @@ function installProvisioner {
|
|||||||
|
|
||||||
# use ibm tss to properly clear tpm pcr values
|
# use ibm tss to properly clear tpm pcr values
|
||||||
function setTpmPcrValues {
|
function setTpmPcrValues {
|
||||||
mkdir /ibmtss
|
|
||||||
pushd /ibmtss > /dev/null
|
pushd /ibmtss > /dev/null
|
||||||
echo "Installing IBM TSS to set the TPM simulator intial values correctly..."
|
echo "starting 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
|
|
||||||
cd utils
|
cd utils
|
||||||
make -f makefiletpmc > /dev/null
|
|
||||||
cd ../utils
|
|
||||||
./startup
|
./startup
|
||||||
popd > /dev/null
|
popd > /dev/null
|
||||||
}
|
}
|
||||||
|
3
.github/workflows/system_test.yml
vendored
3
.github/workflows/system_test.yml
vendored
@ -19,6 +19,7 @@ jobs:
|
|||||||
- name: Set up JDK 8
|
- name: Set up JDK 8
|
||||||
uses: actions/setup-java@v2
|
uses: actions/setup-java@v2
|
||||||
with:
|
with:
|
||||||
|
github-token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
java-version: '8'
|
java-version: '8'
|
||||||
distribution: 'adopt'
|
distribution: 'adopt'
|
||||||
server-id: github # Value of the distributionManagement/repository/id field of the pom.xml
|
server-id: github # Value of the distributionManagement/repository/id field of the pom.xml
|
||||||
@ -43,4 +44,4 @@ jobs:
|
|||||||
exit 0;
|
exit 0;
|
||||||
else
|
else
|
||||||
exit 1;
|
exit 1;
|
||||||
fi
|
fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user