mirror of
https://github.com/nsacyber/HIRS.git
synced 2024-12-19 13:08:05 +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.4 KiB
YAML
54 lines
1.4 KiB
YAML
# NOTE: if you are editing this, try using the yamllint tool to check your work.
|
|
# yamllint disable rule:line-length
|
|
---
|
|
os:
|
|
- linux
|
|
|
|
sudo: true
|
|
|
|
language: java
|
|
|
|
env:
|
|
- SUBPROJECT=HIRS_Utils
|
|
- SUBPROJECT=HIRS_Provisioner
|
|
- SUBPROJECT=HIRS_ProvisionerTPM2
|
|
- SUBPROJECT=HIRS_Structs
|
|
- SUBPROJECT=HIRS_AttestationCA
|
|
- SUBPROJECT=HIRS_AttestationCAPortal
|
|
- SUBPROJECT=TPM_Utils
|
|
- SUBPROJECT=tpm_module
|
|
|
|
services:
|
|
- docker
|
|
|
|
before_cache:
|
|
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
|
|
- rm -fr $HOME/.gradle/caches/*/plugin-resolution/
|
|
cache:
|
|
directories:
|
|
- $HOME/.gradle/caches/
|
|
- $HOME/.gradle/wrapper/
|
|
|
|
install: true
|
|
|
|
script:
|
|
- docker run --rm -v $(pwd):/HIRS hirs/hirs-ci:centos7 /bin/bash -c "cd /HIRS; ./gradlew :$SUBPROJECT:build"
|
|
|
|
jobs:
|
|
include:
|
|
- stage: package
|
|
script: docker run --rm -v $(pwd):/HIRS hirs/hirs-ci:centos7 /bin/bash -c "cd /HIRS; ./package/package.centos.sh"
|
|
env: null
|
|
name: "Package Centos"
|
|
- script: docker run --rm -v $(pwd):/HIRS hirs/hirs-ci:ubuntu18 /bin/bash -c "cd /HIRS; ./package/package.ubuntu.sh"
|
|
env: null
|
|
name: "Package Ubuntu"
|
|
- stage: system-tests
|
|
script: .ci/system-tests/./run-system-tests.sh
|
|
env: null
|
|
name: "System Tests"
|
|
- stage: system-tests
|
|
script: .ci/system-tests/./run-system-tests-tpm2.sh
|
|
env: null
|
|
name: "System Tests TPM2"
|