mirror of
https://github.com/nsacyber/HIRS.git
synced 2024-12-20 21:43:18 +00:00
00287725da
* [#195] Components identified by Component Class will have hardware IDs translated to names * Update TPM Docker images to latest PACCOR(v1.1.3r3). Comment out the failing system tests caused by invalid input to PACCOR.
60 lines
1.7 KiB
YAML
60 lines
1.7 KiB
YAML
version: "3.1"
|
|
|
|
services:
|
|
aca:
|
|
image: hirs/hirs-ci:aca
|
|
container_name: hirs-aca
|
|
volumes:
|
|
- ../../:/HIRS
|
|
ports:
|
|
- "${HIRS_ACA_PORTAL_PORT}:${HIRS_ACA_PORTAL_CONTAINER_PORT}"
|
|
entrypoint: /bin/bash -c
|
|
command: [HIRS/.ci/setup/setup-aca.sh]
|
|
hostname: ${HIRS_ACA_HOSTNAME}
|
|
networks:
|
|
hirs_aca_system_tests:
|
|
ipv4_address: ${HIRS_ACA_PORTAL_IP}
|
|
aliases:
|
|
- ${HIRS_ACA_HOSTNAME}
|
|
|
|
tpmprovisioner:
|
|
image: hirs/hirs-ci:tpmprovisioner
|
|
container_name: hirs-aca-provisioner
|
|
depends_on:
|
|
- aca
|
|
volumes:
|
|
- ../../:/HIRS
|
|
entrypoint: /bin/bash -c
|
|
command: [yum list installed|grep paccor;
|
|
yum info dmidecode;
|
|
dmidecode -u;
|
|
lshw -c disk -numeric;
|
|
lshw -c display -numeric;
|
|
lshw -c network -numeric;
|
|
HIRS/.ci/setup/setup-tpmprovisioner.sh]
|
|
devices:
|
|
- "/dev/mem:/dev/mem"
|
|
cap_add:
|
|
- sys_rawio
|
|
networks:
|
|
hirs_aca_system_tests:
|
|
ipv4_address: ${HIRS_ACA_PROVISIONER_IP}
|
|
environment:
|
|
- HIRS_ACA_PROVISIONER_IP=${HIRS_ACA_PROVISIONER_IP}
|
|
- TPM_ENABLED=${TPM_ENABLED}
|
|
- IMA_ENABLED=${IMA_ENABLED}
|
|
- HIRS_ACA_PORTAL_IP=${HIRS_ACA_PORTAL_IP}
|
|
- HIRS_ACA_PORTAL_PORT=${HIRS_ACA_PORTAL_PORT}
|
|
- HIRS_BROKER_PORT=${HIRS_BROKER_PORT}
|
|
- HIRS_ACA_PORTAL_CONTAINER_PORT=${HIRS_ACA_PORTAL_CONTAINER_PORT}
|
|
- HIRS_ACA_HOSTNAME=${HIRS_ACA_HOSTNAME}
|
|
- HIRS_SUBNET=${HIRS_SUBNET}
|
|
|
|
networks:
|
|
hirs_aca_system_tests:
|
|
driver: bridge
|
|
ipam:
|
|
driver: default
|
|
config:
|
|
- subnet: ${HIRS_SUBNET}
|