From f343e4a959bff9e19d81e0fc1b2548c8bc2fc245 Mon Sep 17 00:00:00 2001 From: "Aode (Lion)" Date: Mon, 17 Jan 2022 14:05:24 -0600 Subject: [PATCH] Use upstream rust container for tests --- .drone.yml | 26 ++------------------------ 1 file changed, 2 insertions(+), 24 deletions(-) diff --git a/.drone.yml b/.drone.yml index 7c9f446..a27ab11 100644 --- a/.drone.yml +++ b/.drone.yml @@ -44,20 +44,9 @@ name: tests-amd64 platform: arch: amd64 -clone: - disable: true - steps: -- name: clone - image: alpine/git:latest - user: root - commands: - - git clone $DRONE_GIT_HTTP_URL . - - git checkout $DRONE_COMMIT - - chown -R 991:991 . - - name: tests - image: asonix/rust-builder:latest-linux-amd64 + image: rust:1-alpine pull: always commands: - cargo test @@ -77,20 +66,9 @@ name: tests-arm64v8 platform: arch: arm64 -clone: - disable: true - steps: -- name: clone - image: alpine/git:latest - user: root - commands: - - git clone $DRONE_GIT_HTTP_URL . - - git checkout $DRONE_COMMIT - - chown -R 991:991 . - - name: tests - image: asonix/rust-builder:latest-linux-amd64 + image: rust:1-alpine pull: always commands: - cargo test