dotfiles/.woodpecker/test.yml

13 lines
626 B
YAML

pipeline:
check:
image: nixpkgs/nix-flakes:latest
pull: true
commands:
- export AWS_ACCESS_KEY_ID="nix-builder"
- export AWS_SECRET_ACCESS_KEY="$MINIO_NIX_BUILDER_KEY"
- 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
- nix copy --all --to 's3://nix-store?endpoint=objects.cyplo.dev&scheme=https&region=cyplodev'
secrets: [ minio_nix_builder_key ]