From 73c4b589acb8f6a1811d4ce024e9927d67fd3437 Mon Sep 17 00:00:00 2001 From: Zhenya Vinogradov Date: Tue, 4 Feb 2020 12:11:27 +0300 Subject: [PATCH] Store buildkite pipeline steps in the repository Version control is good. Steps copied verbatim from the buildkite settings --- .buildkite/pipeline.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 .buildkite/pipeline.yml diff --git a/.buildkite/pipeline.yml b/.buildkite/pipeline.yml new file mode 100644 index 00000000..dd223e84 --- /dev/null +++ b/.buildkite/pipeline.yml @@ -0,0 +1,16 @@ +env: + NIX_PATH: nixpkgs=https://github.com/NixOS/nixpkgs-channels/archive/nixos-unstable.tar.gz + +steps: + - label: nix-build + commands: + - nix-build | cachix push nixfmt + - nix-build -A cabal2nixDeriver | cachix push nixfmt + - label: build web-demo + commands: + - nix-build release.nix -A web-demo | cachix push nixfmt + - wait + - label: deploy web demo + branches: master + commands: + - nix-build release.nix -A web-demo --out-link /var/lib/buildkite-agent-public/cd/nixfmt-web