about summary refs log tree commit diff
path: root/.buildkite/pipeline.yml
diff options
context:
space:
mode:
authorFlorian Klink <flokli@flokli.de>2019-11-22T15·56+0100
committerFlorian Klink <flokli@flokli.de>2019-11-22T18·51+0100
commitfecbf8b3e2efd4ba8c2e33159269000db2fbe1da (patch)
tree10918c8f1fccca80aa0b1b5b5467c096c728b8fc /.buildkite/pipeline.yml
parent9c36bb0e6c9f11db207ab34e545eb1de956bc806 (diff)
WIP: build binary and container
Diffstat (limited to '.buildkite/pipeline.yml')
-rw-r--r--.buildkite/pipeline.yml13
1 files changed, 13 insertions, 0 deletions
diff --git a/.buildkite/pipeline.yml b/.buildkite/pipeline.yml
new file mode 100644
index 000000000000..0885cb9694ee
--- /dev/null
+++ b/.buildkite/pipeline.yml
@@ -0,0 +1,13 @@
+steps:
+  - command: |
+      . /var/lib/buildkite-agent/.nix-profile/etc/profile.d/nix.sh
+      # produces a ./gerrit-queue
+      nix-shell --run ./.buildkite/build.sh
+
+      mkdir -p out
+      mv ./gerrit-queue out/gerrit-queue-$(git describe --tags)
+
+    label: "Build (linux/amd64)"
+    timeout: 30
+    artifact_paths:
+      - "out/*"