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

[NOREF] Remove TailScale references #2905

Merged
merged 1 commit into from
Nov 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 0 additions & 7 deletions .envrc
Original file line number Diff line number Diff line change
Expand Up @@ -98,13 +98,6 @@ export PGPASSWORD=mysecretpassword
export PGSSLMODE=disable
export DB_MAX_CONNECTIONS=20

# For exposing a locally running app to other machines via Tailscale
export TAILSCALE_HOSTNAME=$(hostname | awk '{gsub(/\.local$/,""); print tolower($0)}').truss.works.beta.tailscale.net
export TAILSCALE_CLIENT_ADDRESS="http://${TAILSCALE_HOSTNAME}:3000"
export TAILSCALE_VITE_API_ADDRESS="http://${TAILSCALE_HOSTNAME}:8080/api/v1"
export TAILSCALE_REACT_GRAPHQL_ADDRESS="http://${TAILSCALE_HOSTNAME}:8080/api/graph/query"
export TAILSCALE_MINIO_ADDRESS="http://${TAILSCALE_HOSTNAME}:9004"

export USE_TLS=false

# Add local paths for binaries and scripts
Expand Down
2 changes: 0 additions & 2 deletions .spelling
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,6 @@ ADR
AWS
SES
auth
tailscale
startup
pkg
11.4.
Expand All @@ -148,7 +147,6 @@ eua
uncomment
cypress_ci.yml
cypress_local.yml
tailscale.yml
ci_server_test.yml
subfolder
subfolders
Expand Down
14 changes: 0 additions & 14 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -118,20 +118,6 @@ export OKTA_TEST_SECRET=

These values can be found in 1Password under "CMS IDM Test Account".



### Accessing the application over Tailscale

[Tailscale](https://tailscale.com) is a tool that provides secure networks
between devices and can be used to access locally running programs from other
machines without exposing ports on the open internet. It's a convenient
alternative to a traditional VPN.

`scripts/dev tailscale` will configure and start the app so it can be accessed
over a Tailscale network. This is currently used by developers to perform
accessibility audits of locally running applications through JAWS on cloud
Windows instances.

### Routes Debugging

Setting the `DEBUG_ROUTES` environment variable, and upon startup, this will log
Expand Down
10 changes: 0 additions & 10 deletions docker-compose.tailscale.yml

This file was deleted.

1 change: 0 additions & 1 deletion docs/dev_script_usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ scripts/dev minio:pending # Mark all files in minio as pending (waiting
scripts/dev prereqs # Check to see if the app's prerequisites are installed
scripts/dev reset # Resets application to an empty state
scripts/dev restart # Restart the specified container
scripts/dev tailscale # Run app and expose to other machines over Tailscale
scripts/dev test # Run all tests in parallel
scripts/dev test:go # Runs Go tests
scripts/dev test:go:long # Runs Go tests, including long ones
Expand Down
1 change: 0 additions & 1 deletion docs/docker_compose.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ docker-compose files exist to support different use cases and environments.
| [docker-compose.override.yml](/docker-compose.override.yml) | Additional configuration for running the above services locally. Also adds configuration for `minio` service |
| [docker-compose.cypress_ci.yml](/docker-compose.cypress_ci.yml) | Additional configuration for running end-to-end Cypress tests in Github Actions |
| [docker-compose.cypress_local.yml](/docker-compose.cypress_local.yml) | Additional configuration for running end-to-end Cypress tests locally |
| [docker-compose.tailscale.yml](/docker-compose.tailscale.yml) | Additional configuration for using Tailscale to expose a locally-running application to other computers
| [docker-compose.ci_server_test.yml](/docker-compose.ci_server_test.yml) | Additional configuration for running server-side tests in GitHub Actions

## Use case: Run database and database migrations locally
Expand Down
11 changes: 0 additions & 11 deletions scripts/dev
Original file line number Diff line number Diff line change
Expand Up @@ -212,17 +212,6 @@ task restart: :consume_args do |t, args|
Rake::Task["up"].invoke
end

desc "Run app and expose to other machines over Tailscale"
task :tailscale do

puts "Running app on #{ENV["TAILSCALE_CLIENT_ADDRESS"]}"
environment = {
"COMPOSE_HTTP_TIMEOUT" => "120"
}
command = "docker compose --profile frontend -f docker-compose.yml -f docker-compose.override.yml -f docker-compose.tailscale.yml up"
sh(environment, command, verbose: true)
end

namespace :docker do
desc "Delete all dangling volumes"
task :sweep do
Expand Down