dotfiles/.woodpecker/test.yml

14 lines
626 B
YAML
Raw Normal View History

2022-12-03 16:29:14 +00:00
pipeline:
check:
image: nixpkgs/nix-flakes:latest
pull: true
commands:
2022-12-25 22:58:11 +00:00
- export AWS_ACCESS_KEY_ID="nix-builder"
- export AWS_SECRET_ACCESS_KEY="$MINIO_NIX_BUILDER_KEY"
2022-12-25 23:23:34 +00:00
- time nix flake metadata
- time nix --no-sandbox --substituters 's3://nix-store?endpoint=objects.cyplo.dev&scheme=https&region=cyplodev' develop -c statix check
- time nix --substituters 's3://nix-store?endpoint=objects.cyplo.dev&scheme=https&region=cyplodev' flake check
2022-12-25 22:58:11 +00:00
- nix copy --all --to 's3://nix-store?endpoint=objects.cyplo.dev&scheme=https&region=cyplodev'
secrets: [ minio_nix_builder_key ]