diff --git a/.buildkite/longtests.pipeline.yml b/.buildkite/longtests.pipeline.yml new file mode 100644 index 00000000000..2d29055c702 --- /dev/null +++ b/.buildkite/longtests.pipeline.yml @@ -0,0 +1,48 @@ +# Copied from pipeline.yml. +docker_plugin_default_config: &docker_plugin_default_config + image: "oasislabs/testing:0.3.0" + always_pull: true + workdir: /workdir + volumes: + - /var/lib/buildkite-agent/.coveralls:/root/.coveralls + - /var/lib/buildkite-agent/.codecov:/root/.codecov + # Shared Rust incremental compile caches. + - /tmp/cargo_ic/debug:/tmp/artifacts/debug/incremental + - /tmp/cargo_ic/debug_sgx:/tmp/artifacts/x86_64-unknown-linux-sgx/debug/incremental + # Shared Rust package checkouts directory. + - /tmp/cargo_pkg/git:/root/.cargo/git + - /tmp/cargo_pkg/registry:/root/.cargo/registry + # Shared Rust SGX standard library artifacts cache. + - /tmp/xargo_cache:/root/.xargo + # Shared Go package checkouts directory. + - /tmp/go_pkg:/root/go/pkg + # Intel SGX Application Enclave Services Manager (AESM) daemon running on + # the Buildkite host. + - /var/run/aesmd/aesm.socket:/var/run/aesmd/aesm.socket + # NOTE: When changing the environment variables below, also copy the changes + # to the docker_plugin_sgx_config. + environment: + - "LC_ALL=C.UTF-8" + - "LANG=C.UTF-8" + - "CARGO_TARGET_DIR=/tmp/artifacts" + - "CARGO_INSTALL_ROOT=/root/.cargo" + - "GOPROXY=https://proxy.golang.org/" + propagate-environment: true + unconfined: true + +docker_plugin: &docker_plugin + oasislabs/docker#v3.0.1-oasis1: + <<: *docker_plugin_default_config + +steps: + - label: Transaction source test + timeout_in_minutes: 480 + command: + - make + - ./scripts/run-e2e-txsource.sh + env: + TEST_BASE_DIR: e2e + agents: + buildkite_agent_size: large + plugins: + <<: *docker_plugin diff --git a/scripts/run-e2e-txsource.sh b/scripts/run-e2e-txsource.sh index 3f75b15c138..8eacc72d7d7 100755 --- a/scripts/run-e2e-txsource.sh +++ b/scripts/run-e2e-txsource.sh @@ -1,5 +1,4 @@ #!/bin/sh -# (no merge) ./go/oasis-test-runner/oasis-test-runner \ --basedir.no_cleanup \ --e2e.node.binary go/oasis-node/oasis-node \