From 8b6a44a53d0b5b5f61dd597ae8d698a873868305 Mon Sep 17 00:00:00 2001 From: Alex Auvolat Date: Thu, 8 Feb 2024 15:41:52 +0100 Subject: [woodpecker] convert drone pipelines to woodpecker --- shell.nix | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'shell.nix') diff --git a/shell.nix b/shell.nix index 991417b5..6d6cc68f 100644 --- a/shell.nix +++ b/shell.nix @@ -95,6 +95,15 @@ in { s3://garagehq.deuxfleurs.fr/_releases/''${DRONE_TAG:-$DRONE_COMMIT}/''${TARGET}/garage } + function to_s3_woodpecker { + aws \ + --endpoint-url https://garage.deuxfleurs.fr \ + --region garage \ + s3 cp \ + ./result-bin/bin/garage \ + s3://garagehq.deuxfleurs.fr/_releases/''${CI_COMMIT_TAG:-$CI_COMMIT_SHA}/''${TARGET}/garage + } + function to_docker { executor \ --force \ -- cgit v1.2.3