Commit graph

136 commits

Author SHA1 Message Date
Ev Kontsevoy 12e1f3bb83 Separated unit testing from integration testing
(for consistency and speedier failures under Jenkins)
2017-07-12 14:00:16 -07:00
Ev Kontsevoy 14cf48d707 Switching to 1.8.3
- Updated Dockerfile to use 1.8.3
- Updated Makefile to stop generating garbage
- Improved one test which failed under Docker
2017-06-01 14:08:31 -07:00
Sasha Klizhentas b72b734979 add grpc 2017-05-26 18:19:22 -07:00
Johannes Pfrang 0782c672b7 Overridable install directories in release.mk 2017-04-11 23:20:01 +02:00
Ev Kontsevoy dd9db5ec2e Minor cosmetic commit
- Added comments to explain the purpose of clientConfig.HostPort
- Fixed typo
- Fixed docker-based 'make release' to include Teleport version into the
  produced tarball
- More informative logging around host lookups
2017-03-29 17:12:50 -07:00
Ev Kontsevoy a9466ac420 Docs! Docs! 2017-03-23 21:44:25 -07:00
Ev Kontsevoy aafbd7d030 Re-merged multi-version docs from a separate repo 2017-03-23 21:00:33 -07:00
Ev Kontsevoy 2ebac85116 Docker changes 2017-03-08 23:44:01 -08:00
Ev Kontsevoy fe7572a824 Docker changes 2017-03-08 23:27:02 -08:00
Ev Kontsevoy 4561642e28 Docker changes... 2017-03-08 22:55:57 -08:00
Ev Kontsevoy 11a51b1904 Docker change... 2017-03-08 22:52:32 -08:00
Russell Jones ac1173bacd Fixes, refactoring, and tests for LocalKeyAgent.
* Updated LocalKeyAgent to load both certificate and private key into Teleport and system agent.
* Refactored LocalKeyAgent to consolidate key loading code.
* Added test coverage for LocalKeyAgent.
2017-02-09 18:27:10 -08:00
Sasha Klizhentas 267b91b47e New version and new build target 2017-01-19 15:20:13 -08:00
Ev Kontsevoy e24ccb1de2 Made the Makefile more compatible with OSX 2017-01-16 10:40:18 -08:00
Ev Kontsevoy 5e952e2cf2 Merge branch 'master' into ev/688 2017-01-16 00:59:28 -08:00
Pablo Terradillos 6c68804acd Added make task to create a teleport release using docker 2017-01-06 18:02:24 -03:00
Ev Kontsevoy c0ae51537c Automatic schema migration for DynamoDB backend
Also, some DynamoDB bug fixes. The migration algo:

- load all existing entries and keep them in RAM
- create <table_name>.bak backup table and copy all entries to it
- delete the original table_name
- re-create table_name with a new schema (with "FullPath" instead of "Key")
- copy all entries to it
2016-12-27 20:32:42 -08:00
Ev Kontsevoy e9575fe77d Updated the Dockerfile by adding zip to it.
Now you can use Docker-based build environment to create official builds
via:

```
$ make -C build.assets enter
$ make release
```
2016-12-20 14:04:23 -08:00
Ev Kontsevoy aa47d85203 Removed $WEBDIR from release Makefile 2016-12-18 22:21:20 -08:00
Jeremy Deininger 02ce356e90 instructions and dockerfile for building dynamodb static binaries 2016-12-14 15:51:55 -08:00
Ev Kontsevoy 263ec1ca1e Added "samples" directory with sample configurations
Also some minor changes around error reporting...
2016-10-09 16:33:18 -07:00
Ev Kontsevoy d6b93e24ca Merge pull request #551 from guanana/master
Files needed for automatic RPM and SRPM
2016-10-02 16:15:25 -07:00
guanana2 f46556579b Files needed for automatic RPM and SRPM creation after source tar generation 2016-10-01 21:36:17 +01:00
Mohit Agarwal 266fce2c65
remove the GO15VENDOREXPERIMENT environment variable
Go 1.7 removed support for the variable: https://golang.org/doc/go1.7
Since teleport requires 1.7 or higher, the variable is redundant.
2016-09-29 10:21:57 +05:30
Ev Kontsevoy f1007c2ec9 Docs tweaks 2016-09-25 00:47:43 -07:00
Ev Kontsevoy a6127227f3 Proper handling of attached/detached terminals
Also Teleport now will try to get the type of terminal you're already
on, looking at $TERM
2016-09-10 21:59:16 -07:00
Ev Kontsevoy 4cd9bbdd91 Removed excessive logging and bumped Golang to 1.7 2016-08-18 17:13:05 -07:00
Ev Kontsevoy 8987e074ca Updating release process to fit documentation 2016-06-20 13:20:26 -07:00
Ev Kontsevoy cddaf6e5c8 Some minor improvements
- `tctl auth ls` lists all CAs by default
- Documented `authorize_ip` better
2016-05-31 18:59:07 -07:00
Ev Kontsevoy 64393d8d27 Fixed tests 2016-05-20 20:09:13 -07:00
Ev Kontsevoy 49256d1c23 Merge remote-tracking branch 'origin/master' into ev/multi-role
Conflicts:
	lib/auth/tun.go
2016-05-17 10:53:36 -07:00
Ev Kontsevoy 7a1d799137 Fixed tests 2016-05-16 20:36:03 -07:00
Ev Kontsevoy 643cd5c154 Documentation edits
- Updated docs for "advertise_ip"
- Updated docs for "tokens" in teleport.yaml
- Updated "adding nodes" section in the admin guide and in the
  quickstart guide
- Crated `run-docs` make target for convenient live documentation
  editing.
2016-05-14 16:44:41 -07:00
Ev Kontsevoy 23b3565f3a Started work on self-reconnecting reverse tunnels 2016-05-11 13:17:13 -07:00
Ev Kontsevoy af67bfb9a8 Changed "page size max" for stream fetching from 512Kb to 10MB 2016-05-09 14:43:05 -07:00
Ev Kontsevoy bd941cc3be Disabled integration tests
Master is now pretty old. The upcoming merge with `ev/log` will
bring integration tests back
2016-05-03 17:53:07 -07:00
Ev Kontsevoy 069b2d2b4e Code review - brought back verbose logs 2016-04-19 10:51:43 -07:00
Ev Kontsevoy c3a3f55152 Removed logs from tests output. It's insane. 2016-04-19 02:10:46 -07:00
Ev Kontsevoy 9869c5cd01 Fixed integration tests 2016-04-19 02:08:07 -07:00
Ev Kontsevoy b9c302b0db Golang version bump 2016-04-18 11:40:31 -07:00
klizhentas 6b8e84f345 fix linkflags issue 2016-04-15 17:48:25 -07:00
Ev Kontsevoy e4023519d0 Fixed integration builds under Jenkins
... had to give TTY to Docker container which executed the test
2016-04-14 15:03:47 -07:00
klizhentas 20717a5d45 update Go version 2016-04-12 20:46:39 -07:00
klizhentas a341dc991d update default paths 2016-03-24 12:32:59 -07:00
Ev Kontsevoy 8958f24af7 Updated docs making (moved from "out" to "build") 2016-03-23 18:01:54 -07:00
klizhentas ab302215cf update releases according to comments 2016-03-22 18:22:48 -07:00
klizhentas 0d88af39ef introduce source release and binary release targets 2016-03-22 17:03:58 -07:00
klizhentas 8ed8df8a02 recover tests 2016-03-22 14:14:49 -07:00
klizhentas bca6ea618e fix build flags, recover versioning 2016-03-22 12:15:17 -07:00
Ev Kontsevoy 7dda940b45 Updated .gitignore 2016-03-19 10:41:54 -07:00
Ev Kontsevoy 6c9e14fceb Merge remote-tracking branch 'origin/master' into ev/docs
Conflicts:
	Makefile
	build.assets/Dockerfile
	build.assets/Makefile
2016-03-19 09:59:22 -07:00
Ev Kontsevoy a3f7a6dcd5 Integrated mkdocs into Teleport builds 2016-03-18 17:32:41 -07:00
klizhentas 57b52ec3db run jenkins tests as a non-root user 2016-03-16 23:35:58 -07:00
Ev Kontsevoy 3e27ff3636 Fixed dockerized builds on non-jenkins machines 2016-03-15 22:00:05 -07:00
Ev Kontsevoy 3de1d72921 Cleaned up Makefiles 2016-03-15 20:41:12 -07:00
klizhentas 7a2a9e334f add support for TELEPORT_DEBUG_TESTS environment variable turning on verbose testing 2016-03-14 14:07:45 -07:00
klizhentas 43a0ee366e do not make empty out 2016-03-13 19:25:02 -07:00
klizhentas 4c7aef36d1 one more attempt 2016-03-13 19:15:22 -07:00
klizhentas fa917c97ba pass out variable 2016-03-13 18:53:50 -07:00
klizhentas 2293dd1825 try again 2016-03-13 18:44:30 -07:00
klizhentas c0bb302889 try to fix build 2016-03-13 18:39:52 -07:00
klizhentas a5672e20ec Merge branch 'master' into alexander/ha
Conflicts:
	build.assets/Makefile
	tool/teleport/configuration.go
2016-03-13 18:24:11 -07:00
klizhentas c1e0604dd0 Introduce auth server and proxy heartbeats
This commit introduces heartbeats of AuthServers and Proxies and fixes several issues:

1. Server init problem

There was an issue in server init, when certificates of multiple roles were overwriting each otther.
Now Teleport stores each keypair and certificate in a separate file <hostid>.role.key and <hostid>.role.cert
This also means that it's backwards incompatible with previous on disk format.

2. Proxy and Auth heartbeats

Auth servers and proxies now heartbeat into cluster as well

3. Bugfixes:

* Proxy role was missing, it is now treated as a separate role with permissions
* AdvertiseIP is now a global setting that can be used by all roles
* --advertise-ip flag was ignored and was never applied
* teleport service initialization has been simplified, now each role get it's own client
* minor cleanups
2016-03-13 18:15:09 -07:00
dmitri c4558c155a Remove unrelated targets 2016-03-13 01:40:18 +01:00
dmitri 521e9ada1e Changed a relative quoted directory value to absolute path 2016-03-12 14:49:45 +01:00
a-palchikov 2a24c329d7 Merge pull request #229 from gravitational/dmitri/deploy-to-s3
+ build artifacts on Amazon s3
2016-03-12 02:45:21 +01:00
dmitri f0b536308c Drop the region option for build artifacts upload 2016-03-12 02:44:09 +01:00
klizhentas c313f1e252 test for races by default 2016-03-10 18:09:17 -08:00
klizhentas 2771b342a3 recover tests 2016-03-10 17:59:25 -08:00
klizhentas 3f73e137f0 add jenkins home dir 2016-03-10 17:58:23 -08:00
klizhentas 74bd0b1feb launch tests as a build step 2016-03-10 17:54:48 -08:00
klizhentas c6e1a5aced add jenkins user and group 2016-03-10 17:37:23 -08:00
klizhentas f20f495701 fix 2016-03-10 17:33:58 -08:00
klizhentas 70388b5581 start fixing dockerfile 2016-03-10 17:27:54 -08:00
dmitri a3536282da + build artifacts on Amazon s3 2016-03-11 01:58:02 +01:00
Ev Kontsevoy 8ba6b474c6 Fixes #122 and fixes the dockerized build 2016-02-13 17:09:05 -08:00
Ev Kontsevoy 28531bac71 Fixed Docker container for CI/CD builds 2016-02-06 12:40:08 -08:00
Ev Kontsevoy 91288d01e5 Added Logrus initialization 2016-02-02 12:14:59 -08:00
klizhentas e6be8cf5e5 fix build 2016-01-20 16:30:20 -08:00
Ev Kontsevoy 5dfe0b3001 Added 'clean' before 'production' build 2016-01-20 15:46:47 -08:00
Ev Kontsevoy 5ce115e703 Moved production build of Teleport to Go 1.5.3 2016-01-20 15:37:14 -08:00
Ev Kontsevoy 3225b3fe05 Added comment to Makefile 2016-01-19 12:16:33 -08:00
Ev Kontsevoy 72442308ae Fixed jenkins build 2016-01-17 14:56:49 -08:00
Ev Kontsevoy 5a59704e13 Ansible delpoyment script for teleport 2016-01-17 14:50:00 -08:00
Ev Kontsevoy 5903d4a61f Updated builds 2016-01-17 10:29:27 -08:00
Ev Kontsevoy 23095e0ad9 Jenkins build target 2015-12-23 10:41:51 -08:00