Skip to content

Commit

Permalink
Store buildkite pipeline steps in the repository
Browse files Browse the repository at this point in the history
Version control is good. Steps copied verbatim from the buildkite
settings
  • Loading branch information
zhenyavinogradov committed Feb 4, 2020
1 parent 48bd545 commit 73c4b58
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 73c4b58

Please sign in to comment.