From 57e64413b57888744daf71670e55bd9313bacaf9 Mon Sep 17 00:00:00 2001 From: John Smith Date: Sun, 5 Dec 2021 15:32:03 -0500 Subject: [PATCH] pipeline update --- .gitlab-ci.yml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 16238736..3f5277f0 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -13,14 +13,14 @@ clippy: stage: clippy image: ${BUILD_IMAGE_LINUX_AMD64} cache: - key: $CI_COMMIT_REF_SLUG-linux-amd64-release + key: $CI_COMMIT_REF_SLUG-linux-amd64 paths: - target/ tags: - linux - amd64 script: - - cargo clippy --release + - cargo clippy # Only run clippy on non-protected branches, for development rules: - if: $CI_COMMIT_REF_PROTECTED == "false" @@ -34,18 +34,18 @@ clippy: - if: $CI_COMMIT_REF_PROTECTED == "true" - if: $CI_MERGE_REQUEST_IID -test_linux_amd64_release: +test_linux_amd64: stage: test image: ${BUILD_IMAGE_LINUX_AMD64} cache: - key: $CI_COMMIT_REF_SLUG-linux-amd64-release + key: $CI_COMMIT_REF_SLUG-linux-amd64 paths: - target/ tags: - linux - amd64 script: - - RUST_BACKTRACE=1 dbus-run-session -- cargo test --release -- --nocapture + - RUST_BACKTRACE=1 dbus-run-session -- cargo test -- --nocapture rules: - !reference [.test_rules_common, rules] @@ -57,11 +57,11 @@ test_linux_amd64_release: - if: $CI_COMMIT_TAG - if: $CI_COMMIT_REF_PROTECTED == "true" -build_linux_amd64_release: +build_linux_amd64: stage: build image: ${BUILD_IMAGE_LINUX_AMD64} cache: - key: $CI_COMMIT_REF_SLUG-linux-amd64-release + key: $CI_COMMIT_REF_SLUG-linux-amd64 paths: - target/ tags: @@ -70,7 +70,7 @@ build_linux_amd64_release: script: - cargo build --release artifacts: - name: $CI_COMMIT_REF_SLUG-linux-amd64-release + name: $CI_COMMIT_REF_SLUG-linux-amd64 paths: - target/release/veilid-cli - target/release/veilid-server