From f8eefedbe8edaeead31ab3f482a53b1e49cb4927 Mon Sep 17 00:00:00 2001 From: Ari Kalfus Date: Fri, 19 Jan 2024 18:10:53 -0500 Subject: [PATCH] docs: update readme after oauth vars change in tests (#418) * docs: update readme after oauth vars change in tests * update license * update task name --- .github/workflows/molecule.yml | 2 +- LICENSE | 2 +- README.md | 7 ++++--- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/molecule.yml b/.github/workflows/molecule.yml index 8c3f51d8..99ce7fed 100644 --- a/.github/workflows/molecule.yml +++ b/.github/workflows/molecule.yml @@ -51,7 +51,7 @@ jobs: - name: Install packages run: poetry install --no-interaction - - name: Default scenario + - name: Run scenario run: poetry run molecule test --scenario-name "${{ inputs.scenario }}" env: MOLECULE_DISTRO: "${{ inputs.image }}" diff --git a/LICENSE b/LICENSE index a2387155..75ae6ea7 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ MIT License -Copyright (c) 2021-2023 Ari Kalfus +Copyright (c) 2021-2024 Ari Kalfus Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/README.md b/README.md index f84f4c46..0eefad2c 100644 --- a/README.md +++ b/README.md @@ -362,12 +362,13 @@ and are automatically cleaned up within 30 minutes-48 hours. This value is stored in a [GitHub Action secret][] with the name `TAILSCALE_CI_KEY`. To test OAuth authkey compatibility, a Tailscale OAuth client secret is stored as `TAILSCALE_OAUTH_CLIENT_SECRET`. -To test this role locally, store the Tailscale ephemeral auth key in a `TAILSCALE_CI_KEY` env var -and, if running the `oauth` Molecule scenario, -add an OAuth client secret in a `TAILSCALE_OAUTH_CLIENT_SECRET` env var. If you are a Collaborator on this repository, you can open a GitHub CodeSpace and these secrets will be pre-populated for you into the environment. +To test this role locally, store the Tailscale ephemeral auth key in a `TAILSCALE_CI_KEY` env var +and, if running the `oauth` Molecule scenario, +add an OAuth client secret in a `TAILSCALE_CI_KEY` env var. + Alternatively for Molecule testing, you can use a [Headscale][] container that is spun up as part of the create/prepare steps. To do this, set a `USE_HEADSCALE` env variable.