Commit graph

77 commits

Author SHA1 Message Date
dependabot[bot] 04f876af7b
build(deps): bump docker from 4.3.1 to 4.4.0 (#344)
* build(deps): bump docker from 4.3.1 to 4.4.0

Bumps [docker](https://github.com/docker/docker-py) from 4.3.1 to 4.4.0.
- [Release notes](https://github.com/docker/docker-py/releases)
- [Commits](https://github.com/docker/docker-py/compare/4.3.1...4.4.0)

Signed-off-by: dependabot[bot] <support@github.com>

* outposts: fix both network_mode and ports being set during tests

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Jens L <jens@beryju.org>
Co-authored-by: Jens Langhammer <jens.langhammer@beryju.org>
2020-11-26 11:25:06 +01:00
Jens Langhammer e0dbeca657 static: add TokenCopyButton for token lists, improve colours on buttons 2020-11-22 22:06:00 +01:00
Jens Langhammer 1b6bd5b997 outposts: update modal to pb-modal-button 2020-11-22 21:43:36 +01:00
Jens Langhammer 9c3bc4eb38 tests: move integration tests into separate folder, add separate pipeline task 2020-11-19 14:35:43 +01:00
Jens Langhammer 0a8d4eecae outposts: add docker TLS authentication and verification 2020-11-19 13:10:18 +01:00
Jens Langhammer 8cc063ded2 lib: add @patch decorator to config for unittests 2020-11-16 12:48:53 +01:00
Jens Langhammer d21f187673 outposts: make docker image prefix configurable 2020-11-16 00:36:42 +01:00
Jens L 7be680cbe5
Migrate to Docusaurus (#329)
* docs: initial migration to docusaurus

* website: add custom font, update blurbs and icons

* website: update splash

* root: update links to docs

* flows: use .pbflow extension so docusaurus doesn't mangle the files

* e2e: workaround prospector

* Squashed commit of the following:

commit 1248585dca
Author: Jens Langhammer <jens.langhammer@beryju.org>
Date:   Sun Nov 15 20:46:53 2020 +0100

    e2e: attempt to fix prospector error again

commit 1319c480c4
Author: Jens Langhammer <jens.langhammer@beryju.org>
Date:   Sun Nov 15 20:41:35 2020 +0100

    ci: install previous python version for upgrade testing

* web: update accent colours and format

* website: format markdown files

* website: fix colours for text

* website: switch to temporary accent colour to improve readability

* flows: fix path for TestTransferDocs

* flows: fix formatting of tests
2020-11-15 22:42:02 +01:00
Jens Langhammer c5eff4bdd6 outposts: fix selection of outpost's service connection not showing name 2020-11-11 14:34:43 +01:00
Jens Langhammer 875173a86e outposts: fix migration error 2020-11-11 14:10:15 +01:00
Jens Langhammer e99f6e289b outposts: fix kubernetes ApiClient not being used 2020-11-09 10:45:08 +01:00
Jens Langhammer 5cb7f0794e outposts: periodically update state of service connection, show state in UI 2020-11-08 21:31:27 +01:00
Jens Langhammer 7e8e3893eb outposts: save state of outposts 2020-11-08 21:02:52 +01:00
Jens Langhammer fb5e210af8 outposts: add handler for e2e tests when schema is updated already 2020-11-04 15:36:31 +01:00
Jens Langhammer e5e2615f15 outposts: fix unittests 2020-11-04 14:56:35 +01:00
Jens Langhammer c04d0a373a admin: add views for outpost service-connections 2020-11-04 13:35:41 +01:00
Jens Langhammer bd74e518a7 outposts: add *ServiceConnection API 2020-11-04 11:05:40 +01:00
Jens Langhammer 3b76af4eaa outposts: fix defaults and tests for outposts 2020-11-04 10:57:06 +01:00
Jens Langhammer 706448dc14 outposts: initial service connection implementation 2020-11-04 10:41:18 +01:00
Jens Langhammer 4d84f6d598 outposts: ensure permissions are updated when a related object is saved 2020-10-29 17:25:29 +01:00
Jens Langhammer 7b5a0964b2 outposts: handle docker connection error on init 2020-10-22 12:50:06 +02:00
Jens Langhammer db4ff20906 outposts: fix service using incorrect pod selector 2020-10-20 10:18:05 +02:00
Jens Langhammer 2ed9a1dbe3 */tasks: update phrasing 2020-10-19 21:35:31 +02:00
Jens Langhammer 754dbdd0e5 outpost: fix logs for kubernetes controller 2020-10-19 21:29:58 +02:00
Jens Langhammer 169f3ebe5b outposts: fix logger again 2020-10-19 18:52:17 +02:00
Jens Langhammer f8ad604e85 outposts: add more tests 2020-10-19 17:47:51 +02:00
Jens Langhammer 774b9c8a61 outposts: update kubernetes controller to use pk as identifier instead of name 2020-10-19 17:39:12 +02:00
Jens Langhammer d8c522233e outposts: fix outpost mangling log output 2020-10-19 16:54:11 +02:00
Jens Langhammer 1c426c5136 outposts: trigger deployment re-create when selector changes 2020-10-19 16:21:39 +02:00
Jens Langhammer 7203bd37a3 outposts: replace migration with string backup handler 2020-10-19 16:04:38 +02:00
Jens Langhammer 05866d3544 providers/proxy: fix creation of ingress 2020-10-19 15:06:50 +02:00
Jens Langhammer 0203d20759 providers/proxy: add traefik labels to outposts deployed with docker integration 2020-10-18 17:46:20 +02:00
Jens Langhammer ad29d54bbf outposts: simplify k8s controller add more extensibility 2020-10-18 17:09:02 +02:00
Jens Langhammer ee670d5e19 core: add key field to token for easier rotation 2020-10-18 14:34:22 +02:00
Jens Langhammer ee5bac099f outposts: fix migration not having access to token property 2020-10-17 17:06:08 +02:00
Jens Langhammer 69f7b41044 e2e: use dockercontroller to test proxy 2020-10-17 17:03:10 +02:00
Jens Langhammer e909e7fa8a outposts: kill container on down 2020-10-17 16:33:38 +02:00
Jens Langhammer bee38551f3 outposts: fix tokens without identifier not loading in the UI 2020-10-17 16:33:23 +02:00
Jens Langhammer c0ec6388df outposts: give container time to boot when newly created 2020-10-16 23:38:46 +02:00
Jens Langhammer 8f08836885 outposts: ensure log is also written to stdout 2020-10-16 23:36:59 +02:00
Jens Langhammer 971713d1aa outposts: call controller.down on outpost pre_delete 2020-10-16 22:27:00 +02:00
Jens Langhammer 5135d828b4 outposts: rename run to up, add down method for deleting 2020-10-16 22:22:15 +02:00
Jens Langhammer 6b1d30d230 outposts: improve logging from k8s controller 2020-10-16 21:31:55 +02:00
Jens Langhammer 3454760731 *: ensure TaskResult uid is slugified to prevent URL errors 2020-10-16 21:31:12 +02:00
Jens Langhammer 96846220c3 outposts: trigger reconcile on save 2020-10-16 21:08:35 +02:00
Jens Langhammer 2339e855bb *: Improve MonitoredTasks' error capture 2020-10-16 16:00:24 +02:00
Jens Langhammer bdc019c7cf outposts: skip post_save during migrations and unittests 2020-10-16 15:58:28 +02:00
Jens Langhammer 7806cff96f lib: save task's call arguments for manual retry 2020-10-16 13:35:40 +02:00
Jens Langhammer fa504e4bf9 outposts: pass outpost reference instead of PK, implement TaskResult.uid 2020-10-16 12:54:52 +02:00
Jens Langhammer 86cfb10b9b outposts: implement .run_wuth_logs() which returns logs, add task monitoring 2020-10-16 11:38:49 +02:00