mirror of
https://github.com/nsacyber/HIRS.git
synced 2025-04-07 11:26:51 +00:00
added docker login to system tests
This commit is contained in:
parent
766ff75261
commit
15ee70693f
21
.travis.yml
21
.travis.yml
@ -36,26 +36,35 @@ script:
|
||||
- echo $DOCKER_PWD | docker login -u "$DOCKER_USER" --password-stdin
|
||||
- docker run --rm -v $(pwd):/HIRS hirs/hirs-ci:centos7 /bin/bash -c "cd /HIRS; ./gradlew :$SUBPROJECT:build -x test :$TCG_RIM_TOOL:build"
|
||||
|
||||
|
||||
jobs:
|
||||
include:
|
||||
- stage: Packaging and System Tests
|
||||
script: docker run --rm -v $(pwd):/HIRS hirs/hirs-ci:ubuntu18 /bin/bash -c "cd /HIRS; ./package/package.ubuntu.sh"
|
||||
script:
|
||||
- echo $DOCKER_PWD | docker login -u "$DOCKER_USER" --password-stdin
|
||||
- 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: Packaging and System Tests
|
||||
script: .ci/system-tests/./run-system-tests.sh
|
||||
script:
|
||||
- echo $DOCKER_PWD | docker login -u "$DOCKER_USER" --password-stdin
|
||||
- .ci/system-tests/./run-system-tests.sh
|
||||
env: null
|
||||
name: "System Tests TPM 1.2"
|
||||
- stage: Packaging and System Tests
|
||||
script: .ci/system-tests/./run-system-tests-tpm2.sh
|
||||
script:
|
||||
- echo $DOCKER_PWD | docker login -u "$DOCKER_USER" --password-stdin
|
||||
- .ci/system-tests/./run-system-tests-tpm2.sh
|
||||
env: null
|
||||
name: "System Tests TPM 2.0"
|
||||
- stage: Packaging and System Tests
|
||||
script: .ci/system-tests/./run-system-tests-tpm2-base-delta-bad.sh
|
||||
script:
|
||||
- echo $DOCKER_PWD | docker login -u "$DOCKER_USER" --password-stdin
|
||||
- .ci/system-tests/./run-system-tests-tpm2-base-delta-bad.sh
|
||||
env: null
|
||||
name: "System Tests TPM 2.0 Base/Delta(Bad)"
|
||||
- stage: Packaging and System Tests
|
||||
script: .ci/system-tests/./run-system-tests-tpm2-base-delta-good.sh
|
||||
script:
|
||||
- echo $DOCKER_PWD | docker login -u "$DOCKER_USER" --password-stdin
|
||||
- .ci/system-tests/./run-system-tests-tpm2-base-delta-good.sh
|
||||
env: null
|
||||
name: "System Tests TPM 2.0 Base/Delta(Good)"
|
||||
|
Loading…
x
Reference in New Issue
Block a user