1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61
|
---
version: 0.2
env:
variables:
# CODEBUILD_ is a reserved namespace.
CB_BIN_DIR: "./codebuild/bin"
# Doc for batch https://docs.aws.amazon.com/codebuild/latest/userguide/batch-build-buildspec.html#build-spec.batch.build-list
batch:
build-graph:
- identifier: s2nIntegrationv2WellKnownEndpointsBaseline
buildspec: codebuild/spec/buildspec_ubuntu_integv2criterion_baseline.yml
env:
privileged-mode: true
compute-type: BUILD_GENERAL1_LARGE
variables:
INTEGV2_TEST: test_well_known_endpoints
S2N_USE_CRITERION: 2
S2N_NO_PQ: 1
TESTS: integrationv2crit
GCC_VERSION: 6
RUST_BACKTRACE: 1
- identifier: s2nIntegrationv2WellKnownEndpoints
debug-session: true
env:
privileged-mode: true
compute-type: BUILD_GENERAL1_LARGE
variables:
INTEGV2_TEST: test_well_known_endpoints
S2N_USE_CRITERION: 1
S2N_NO_PQ: 1
TESTS: integrationv2crit
GCC_VERSION: 6
ARTIFACT_BUCKET: s3://s2n-tls-logs/release
ARTIFACT_FILE: integv2criterion
depend-on:
- s2nIntegrationv2WellKnownEndpointsBaseline
phases:
install:
runtime-versions:
python: 3.x
commands:
- $CB_BIN_DIR/install_ubuntu_dependencies.sh
- $CB_BIN_DIR/utils.sh gh_login s2n_codebuild_PRs
- export LATEST_RELEASE_VER=$($CB_BIN_DIR/utils.sh get_latest_release)
- mkdir -p tests/integrationv2/target/criterion || true
- aws s3 cp ${ARTIFACT_BUCKET}/${ARTIFACT_FILE}_${INTEGV2_TEST}_${LATEST_RELEASE_VER}.zip .
- unzip -o ${ARTIFACT_FILE}_${INTEGV2_TEST}_${LATEST_RELEASE_VER}.zip -d ./tests/integrationv2/target/criterion
build:
commands:
- codebuild-breakpoint
- $CB_BIN_DIR/criterion_delta.sh
artifacts:
files:
- "**/index.html"
- "**/*.svg"
- "**/*.json"
base-directory: "tests/integrationv2/target/criterion"
discard-paths: no
|