Commit graph

8 commits

Author SHA1 Message Date
Logan Davis 830794a9cf
Replace quay.io with amazon ECR where appropriate (#15382) 2022-08-19 10:24:15 -05:00
Paul Gottschling 9605128f67
Fix docker-compose Getting Started guide issues (#9709)
* Fix docker-compose Getting Started guide issues

This addresses several issues with the Docker Compose Getting
Started Guide.

- Intermittent SSH failures and password prompts from the term
  container

  In the bootstrap container, the "generate-certs.sh" script is
  used to generate certificates for other containers in the
  environment. This uses two "tctl auth export" commands. If
  the Teleport container is not available, i.e., it hasn't
  finished booting, generate-cert.sh is supposed to execute a
  "return" statement from either of the two "tctl auth export"
  commands with a nonzero code, causing the script to try
  again after one second.

  However, since the output of each "tctl auth export" command
  is piped into a "sed" command, the "generate_certs()"
  function continues without retrying if the Teleport
  container is not yet available. This means that the
  term container does not have access to the certificate it
  needs to connect to the OpenSSH server, public key
  authentication fails, and SSH issues a password challenge.

  This change adds the "set -o pipefail" option to the
  "generate-certs.sh" script so that the "tctl auth export"
  commands return a nonzero exit code if they fail and
  the retry logic works as intended.

- Add session recording to the "Next steps" section

  This demo isn't set up for session recording, so we remove
  the mention from the main body of the guide to avoid
  misleading users that this is supposed to be set up here.
  Instead, this mentions it as a next step.

- Update instructions for accessing the Web UI.

  This mentions the currently valid Chrome flag to use and
  indicates that you can visit the invite page in your browser
  via localhost.

Fixes #9687
Fixes #7872

* Respond to PR feedback
2022-02-02 16:36:53 +00:00
Steven Martin c8670cdbfb
correct tsh proxy alias (#7902)
removes port number so it can try 3080 and 443
2021-08-16 07:46:53 -07:00
Gus Luxton 4751f82956
docker: Automatically build teleport-lab image nightly based on latest Teleport version (#7692) 2021-07-26 09:45:59 -07:00
Alexander Klizhentas 2afd171880
set cluster name in lab (#7579)
Co-authored-by: Gus Luxton <gus@goteleport.com>
2021-07-19 07:48:03 -07:00
Alexander Klizhentas cab8cf8070
Adds Teleport lab. (#7480)
Teleport lab is a demo environment in docker-compose.
All components are setup, so users can jump straight into
exploration of Teleport's features.
2021-07-15 11:56:23 -07:00
Andrew Lytvynov 8d7a217089 Run shellcheck during "make lint"
Shellcheck is a linter for shell scripts. Since we have quite a few of
those for release packaging and examples, we'll benefit from an extra
set of (robot) eyes.

Note: I disabled https://github.com/koalaman/shellcheck/wiki/Sc2086 to
make this PR smaller. That specific check is for the most frequent
mistake in our scripts - not quoting env var expansions. I'll do a
separate PR cleaning those up.

`build.assets/pkg` is no longer used and was removed.
2020-09-29 20:40:16 +00:00
Sasha Klizhentas 7e54109ad2 Update test plan and add sshd flow 2018-03-02 15:48:27 -08:00