-
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
32 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
name: tailscale-rdesktop-code | ||
on: | ||
workflow_dispatch: | ||
|
||
jobs: | ||
rdesktop-test: | ||
runs-on: ubuntu-24.04 | ||
|
||
steps: | ||
- name: Run system container with `podman` | ||
run: | | ||
podman run -d --name rdesktop ghcr.io/gbraad-devenv/fedora/code:41 | ||
- name: Tailscale setup (root) | ||
run: | | ||
until podman exec rdesktop tailscale up --auth-key ${TAILSCALE_AUTHKEY} --hostname github-${HOSTNAME} | ||
do | ||
sleep 0.1 | ||
done | ||
podman exec rdesktop tailscale set --ssh | ||
env: | ||
TAILSCALE_AUTHKEY: ${{ secrets.TAILSCALE_AUTHKEY}} | ||
- name: Hang around | ||
run: | | ||
until podman exec rdesktop systemctl is-active kasmvncserver | ||
do | ||
sleep 1 | ||
done | ||
IP=`podman exec rdesktop tailscale ip -4` | ||
echo "Open in your web browser: https://${IP}:8444" | ||
sleep infinity |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters