2019-07-19 09:50:26 +00:00
|
|
|
---
|
|
|
|
# Run YAML Lint to verify this file prior to check-in.
|
|
|
|
|
|
|
|
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}
|
|
|
|
|
|
|
|
tpm2provisioner:
|
|
|
|
image: hirs/hirs-ci:tpm2provisioner
|
|
|
|
container_name: hirs-aca-provisioner-tpm2
|
|
|
|
depends_on:
|
|
|
|
- aca
|
|
|
|
volumes:
|
|
|
|
- ../../:/HIRS
|
|
|
|
entrypoint: /bin/bash -c
|
2019-12-10 11:07:05 +00:00
|
|
|
command: [HIRS/.ci/setup/setup-tpm2provisioner-base-delta-bad.sh;
|
2019-08-02 16:39:56 +00:00
|
|
|
HIRS/.ci/system-tests/systems-test-centos7-tpm2-base-delta-bad.sh]
|
2019-07-19 09:50:26 +00:00
|
|
|
devices:
|
|
|
|
- "/dev/mem:/dev/mem"
|
|
|
|
cap_add:
|
|
|
|
- sys_rawio
|
|
|
|
networks:
|
|
|
|
hirs_aca_system_tests:
|
|
|
|
ipv4_address: ${HIRS_ACA_PROVISIONER_TPM2_IP}
|
|
|
|
environment:
|
|
|
|
- HIRS_ACA_PROVISIONER_TPM2_IP=${HIRS_ACA_PROVISIONER_TPM2_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}
|