mirror of
https://github.com/getsentry/self-hosted.git
synced 2026-01-25 15:22:43 +00:00
* Add workstation configuration These are prebuilt docker images for spinning up a local self-hosted image on the Google Cloud Workstation project. While primarily intended for internal development at Sentry, in theory these can be used by anyone with GCWS project to create a fresh workstation for developing self-hosted via a remote VSCode connection. Users who have GCWS properly configured will be able to use the forthcoming `workstations ...` command in the `sentry` dev CLI to create, manage, and destroy one-off or long-lived workstations in either the pre-install or post-install configuration. Note that the `sentry workstations ...` CLI has not yet landed in the `sentry` repo - those changes are coming soon! Issue: getsentry/team-ospo#240 * Fix shfmt complaints
10 lines
427 B
Bash
10 lines
427 B
Bash
#!/bin/bash
|
|
#
|
|
|
|
# Add a dot file to the home directory indicating that the setup has been completed successfully.
|
|
# The host-side of the connection will look for this file when polling for completion to indicate to
|
|
# the user that the workstation is ready for use.
|
|
#
|
|
# Works under the assumption that this is the last setup script to run!
|
|
echo "ready_at: $(date -u +"%Y-%m-%dT%H:%M:%SZ")" >/home/user/.sentry.workstation.remote
|