mirror of
https://github.com/nsacyber/HIRS.git
synced 2024-12-24 07:06:46 +00:00
7a1a6b73b0
* Adding ACA Policy tests with modifications to related files * Separating the system tests setup from the tests themselves + Splitting up ACA Policy Tests into different steps in workflow file * Creating separate script for setting up system tests in workflow, and one script for running system tests locally. Adding details to system test steps.
35 lines
1011 B
YAML
35 lines
1011 B
YAML
services:
|
|
aca:
|
|
image: ghcr.io/nsacyber/hirs/aca-rocky-ci:latest
|
|
container_name: hirs-aca1
|
|
volumes:
|
|
- ../../:/HIRS
|
|
command: ["bash", "-c", "tail -f /dev/null;"]
|
|
ports:
|
|
- "${HIRS_ACA_PORTAL_PORT}:${HIRS_ACA_PORTAL_CONTAINER_PORT}"
|
|
hostname: ${HIRS_ACA_HOSTNAME}
|
|
networks:
|
|
hirs_aca_system_tests:
|
|
ipv4_address: ${HIRS_ACA_PORTAL_IP}
|
|
aliases:
|
|
- ${HIRS_ACA_HOSTNAME}
|
|
|
|
tpmprovisioner:
|
|
image: ghcr.io/nsacyber/hirs/tpm2provisioner-dotnet-ci:latest
|
|
container_name: hirs-provisioner1-tpm2
|
|
depends_on:
|
|
- aca
|
|
volumes:
|
|
- ../../:/HIRS
|
|
command: ["bash", "-c", "/ibmswtpm2/src/tpm_server && tail -f /dev/null"]
|
|
networks:
|
|
hirs_aca_system_tests:
|
|
ipv4_address: ${HIRS_ACA_PROVISIONER_TPM2_IP}
|
|
|
|
networks:
|
|
hirs_aca_system_tests:
|
|
driver: bridge
|
|
ipam:
|
|
driver: default
|
|
config:
|
|
- subnet: ${HIRS_SUBNET} |