Skip to content

Commit

Permalink
Merge pull request #55 from serokell/zhenya/pipeline
Browse files Browse the repository at this point in the history
Store buildkite pipeline steps in the repository
  • Loading branch information
yorickvP authored Feb 6, 2020
2 parents 48bd545 + 73c4b58 commit 23b4d2e
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .buildkite/pipeline.yml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 23b4d2e

Please sign in to comment.