~muirrum/crane-discord

b44ca053c7e12fd328d195e8b29a5d530884fa84 — Cara Salter 3 years ago 7f81d8f
update infrabot to use crane-discord
2 files changed, 6 insertions(+), 6 deletions(-)

M manifests/infra-bot.yml
M manifests/infra-manifests.yml
M manifests/infra-bot.yml => manifests/infra-bot.yml +4 -4
@@ 1,6 1,6 @@
image: ubuntu/lts
sources:
  - https://git.sr.ht/~muirrum/infra-bot
  - https://git.sr.ht/~muirrum/crane-discord
secrets:
  - 0467a7c3-16d9-491c-9874-807bce4f2616
  - a88c3ffc-9bb0-451e-bf59-ef6198da6754


@@ 16,13 16,13 @@ tasks:
  - setup: |
      source ~/.cargo/env
      rustup toolchain install stable
      cd infra-bot
      cd crane-discord
      rustup run stable cargo fetch
  - build: |
      source ~/.cargo/env
      rustup default stable
      cd infra-bot
      cd crane-discord
      cargo build --release
  - deploy: |
      cd infra-bot
      cd crane-discord
      scp target/release/infra-bot osalter@kronos.devosmium.xyz:/usr/bot/infra-bot/infra-update

M manifests/infra-manifests.yml => manifests/infra-manifests.yml +2 -2
@@ 1,6 1,6 @@
image: archlinux
sources:
  - https://git.sr.ht/~muirrum/infra-bot
  - https://git.sr.ht/~muirrum/crane-discord
packages:
  - rsync



@@ 10,5 10,5 @@ secrets:

tasks:
  - deploy: |
      cd infra-bot
      cd crane-discord
      rsync --delete -avz -e "ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null" manifests/ osalter@kronos.devosmium.xyz:/usr/bot/infra-bot/manifests/