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: |
|
||||
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
|
||||
|
||||
|
|
|
@ -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 \
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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: |
|
||||
|
|
|
@ -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: |
|
||||
|
|
|
@ -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: |
|
||||
|
|
Loading…
Reference in a new issue