Update workflows
This commit is contained in:
parent
9d818106d6
commit
e48d85761d
6 changed files with 14 additions and 32 deletions
|
@ -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
|
||||||
|
|
||||||
|
|
|
@ -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 \
|
||||||
|
|
|
@ -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
|
||||||
|
|
||||||
|
|
|
@ -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: |
|
||||||
|
|
|
@ -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: |
|
||||||
|
|
|
@ -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: |
|
||||||
|
|
Loading…
Reference in a new issue