Compare commits
No commits in common. "b" and "codex" have entirely different histories.
4 changed files with 8 additions and 78 deletions
|
|
@ -1,24 +1,9 @@
|
||||||
when:
|
when:
|
||||||
- event: push
|
- event: push
|
||||||
|
- branch: master
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: smoke
|
deploy:
|
||||||
image: bash
|
commands:
|
||||||
commands:
|
- sh ~/nixconf/update.sh
|
||||||
- pwd
|
- nh os switch -H sortug ~/nixconf --target-host root@sortug
|
||||||
- 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:
|
|
||||||
- name: deploy
|
|
||||||
image: bash
|
|
||||||
commands:
|
|
||||||
- sudo -n /usr/local/libexec/deploy-kotsukotsu
|
|
||||||
|
|
|
||||||
|
|
@ -1,26 +0,0 @@
|
||||||
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
|
|
||||||
|
|
@ -1,26 +0,0 @@
|
||||||
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
3
lol.lmao
|
|
@ -1,3 +0,0 @@
|
||||||
1
|
|
||||||
2
|
|
||||||
3
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue