aboutsummaryrefslogtreecommitdiff
path: root/.drone.yml
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2023-10-05 10:42:10 +0200
committerAlex Auvolat <alex@adnab.me>2023-10-05 10:42:10 +0200
commit9ccc1d6f4abc802626e376f0dc8c2e338f4d0998 (patch)
tree1ca2c815a02a6385921f7a37648d8894390d9ad7 /.drone.yml
parent920dec393a80fae5112bc9dd082b8635316d92c3 (diff)
downloadgarage-9ccc1d6f4abc802626e376f0dc8c2e338f4d0998.tar.gz
garage-9ccc1d6f4abc802626e376f0dc8c2e338f4d0998.zip
move upgrade test to release build
Diffstat (limited to '.drone.yml')
-rw-r--r--.drone.yml22
1 files changed, 13 insertions, 9 deletions
diff --git a/.drone.yml b/.drone.yml
index a274be29..d79a9277 100644
--- a/.drone.yml
+++ b/.drone.yml
@@ -42,12 +42,6 @@ steps:
- nix-build --no-build-output --attr clippy.amd64 --argstr git_version ${DRONE_TAG:-$DRONE_COMMIT}
- nix-shell --attr integration --run ./script/test-smoke.sh || (cat /tmp/garage.log; false)
- - name: upgrade tests
- image: nixpkgs/nix:nixos-22.05
- commands:
- - nix-build --no-build-output --attr clippy.amd64 --argstr git_version ${DRONE_TAG:-$DRONE_COMMIT}
- - nix-shell --attr integration --run "./script/test-upgrade.sh v0.8.4 x86_64-unknown-linux-musl" || (cat /tmp/garage.log; false)
-
trigger:
event:
- custom
@@ -71,11 +65,16 @@ steps:
- nix-build --no-build-output --attr pkgs.amd64.release --argstr git_version ${DRONE_TAG:-$DRONE_COMMIT}
- nix-shell --attr rust --run "./script/not-dynamic.sh result-bin/bin/garage"
- - name: integration
+ - name: integration tests
image: nixpkgs/nix:nixos-22.05
commands:
- nix-shell --attr integration --run ./script/test-smoke.sh || (cat /tmp/garage.log; false)
+ - name: upgrade tests
+ image: nixpkgs/nix:nixos-22.05
+ commands:
+ - nix-shell --attr integration --run "./script/test-upgrade.sh v0.8.4 x86_64-unknown-linux-musl" || (cat /tmp/garage.log; false)
+
- name: push static binary
image: nixpkgs/nix:nixos-22.05
environment:
@@ -122,11 +121,16 @@ steps:
- nix-build --no-build-output --attr pkgs.i386.release --argstr git_version ${DRONE_TAG:-$DRONE_COMMIT}
- nix-shell --attr rust --run "./script/not-dynamic.sh result-bin/bin/garage"
- - name: integration
+ - name: integration tests
image: nixpkgs/nix:nixos-22.05
commands:
- nix-shell --attr integration --run ./script/test-smoke.sh || (cat /tmp/garage.log; false)
+ - name: upgrade tests
+ image: nixpkgs/nix:nixos-22.05
+ commands:
+ - nix-shell --attr integration --run "./script/test-upgrade.sh v0.8.4 i686-unknown-linux-musl" || (cat /tmp/garage.log; false)
+
- name: push static binary
image: nixpkgs/nix:nixos-22.05
environment:
@@ -291,6 +295,6 @@ trigger:
---
kind: signature
-hmac: dcf68ed6536e3fd9b359377e4c6c1d321fa9cc0f6fe5645d69c8f1d604569b4c
+hmac: 0c4b57eb4b27b7c6a6ff21ab87f0767fe3eb90f5d95d5cbcdccf794e9d2a5d86
...