pls
authorFloatingGhost <hannah@coffee-and-dreams.uk>
Sat, 11 Jun 2022 18:37:24 +0000 (19:37 +0100)
committerFloatingGhost <hannah@coffee-and-dreams.uk>
Sat, 11 Jun 2022 18:37:24 +0000 (19:37 +0100)
.woodpecker/.lint.yml
.woodpecker/.release.yml
.woodpecker/.test.yml

index 0bac90d7367df2dae7ded9b8d2c0088dd73f8e14..d4f6576a3e6aa2b6781e1bdf021351a6f7459eed 100644 (file)
@@ -7,4 +7,4 @@ pipeline:
     - mix format --check-formatted
     when:
       event:
-      - push
+      - tag
index d67594a781db14019f9d1fef9a7378f9fa86e1d7..34c7dcb37737eea8065ebdfced2cebd4a1e1e7ae 100644 (file)
@@ -16,7 +16,7 @@ pipeline:
   glibc:
     when:
       event:
-        - tag
+        - push
     secrets:
     - SCW_ACCESS_KEY
     - SCW_SECRET_KEY
@@ -44,7 +44,7 @@ pipeline:
   musl:
     when:
       event:
-        - tag
+        - push
     secrets:
     - SCW_ACCESS_KEY
     - SCW_SECRET_KEY
@@ -58,6 +58,12 @@ pipeline:
       - rm -rf release || true
       - rm -rf _build || true
       - rm -rf /root/.mix
+      - rm scaleway-cli || true
+      - wget https://github.com/scaleway/scaleway-cli/releases/download/v2.5.1/scaleway-cli_2.5.1_linux_amd64
+      - mv scaleway-cli_2.5.1_linux_amd64 scaleway-cli
+      - chmod +x scaleway-cli
+      - ./scaleway-cli object config install type=rclone
+
       - mix local.hex --force
       - mix local.rebar --force
       - mix deps.clean --all 
index cef7436433bc540d05854968ef5d93385af6a9b7..b6da1e7f9acdd2d4670a20b3d182fa3c7d84c092 100644 (file)
@@ -10,7 +10,7 @@ pipeline:
     image: pleromaforkci/ci-base:${ELIXIR_VERSION}
     when:
       event:
-      - push
+      - tag
     environment:
       MIX_ENV: test
     commands: