Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tailscale windows support #93

Closed
aubreyyan opened this issue Oct 25, 2023 · 3 comments
Closed

Tailscale windows support #93

aubreyyan opened this issue Oct 25, 2023 · 3 comments

Comments

@aubreyyan
Copy link

aubreyyan commented Oct 25, 2023

I'm getting the following error when I add tailscale to my github actions:

Run echo "::error title=⛔ error hint::Support Linux Only"
  echo "::error title=⛔ error hint::Support Linux Only"
  exit 1
  shell: C:\Program Files\Git\bin\bash.EXE --noprofile --norc -e -o pipefail {0}

The github workflow looks like this:

name: test

on:
  push:
    branches: [ "main" ]
  pull_request:
    branches: [ "main" ]

jobs:

  run-tests:
    runs-on: ${{ matrix.os }}
    strategy:
      matrix:
        os: [ windows-latest ]
        python-version: [ '3.8' ]

    steps:
      - name: Tailscale
        uses: tailscale/github-action@v2
        with:
          oauth-client-id: ${{ secrets.TS_OAUTH_CLIENT_ID }}
          oauth-secret: ${{ secrets.TS_OAUTH_SECRET }}
          tags: tag:ci
      - uses: actions/checkout@v3

Is my use case not supported?

@DentonGentry
Copy link
Contributor

DentonGentry commented Oct 25, 2023

This GitHub Action currently only supports Linux runners. The error message is "⛔ error hint::Support Linux Only"


If using private Windows CI runners, Tailscale could be installed on the underlying machine instead of being part of the Action.

We cannot easily add support for Windows runners supplied by GitHub because installation requires Administrator rights. We'd have to run the Windows Tailscale in userspace-networking mode, which means it would require all of the other binaries in the Action to support SOCKS5 or HTTP Proxies. https://tailscale.com/kb/1112/userspace-networking/

@bradfitz
Copy link
Member

Dup of #61?

@DentonGentry
Copy link
Contributor

Duplicate of #61

@DentonGentry DentonGentry marked this as a duplicate of #61 Oct 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants