Remove static pipeline

The use of the static file pipeline.yml is now deprecated. All
pipelines should use the dynamic script autogenerate_pipeline.py.

Signed-off-by: Catalin Dumitru <catdum@amazon.com>
This commit is contained in:
Catalin Dumitru
2021-09-06 13:18:39 +03:00
committed by Laura Loghin
parent 6e1bdaac8e
commit e58c6f698f

View File

@@ -1,231 +0,0 @@
# Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
# SPDX-License-Identifier: Apache-2.0
steps:
- label: "build-gnu-x86"
commands:
- RUSTFLAGS="-D warnings" cargo build --release
retry:
automatic: false
agents:
platform: x86_64.metal
os: linux
plugins:
- docker#v3.8.0:
image: "rustvmm/dev:v12"
always-pull: true
- label: "build-gnu-arm"
commands:
- RUSTFLAGS="-D warnings" cargo build --release
retry:
automatic: false
agents:
platform: arm.metal
os: linux
plugins:
- docker#v3.8.0:
image: "rustvmm/dev:v12"
always-pull: true
- label: "build-musl-x86"
commands:
- RUSTFLAGS="-D warnings" cargo build --release --target x86_64-unknown-linux-musl
retry:
automatic: false
agents:
platform: x86_64.metal
os: linux
plugins:
- docker#v3.8.0:
image: "rustvmm/dev:v12"
always-pull: true
- label: "build-musl-arm"
commands:
- RUSTFLAGS="-D warnings" cargo build --release --target aarch64-unknown-linux-musl
retry:
automatic: false
agents:
platform: arm.metal
os: linux
plugins:
- docker#v3.8.0:
image: "rustvmm/dev:v12"
always-pull: true
- label: "style"
command: cargo fmt --all -- --check
retry:
automatic: false
agents:
platform: x86_64.metal
os: linux
plugins:
- docker#v3.8.0:
image: "rustvmm/dev:v12"
always-pull: true
- label: "unittests-gnu-x86"
commands:
- cargo test --all-features --workspace
retry:
automatic: false
agents:
platform: x86_64.metal
os: linux
plugins:
- docker#v3.8.0:
privileged: true
image: "rustvmm/dev:v12"
always-pull: true
volumes:
- "/tmp:/tmp"
- label: "unittests-gnu-arm"
commands:
- cargo test --all-features --workspace
retry:
automatic: false
agents:
platform: arm.metal
os: linux
plugins:
- docker#v3.8.0:
privileged: true
image: "rustvmm/dev:v12"
always-pull: true
volumes:
- "/tmp:/tmp"
- label: "unittests-musl-x86"
command:
- cargo test --all-features --workspace --target x86_64-unknown-linux-musl
retry:
automatic: false
agents:
platform: x86_64.metal
os: linux
plugins:
- docker#v3.8.0:
privileged: true
image: "rustvmm/dev:v12"
always-pull: true
volumes:
- "/tmp:/tmp"
- label: "unittests-musl-arm"
command:
- cargo test --all-features --workspace --target aarch64-unknown-linux-musl
retry:
automatic: false
agents:
platform: arm.metal
os: linux
plugins:
- docker#v3.8.0:
privileged: true
image: "rustvmm/dev:v12"
always-pull: true
volumes:
- "/tmp:/tmp"
- label: "clippy-x86"
commands:
- cargo clippy --workspace --bins --examples --benches --all-features -- -D warnings
retry:
automatic: false
agents:
platform: x86_64.metal
os: linux
plugins:
- docker#v3.8.0:
image: "rustvmm/dev:v12"
always-pull: true
- label: "check-warnings-x86"
commands:
- RUSTFLAGS="-D warnings" cargo check --all-targets --all-features --workspace
retry:
automatic: false
agents:
platform: x86_64.metal
os: linux
plugins:
- docker#v3.8.0:
privileged: true
image: "rustvmm/dev:v12"
always-pull: true
- label: "check-warnings-arm"
command:
- RUSTFLAGS="-D warnings" cargo check --all-targets --all-features --workspace
retry:
automatic: false
agents:
platform: arm.metal
os: linux
plugins:
- docker#v3.8.0:
privileged: true
image: "rustvmm/dev:v12"
always-pull: true
- label: "coverage-x86"
commands:
- find . -type f -name "test_coverage.py" | xargs pytest
retry:
automatic: false
agents:
platform: x86_64.metal
os: linux
plugins:
- docker#v3.8.0:
privileged: true
image: "rustvmm/dev:v12"
always-pull: true
volumes:
- "/tmp:/tmp"
- label: "coverage-arm"
commands:
- pytest rust-vmm-ci/integration_tests/test_coverage.py
skip: "Currently this test is very unreliable. Kcov on aarch64 needs fixing."
retry:
automatic: false
agents:
platform: arm.metal
os: linux
plugins:
- docker#v3.8.0:
privileged: true
image: "rustvmm/dev:v12"
always-pull: true
volumes:
- "/tmp:/tmp"
- label: "commit-format"
commands:
- find . -type f -name "test_commit_format.py" | xargs pytest
if: build.env("BUILDKITE_REPO") !~ /^git@/
retry:
automatic: false
agents:
os: linux
plugins:
- docker#v3.8.0:
image: "rustvmm/dev:v12"
always-pull: true
propagate-environment: true
- label: "cargo-audit"
commands:
- cargo audit -q
retry:
automatic: false
agents:
os: linux
plugins:
- docker#v3.8.0:
image: "rustvmm/dev:v12"
always-pull: true
propagate-environment: true