pomerium/integration
Caleb Doxsey 5d60cff21e
databroker: refactor databroker to sync all changes (#1879)
* refactor backend, implement encrypted store

* refactor in-memory store

* wip

* wip

* wip

* add syncer test

* fix redis expiry

* fix linting issues

* fix test by skipping non-config records

* fix backoff import

* fix init issues

* fix query

* wait for initial sync before starting directory sync

* add type to SyncLatest

* add more log messages, fix deadlock in in-memory store, always return server version from SyncLatest

* update sync types and tests

* add redis tests

* skip macos in github actions

* add comments to proto

* split getBackend into separate methods

* handle errors in initVersion

* return different error for not found vs other errors in get

* use exponential backoff for redis transaction retry

* rename raw to result

* use context instead of close channel

* store type urls as constants in databroker

* use timestampb instead of ptypes

* fix group merging not waiting

* change locked names

* update GetAll to return latest record version

* add method to grpcutil to get the type url for a protobuf type
2021-02-18 15:24:33 -07:00
..
backends databroker: refactor databroker to sync all changes (#1879) 2021-02-18 15:24:33 -07:00
internal dev: update linter (#1728) 2020-12-30 09:02:57 -08:00
manifests databroker: rename cache service (#1790) 2021-01-21 08:41:22 -07:00
authorization_test.go feature/databroker: user data and session refactor project (#926) 2020-06-19 07:52:44 -06:00
control_plane_test.go authorize: remove admin (#1833) 2021-02-01 15:22:02 -07:00
forward_auth_test.go integration: add forward auth test 2020-08-21 14:01:54 +07:00
main_test.go deployment: add goimports with path awareness (#1316) 2020-08-24 13:04:55 -07:00
policy_test.go Revert "reduce memory usage by handling http/2 coalescing via a lua script (#1779)" (#1785) 2021-01-19 13:55:30 -07:00
README.md integration: add cluster setup and configuration and a few tests 2020-04-28 07:33:33 -06:00

Integration Tests

These tests are full end-to-end integration tests using Pomerium in a kubernetes cluster.

Usage

The following applications are needed:

  • kubectl: to apply the manifests to kubernetes
  • mkcert: to generate a root CA and wildcard certificates

The test suite will apply the manifests to your current Kubernetes context before running the tests.