aboutsummaryrefslogtreecommitdiff
path: root/.woodpecker
diff options
context:
space:
mode:
Diffstat (limited to '.woodpecker')
-rw-r--r--.woodpecker/debug.yaml3
-rw-r--r--.woodpecker/publish.yaml5
-rw-r--r--.woodpecker/release.yaml5
3 files changed, 6 insertions, 7 deletions
diff --git a/.woodpecker/debug.yaml b/.woodpecker/debug.yaml
index 06597a3b..db7a75be 100644
--- a/.woodpecker/debug.yaml
+++ b/.woodpecker/debug.yaml
@@ -24,8 +24,7 @@ steps:
GARAGE_TEST_INTEGRATION_EXE: result-bin/bin/garage
GARAGE_TEST_INTEGRATION_PATH: tmp-garage-integration
commands:
- - nix-build --no-build-output --attr pkgs.amd64.debug --argstr git_version ${CI_COMMIT_TAG:-$CI_COMMIT_SHA}
- - nix-build --no-build-output --attr test.amd64
+ - nix-build --no-build-output --attr test.amd64 --argstr git_version ${CI_COMMIT_TAG:-$CI_COMMIT_SHA}
- ./result/bin/garage_db-*
- ./result/bin/garage_api-*
- ./result/bin/garage_model-*
diff --git a/.woodpecker/publish.yaml b/.woodpecker/publish.yaml
index 38458264..7522d58d 100644
--- a/.woodpecker/publish.yaml
+++ b/.woodpecker/publish.yaml
@@ -20,8 +20,9 @@ steps:
- name: multiarch-docker
image: nixpkgs/nix:nixos-22.05
- secrets:
- - docker_auth
+ environment:
+ DOCKER_AUTH:
+ from_secret: docker_auth
commands:
- mkdir -p /root/.docker
- echo $DOCKER_AUTH > /root/.docker/config.json
diff --git a/.woodpecker/release.yaml b/.woodpecker/release.yaml
index baf81b0c..a2328d5e 100644
--- a/.woodpecker/release.yaml
+++ b/.woodpecker/release.yaml
@@ -23,7 +23,6 @@ steps:
- name: check is static binary
image: nixpkgs/nix:nixos-22.05
commands:
- - nix-build --no-build-output --attr pkgs.${ARCH}.release --argstr git_version ${CI_COMMIT_TAG:-$CI_COMMIT_SHA}
- nix-shell --attr ci --run "./script/not-dynamic.sh result-bin/bin/garage"
- name: integration tests
@@ -60,8 +59,8 @@ steps:
environment:
DOCKER_PLATFORM: "linux/${ARCH}"
CONTAINER_NAME: "dxflrs/${ARCH}_garage"
- secrets:
- - docker_auth
+ DOCKER_AUTH:
+ from_secret: docker_auth
commands:
- mkdir -p /root/.docker
- echo $DOCKER_AUTH > /root/.docker/config.json