mirror of
https://github.com/Mic92/sops-nix.git
synced 2024-12-14 11:57:52 +00:00
33 lines
973 B
YAML
33 lines
973 B
YAML
---
|
|
kind: pipeline
|
|
name: nixos-tests
|
|
|
|
steps:
|
|
- name: test
|
|
image: busybox
|
|
environment:
|
|
NIX_REMOTE: daemon
|
|
PATH: /nix/var/nix/profiles/system/sw/bin/
|
|
SSL_CERT_FILE: /nix/var/nix/profiles/system/etc/ssl/certs/ca-certificates.crt
|
|
GIT_SSL_CAINFO: /nix/var/nix/profiles/system/etc/ssl/certs/ca-certificates.crt
|
|
CURL_CA_BUNDLE: /nix/var/nix/profiles/system/etc/ssl/certs/ca-certificates.crt
|
|
PAGER: cat
|
|
USER: root
|
|
volumes:
|
|
- name: socket
|
|
path: /nix/var/nix/daemon-socket/socket
|
|
volumes:
|
|
- name: nixstore
|
|
path: /nix
|
|
commands:
|
|
- nix-build -I nixpkgs=https://github.com/NixOS/nixpkgs-channels/archive/nixpkgs-unstable.tar.gz -A sops-install-secrets.tests
|
|
- nix-build -I nixpkgs=https://github.com/NixOS/nixpkgs-channels/archive/nixos-20.03.tar.gz -A sops-install-secrets.tests
|
|
volumes:
|
|
- name: nixstore
|
|
host:
|
|
path: /nix
|
|
---
|
|
kind: signature
|
|
hmac: d9b3b156902d9351d56c103b9c9f91588c9b3ed17a821dd14877bf8e567d939d
|
|
|
|
...
|