From e48d85761dde006eda9b2c876a33a826fa60d4dc Mon Sep 17 00:00:00 2001 From: albert Date: Wed, 8 Jan 2025 21:01:57 +0100 Subject: [PATCH] Update workflows --- .forgejo/workflows/cron/auto-deploy-rs.yml | 5 ++--- .forgejo/workflows/cron/update-flake-lock.yml | 12 +++--------- .forgejo/workflows/cron/update-steamdeck.yml | 11 +++-------- .forgejo/workflows/dispatch/manual-deploy-rs.yml | 6 ++---- .forgejo/workflows/dispatch/update-flake-lock.yml | 6 ++---- .forgejo/workflows/dispatch/update-steamdeck.yml | 6 ++---- 6 files changed, 14 insertions(+), 32 deletions(-) diff --git a/.forgejo/workflows/cron/auto-deploy-rs.yml b/.forgejo/workflows/cron/auto-deploy-rs.yml index ee6bf4c5..9415dea8 100644 --- a/.forgejo/workflows/cron/auto-deploy-rs.yml +++ b/.forgejo/workflows/cron/auto-deploy-rs.yml @@ -46,15 +46,14 @@ jobs: run: | set -x sudo tailscaled --cleanup - sudo tailscaled --state=mem: 2> ~/tailscaled.log & + sudo tailscaled --no-logs--no-support --state=mem: 2> ~/tailscaled.log & sudo tailscale up \ --login-server=https://headscale.sysctl.io \ --accept-routes \ --accept-dns \ --authkey ${{ secrets.TAILSCALE_KEY }} \ --hostname forgejo-runner \ - --advertise-tags "tag:forgejo,tag:container,tag:ephemeral" \ - --no-logs-no-support + --advertise-tags "tag:forgejo,tag:container,tag:ephemeral" sudo tailscale status sudo tailscale netcheck diff --git a/.forgejo/workflows/cron/update-flake-lock.yml b/.forgejo/workflows/cron/update-flake-lock.yml index 014cd04d..c364e5c4 100644 --- a/.forgejo/workflows/cron/update-flake-lock.yml +++ b/.forgejo/workflows/cron/update-flake-lock.yml @@ -41,25 +41,19 @@ jobs: - name: "Setup: Headscale Network" run: | - echo "tailscaled --cleanup" + set -x sudo tailscaled --cleanup - echo "" - echo "tailscaled --state=mem 2> ~/tailscaled.log &" - sudo tailscaled --state=mem: 2> ~/tailscaled.log & - echo "" - echo "tailscale up" + sudo tailscaled --no-logs--no-support --state=mem: 2> ~/tailscaled.log & sudo tailscale up \ --login-server=https://headscale.sysctl.io \ --accept-routes \ --accept-dns \ --authkey ${{ secrets.TAILSCALE_KEY }} \ --hostname forgejo-runner \ - --advertise-tags "tag:forgejo,tag:container,tag:ephemeral" \ - --no-logs-no-support + --advertise-tags "tag:forgejo,tag:container,tag:ephemeral" sudo tailscale status sudo tailscale netcheck - - name: "SSH and Update / Check" run: | ssh -q -A -o StrictHostKeyChecking=no albert@warsaw-ovh-01 \ diff --git a/.forgejo/workflows/cron/update-steamdeck.yml b/.forgejo/workflows/cron/update-steamdeck.yml index 1916da85..3d7568e0 100644 --- a/.forgejo/workflows/cron/update-steamdeck.yml +++ b/.forgejo/workflows/cron/update-steamdeck.yml @@ -42,21 +42,16 @@ jobs: - name: "Setup: Headscale Network" run: | - echo "tailscaled --cleanup" + set -x sudo tailscaled --cleanup - echo "" - echo "tailscaled --state=mem 2> ~/tailscaled.log &" - sudo tailscaled --state=mem: 2> ~/tailscaled.log & - echo "" - echo "tailscale up" + sudo tailscaled --no-logs--no-support --state=mem: 2> ~/tailscaled.log & sudo tailscale up \ --login-server=https://headscale.sysctl.io \ --accept-routes \ --accept-dns \ --authkey ${{ secrets.TAILSCALE_KEY }} \ --hostname forgejo-runner \ - --advertise-tags "tag:forgejo,tag:container,tag:ephemeral" \ - --no-logs-no-support + --advertise-tags "tag:forgejo,tag:container,tag:ephemeral" sudo tailscale status sudo tailscale netcheck diff --git a/.forgejo/workflows/dispatch/manual-deploy-rs.yml b/.forgejo/workflows/dispatch/manual-deploy-rs.yml index 1a939468..6e043e11 100644 --- a/.forgejo/workflows/dispatch/manual-deploy-rs.yml +++ b/.forgejo/workflows/dispatch/manual-deploy-rs.yml @@ -46,18 +46,16 @@ jobs: run: | set -x sudo tailscaled --cleanup - sudo tailscaled --state=mem: 2> ~/tailscaled.log & + sudo tailscaled --no-logs--no-support --state=mem: 2> ~/tailscaled.log & sudo tailscale up \ --login-server=https://headscale.sysctl.io \ --accept-routes \ --accept-dns \ --authkey ${{ secrets.TAILSCALE_KEY }} \ --hostname forgejo-runner \ - --advertise-tags "tag:forgejo,tag:container,tag:ephemeral" \ - --no-logs-no-support + --advertise-tags "tag:forgejo,tag:container,tag:ephemeral" sudo tailscale status sudo tailscale netcheck - echo "Result: $?" - name: "nixos-version (Pre)" run: | diff --git a/.forgejo/workflows/dispatch/update-flake-lock.yml b/.forgejo/workflows/dispatch/update-flake-lock.yml index 48f373c1..6ad0d82d 100644 --- a/.forgejo/workflows/dispatch/update-flake-lock.yml +++ b/.forgejo/workflows/dispatch/update-flake-lock.yml @@ -46,18 +46,16 @@ jobs: run: | set -x sudo tailscaled --cleanup - sudo tailscaled --state=mem: 2> ~/tailscaled.log & + sudo tailscaled --no-logs--no-support --state=mem: 2> ~/tailscaled.log & sudo tailscale up \ --login-server=https://headscale.sysctl.io \ --accept-routes \ --accept-dns \ --authkey ${{ secrets.TAILSCALE_KEY }} \ --hostname forgejo-runner \ - --advertise-tags "tag:forgejo,tag:container,tag:ephemeral" \ - --no-logs-no-support + --advertise-tags "tag:forgejo,tag:container,tag:ephemeral" sudo tailscale status sudo tailscale netcheck - echo "Result: $?" - name: "SSH and Update / Check" run: | diff --git a/.forgejo/workflows/dispatch/update-steamdeck.yml b/.forgejo/workflows/dispatch/update-steamdeck.yml index 0190fee8..0073d37e 100644 --- a/.forgejo/workflows/dispatch/update-steamdeck.yml +++ b/.forgejo/workflows/dispatch/update-steamdeck.yml @@ -46,18 +46,16 @@ jobs: run: | set -x sudo tailscaled --cleanup - sudo tailscaled --state=mem: 2> ~/tailscaled.log & + sudo tailscaled --no-logs--no-support --state=mem: 2> ~/tailscaled.log & sudo tailscale up \ --login-server=https://headscale.sysctl.io \ --accept-routes \ --accept-dns \ --authkey ${{ secrets.TAILSCALE_KEY }} \ --hostname forgejo-runner \ - --advertise-tags "tag:forgejo,tag:container,tag:ephemeral" \ - --no-logs-no-support + --advertise-tags "tag:forgejo,tag:container,tag:ephemeral" sudo tailscale status sudo tailscale netcheck - echo "Result: $?" - name: "nixos-version (Pre)" run: |