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: | run: |
set -x set -x
sudo tailscaled --cleanup sudo tailscaled --cleanup
sudo tailscaled --state=mem: 2> ~/tailscaled.log & sudo tailscaled --no-logs--no-support --state=mem: 2> ~/tailscaled.log &
sudo tailscale up \ sudo tailscale up \
--login-server=https://headscale.sysctl.io \ --login-server=https://headscale.sysctl.io \
--accept-routes \ --accept-routes \
--accept-dns \ --accept-dns \
--authkey ${{ secrets.TAILSCALE_KEY }} \ --authkey ${{ secrets.TAILSCALE_KEY }} \
--hostname forgejo-runner \ --hostname forgejo-runner \
--advertise-tags "tag:forgejo,tag:container,tag:ephemeral" \ --advertise-tags "tag:forgejo,tag:container,tag:ephemeral"
--no-logs-no-support
sudo tailscale status sudo tailscale status
sudo tailscale netcheck sudo tailscale netcheck

View file

@ -41,25 +41,19 @@ jobs:
- name: "Setup: Headscale Network" - name: "Setup: Headscale Network"
run: | run: |
echo "tailscaled --cleanup" set -x
sudo tailscaled --cleanup sudo tailscaled --cleanup
echo "" sudo tailscaled --no-logs--no-support --state=mem: 2> ~/tailscaled.log &
echo "tailscaled --state=mem 2> ~/tailscaled.log &"
sudo tailscaled --state=mem: 2> ~/tailscaled.log &
echo ""
echo "tailscale up"
sudo tailscale up \ sudo tailscale up \
--login-server=https://headscale.sysctl.io \ --login-server=https://headscale.sysctl.io \
--accept-routes \ --accept-routes \
--accept-dns \ --accept-dns \
--authkey ${{ secrets.TAILSCALE_KEY }} \ --authkey ${{ secrets.TAILSCALE_KEY }} \
--hostname forgejo-runner \ --hostname forgejo-runner \
--advertise-tags "tag:forgejo,tag:container,tag:ephemeral" \ --advertise-tags "tag:forgejo,tag:container,tag:ephemeral"
--no-logs-no-support
sudo tailscale status sudo tailscale status
sudo tailscale netcheck sudo tailscale netcheck
- name: "SSH and Update / Check" - name: "SSH and Update / Check"
run: | run: |
ssh -q -A -o StrictHostKeyChecking=no albert@warsaw-ovh-01 \ ssh -q -A -o StrictHostKeyChecking=no albert@warsaw-ovh-01 \

View file

@ -42,21 +42,16 @@ jobs:
- name: "Setup: Headscale Network" - name: "Setup: Headscale Network"
run: | run: |
echo "tailscaled --cleanup" set -x
sudo tailscaled --cleanup sudo tailscaled --cleanup
echo "" sudo tailscaled --no-logs--no-support --state=mem: 2> ~/tailscaled.log &
echo "tailscaled --state=mem 2> ~/tailscaled.log &"
sudo tailscaled --state=mem: 2> ~/tailscaled.log &
echo ""
echo "tailscale up"
sudo tailscale up \ sudo tailscale up \
--login-server=https://headscale.sysctl.io \ --login-server=https://headscale.sysctl.io \
--accept-routes \ --accept-routes \
--accept-dns \ --accept-dns \
--authkey ${{ secrets.TAILSCALE_KEY }} \ --authkey ${{ secrets.TAILSCALE_KEY }} \
--hostname forgejo-runner \ --hostname forgejo-runner \
--advertise-tags "tag:forgejo,tag:container,tag:ephemeral" \ --advertise-tags "tag:forgejo,tag:container,tag:ephemeral"
--no-logs-no-support
sudo tailscale status sudo tailscale status
sudo tailscale netcheck sudo tailscale netcheck

View file

@ -46,18 +46,16 @@ jobs:
run: | run: |
set -x set -x
sudo tailscaled --cleanup sudo tailscaled --cleanup
sudo tailscaled --state=mem: 2> ~/tailscaled.log & sudo tailscaled --no-logs--no-support --state=mem: 2> ~/tailscaled.log &
sudo tailscale up \ sudo tailscale up \
--login-server=https://headscale.sysctl.io \ --login-server=https://headscale.sysctl.io \
--accept-routes \ --accept-routes \
--accept-dns \ --accept-dns \
--authkey ${{ secrets.TAILSCALE_KEY }} \ --authkey ${{ secrets.TAILSCALE_KEY }} \
--hostname forgejo-runner \ --hostname forgejo-runner \
--advertise-tags "tag:forgejo,tag:container,tag:ephemeral" \ --advertise-tags "tag:forgejo,tag:container,tag:ephemeral"
--no-logs-no-support
sudo tailscale status sudo tailscale status
sudo tailscale netcheck sudo tailscale netcheck
echo "Result: $?"
- name: "nixos-version (Pre)" - name: "nixos-version (Pre)"
run: | run: |

View file

@ -46,18 +46,16 @@ jobs:
run: | run: |
set -x set -x
sudo tailscaled --cleanup sudo tailscaled --cleanup
sudo tailscaled --state=mem: 2> ~/tailscaled.log & sudo tailscaled --no-logs--no-support --state=mem: 2> ~/tailscaled.log &
sudo tailscale up \ sudo tailscale up \
--login-server=https://headscale.sysctl.io \ --login-server=https://headscale.sysctl.io \
--accept-routes \ --accept-routes \
--accept-dns \ --accept-dns \
--authkey ${{ secrets.TAILSCALE_KEY }} \ --authkey ${{ secrets.TAILSCALE_KEY }} \
--hostname forgejo-runner \ --hostname forgejo-runner \
--advertise-tags "tag:forgejo,tag:container,tag:ephemeral" \ --advertise-tags "tag:forgejo,tag:container,tag:ephemeral"
--no-logs-no-support
sudo tailscale status sudo tailscale status
sudo tailscale netcheck sudo tailscale netcheck
echo "Result: $?"
- name: "SSH and Update / Check" - name: "SSH and Update / Check"
run: | run: |

View file

@ -46,18 +46,16 @@ jobs:
run: | run: |
set -x set -x
sudo tailscaled --cleanup sudo tailscaled --cleanup
sudo tailscaled --state=mem: 2> ~/tailscaled.log & sudo tailscaled --no-logs--no-support --state=mem: 2> ~/tailscaled.log &
sudo tailscale up \ sudo tailscale up \
--login-server=https://headscale.sysctl.io \ --login-server=https://headscale.sysctl.io \
--accept-routes \ --accept-routes \
--accept-dns \ --accept-dns \
--authkey ${{ secrets.TAILSCALE_KEY }} \ --authkey ${{ secrets.TAILSCALE_KEY }} \
--hostname forgejo-runner \ --hostname forgejo-runner \
--advertise-tags "tag:forgejo,tag:container,tag:ephemeral" \ --advertise-tags "tag:forgejo,tag:container,tag:ephemeral"
--no-logs-no-support
sudo tailscale status sudo tailscale status
sudo tailscale netcheck sudo tailscale netcheck
echo "Result: $?"
- name: "nixos-version (Pre)" - name: "nixos-version (Pre)"
run: | run: |