mirror of
https://github.com/nsacyber/HIRS.git
synced 2024-12-27 08:22:36 +00:00
ec8c4b5c3e
* [#71] Initial Dockerization of TPM 1.2 Provisioner * Fix permissions on new script * Fix current bugs * [#71] Try a new direction for setting up TPM 1.2 Provisioner Testing * [#71] Attempt to the latest version of Trousers on Travis CI VM for 1.2 Provisioner support * [#71] Try IBM TPM 1.2 Emulator * [#71] Move towards cleaning up work * [#71] Update TPM1.2 Provisioner Docker to work with Docker Compose in Systems Test * [#71] Get TPM 1.2 Provisioner to provision successfully in Docker container * Update system tests script to include TPM 1.2 Provisioner container * [#71] Separate TPM 1.2 and 2.0 Provisioner System Tests * [#71] Pipe TPM Emulator log output to file to clear up system test output
54 lines
1.5 KiB
YAML
54 lines
1.5 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/integration-tests/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: [HIRS/.ci/integration-tests/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}
|