Update workflows

This commit is contained in:
albert 2025-01-08 21:01:57 +01:00
parent 9d818106d6
commit e48d85761d
Signed by: albert
GPG key ID: 3895DD267CA11BA9
6 changed files with 14 additions and 32 deletions

View file

@ -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

View file

@ -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 \

View file

@ -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

View file

@ -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: |

View file

@ -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: |

View file

@ -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: |