Compare commits
9 commits
| Author | SHA1 | Date | |
|---|---|---|---|
| e8c14e7447 | |||
| bd15dc3433 | |||
| 4a210f0762 | |||
| db90cac05a | |||
| 03e967124a | |||
| cc5c91a9b6 | |||
| 7df70294d3 | |||
| 2a8804ca02 | |||
| d7ff9947e5 |
4 changed files with 78 additions and 8 deletions
|
|
@ -1,9 +1,24 @@
|
|||
when:
|
||||
- event: push
|
||||
|
||||
steps:
|
||||
- name: smoke
|
||||
image: bash
|
||||
commands:
|
||||
- pwd
|
||||
- whoami
|
||||
- hostname
|
||||
- printf '%s %s %s\n' "$(date --iso-8601=seconds)" "$(hostname)" "$(git rev-parse --short HEAD)" >> /var/tmp/woodpecker-smoke.log
|
||||
- tail -n 5 /var/tmp/woodpecker-smoke.log
|
||||
|
||||
---
|
||||
|
||||
when:
|
||||
- event: push
|
||||
- branch: master
|
||||
|
||||
steps:
|
||||
deploy:
|
||||
- name: deploy
|
||||
image: bash
|
||||
commands:
|
||||
- sh ~/nixconf/update.sh
|
||||
- nh os switch -H sortug ~/nixconf --target-host root@sortug
|
||||
- sudo -n /usr/local/libexec/deploy-kotsukotsu
|
||||
|
|
|
|||
26
.woodpecker/wtf
Normal file
26
.woodpecker/wtf
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
steps:
|
||||
checks:
|
||||
image: nixos/nix:latest
|
||||
commands:
|
||||
- nix develop --accept-flake-config -c bun install --frozen-lockfile
|
||||
- nix develop --accept-flake-config -c bun run lint
|
||||
- nix develop --accept-flake-config -c bun run typecheck
|
||||
- nix develop --accept-flake-config -c bun run build
|
||||
- nix develop --accept-flake-config -c bun run update:bun-nix
|
||||
- git diff --exit-code bun.nix
|
||||
- nix build --accept-flake-config .#default
|
||||
|
||||
when:
|
||||
- event: [pull_request, push]
|
||||
|
||||
---
|
||||
|
||||
steps:
|
||||
deploy:
|
||||
image: nixos/nix:latest
|
||||
commands:
|
||||
- sudo -n /usr/local/libexec/deploy-sortug
|
||||
|
||||
when:
|
||||
- event: push
|
||||
- branch: master
|
||||
26
.woodpecker/wtfisthis
Normal file
26
.woodpecker/wtfisthis
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
steps:
|
||||
checks:
|
||||
image: nixos/nix:latest
|
||||
commands:
|
||||
- nix develop --accept-flake-config -c bun install --frozen-lockfile
|
||||
- nix develop --accept-flake-config -c bun run lint
|
||||
- nix develop --accept-flake-config -c bun run typecheck
|
||||
- nix develop --accept-flake-config -c bun run build
|
||||
- nix develop --accept-flake-config -c bun run update:bun-nix
|
||||
- git diff --exit-code bun.nix
|
||||
- nix build --accept-flake-config .#default
|
||||
|
||||
when:
|
||||
- event: [pull_request, push]
|
||||
|
||||
---
|
||||
|
||||
steps:
|
||||
deploy:
|
||||
image: nixos/nix:latest
|
||||
commands:
|
||||
- sudo -n /usr/local/libexec/deploy-sortug
|
||||
|
||||
when:
|
||||
- event: push
|
||||
- branch: master
|
||||
3
lol.lmao
Normal file
3
lol.lmao
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
1
|
||||
2
|
||||
3
|
||||
Loading…
Add table
Add a link
Reference in a new issue