blob: 62d904a2f41e7ee4fd0de0d9b276d436092d4482 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
image: debian/stretch
packages:
- curl
triggers:
- condition: failure
action: email
to: EuAndreh <ci@euandre.org>
sources:
- https://git.sr.ht/~euandreh/vps
- https://git.sr.ht/~euandreh/vps-state
secrets:
- 5ea19edb-5cce-4aae-ac75-cc039fa1f88a
- 7084b7c7-12be-4509-8927-81ba6eeb1fc0
tasks:
- setup: |
curl https://nixos.org/nix/install | sh
echo '. ~/.nix-profile/etc/profile.d/nix.sh' >> ~/.buildenv
- tests: |
cd vps/
nix-build -A test
- deploy: |
cd vps/
nix-shell --run "bash -c ./provision.sh"
|