Commit Graph

90 Commits

Author SHA1 Message Date
Alex-Sizov
a873765e4e
Updated helm deployment guide (#119)
* first draft

* update helm deployment guide and screenshots

* fix linter errors

* Compressed images

* add note about chart version parameter

* update octopod in octopod screenshot

Co-authored-by: iko <ilyakooo0@gmail.com>
2021-10-01 18:12:52 +03:00
Alex-Sizov
5480a1b7b7
explicit kubeconfig context (#122) 2021-10-01 17:32:56 +03:00
iko
aa00bee298
Updated tech docs (#117)
* Dropped russian docs

* finally unified all control scripts

* Added new control script docs

* Integration guide

* octo CLI user guide

* Renamed things in UI

* override -> configuration in octo CLI

* more docs

* dropped more russian links

* fixed links

* yet more fixes

* Updated logo

* Updated root readme

* Fixed typos

* resolved comment
2021-10-01 16:58:35 +03:00
Alex-Sizov
447653a1cb
Remove chart_repo_name parameter (#121)
* remove chart_repo_name

* update readme

* bump up chart version
2021-10-01 13:31:59 +03:00
iko
6846403b7f
frontend hotfixes (#120)
* Fixed override editing

* Fixed debouncing overrides
2021-09-29 23:23:44 +03:00
Alex-Sizov
c8ac911f6b
New control scripts (#108)
* add app and deployment overrides info scripts

* overrides/keys scripts

* add new scripts to the chart config

* archive using scaling

* archive check script + README

* fix timings values + up contolscripts version

* Get rid of kubectl calls

* remove tags

* remove status mode

* rename tag_check to config_check

* remove default values logic, optional name, additional checks at helm init

* bump chart and app version

* add keys sorting

* ingress.host to ingress.hostname hardcode

* add default override for wordpress

* parametrize ingress host key

* add gzip static + etag

* config_check: logs to stderr + proper user notifications

* fix bug with empty value key not being shown

* rename app-env-override and deployment-override cli options

* rename env configuration for octopod
2021-09-29 17:49:36 +03:00
iko
a2c8ab0915
refined calling control scripts (#116)
* Show errors from stdout to user in config check command

* Renamed control script arguments

* renamed variables
2021-09-29 14:49:21 +03:00
iko
bdcae3555b
Added override validation to the frontend (#115) 2021-09-27 23:33:44 +03:00
iko
3047ac3cfa
Added 30 minute timeout to all control scripts (#114) 2021-09-27 19:40:18 +03:00
iko
7f58a37427
Started catching cleanup failures (#113)
* Started catching cleanup failures

* Don't fail script
2021-09-27 16:58:19 +03:00
iko
b100a94d0a
Added archive cleaning to the Octopod Server (#112)
* Force server environment fields on startup

* Added archive cleaning into the Octopod Server
2021-09-27 14:24:22 +03:00
iko
f231289fb9
Added space for key hints (#111) 2021-09-26 19:36:18 +03:00
iko
9440cb66a8
Added the build git commit sha to ping endpoint (#110)
* Added the build git commit sha to ping endpoint

* Fixed CI
2021-09-26 19:36:10 +03:00
iko
071d58d0d2
Removed separate tag field, added config check and unified control script arguments (#109)
* Introduced config check

* Remove tag from frontend and redid all of search

* Added migrations

* Fixed layout

* Fixed search ordering

* Refined markup

* Imporved text for empty overrides

* Refined text

* Unified control scripts

* Formatting

* Fixed octo CLI

* Fixed build
2021-09-26 17:54:20 +03:00
iko
68aaecc110
Implemented new override markup (#106)
* Added Frontend.UIKit

* Extracted some things into UIKit

* Override editing markup

* Added deployment page main override markup

* Made override size configurable

* Did override listing

* Deployment overrides are now first everywhere

* Really hacky keys search

* Button loading state

* Patched project home page
2021-09-21 14:41:53 +03:00
iko
726e4a6ca4
Added new override markup (#97)
* Issue#94

* up

* up

* up

* removed npm generated files

Co-authored-by: Alexander <alexander.kazakov@union.expert>
2021-09-15 15:02:58 +03:00
iko
f8bc81ce31
Check formatting on CI (#103)
* Check formatting on CI

* Formatted everything

* Use git diff

* Fixed formatting
2021-09-15 14:47:28 +03:00
iko
7303b130c1
Added caching of default overrides and keys (#99)
* Created Control.CacheMap

* Use record syntax

* Things seem to work

* Actually now use the defaults everywhere
2021-09-14 15:27:05 +03:00
iko
f0b4e4950f
Added an unarchive script (#89) 2021-09-07 14:12:41 +03:00
iko
4ce72d3408
Added override keys and default overrides scripts (#88)
* Refactored CS args

* format

* WIP

* Call scripts from backend

* Refactored frontend

* Added defaults to frontend

* Delay request

* Added keys

* things somewhat work

* things update

* Loading state

* better loop breaking

* Added bad loading animation

* Overrides are now stable

* Default values are now properly restored

* added sleep

* Removed unused functions

* wip: cleaned up api

* Added Data.UniqMap

* Cleaned up actions

* Extracted working overrides

* Minor refactoring

* new items appear at the top

* Use the CSV parser

* Disabled default key text fields
2021-09-07 14:01:06 +03:00
iko
082c50399d
Statically compress all text files (#92) 2021-09-03 13:09:42 +03:00
iko
77456f33f0
Optimize everything except local packages during development (#90)
* Optimize everything except local packages during development

* Optimize CLI

* Turn warning into errors if prod

* Fixed warnings
2021-09-02 16:46:41 +03:00
mniip
434c9f8126
Use cassava for parsing csv (#84)
* Use cassava for parsing csv

* Report parse exceptions to the log
2021-08-30 17:21:58 +03:00
iko
0336964bab
Refactored queries to not be strings (#68)
* Rel8ed backend

* Removed rel8 dependency from common

* Format frontend

* Made frontend compile

* Migrations

* Fixed Actions encoding

* Fixed timeout

* Fixed overrides

* Fixed deployment duration

* Fixed inserting deployment logs

* Removed postgresql-simple

* Fixed octo CLI
2021-08-26 18:14:29 +03:00
Alex-Sizov
90fa7b8108
New deployment documentation (#67)
* add docs draft

* add note about local install+fix security model

* remove old helm charts

* remove helm2 examples

* helm based deployment guide + screenshots

* grammar + more spaces

* small fixes

* fix linter errors

* fix headings references

* fix headings references

* russian docs + fixes

* also check docs in charts

* remove charts dir and add it to gitignore

* Wording refinements

* small fixes

* compressed images

* Removed unneeded images

* wording

* Refined

Co-authored-by: iko <ilyakooo0@gmail.com>
2021-08-26 15:23:41 +03:00
Alex-Sizov
07c4978265
Generic scripts (#65)
* add generic utils

* add readme

* Update examples/generic-utils/README.md

Co-authored-by: iko <ilyakooo0@gmail.com>

* Update examples/generic-utils/README.md

Co-authored-by: iko <ilyakooo0@gmail.com>

* Refined wording

* rename generic-utils -> helm-control-scripts + init refactoring

* rename control scripts inside chart

* Refined wording some more

Co-authored-by: iko <ilyakooo0@gmail.com>
2021-08-25 13:22:55 +03:00
Alex-Sizov
aac7de5210
Octopod kind (#66)
* add local install script

* Make the script executable

* add force update flag

* add some checks to the kind script

* name kind cluster+deletion confirmation

* add wait flags to helm

* More informative local install script

Co-authored-by: Denis Redozubov <denis.redozubov@gmail.com>
2021-08-24 19:08:23 +03:00
iko
0f75dc1651
Bumped nix dependencies (#83)
* Bumped nix dependencies

* bumped yet again
2021-08-24 17:06:29 +03:00
Alex-Sizov
e2c109213b
Helm3 chart fixes (#64)
* new generic utils

* fix scheme in notes and ingresses + values for generic scripts

* move migrations to init containers

* new generic utils

* fix scheme in notes and ingresses + values for generic scripts

* move migrations to init containers

* fix versions

* update readme

* emphasize some parts of readme

* remove chart beta warning

* add future version of octopod to the chart

* Update charts/helm3/octopod/README.md

Co-authored-by: iko <ilyakooo0@gmail.com>

* Update charts/helm3/octopod/README.md

Co-authored-by: iko <ilyakooo0@gmail.com>

* add an ability to have a fixed secret for ui basic auth

* dont ask for cliauth header if vault is enabled

* add readme section about ui auth

* Refined wording

Co-authored-by: iko <ilyakooo0@gmail.com>
2021-08-23 16:42:45 +03:00
iko
648e654ece
Nixified css (#61)
* Nixified frontend

* Use single nixpkgs

* wip

* Remove prod folder and create www

* Format

* Nixified first dev scripts

* Moved all caddy to nix
2021-08-20 19:31:28 +03:00
iko
ec792b25d2
Added more arguments to control scripts (#62)
* format

* Added more arguments to scripts

* Updated docs
2021-08-08 17:02:33 +03:00
iko
9e1dcb4996
Push nightly images to docker hub (#63) 2021-08-06 12:21:03 +03:00
iko
61d53d3600
Reduced size of frontend js (#60)
* Reduced size of frontend js

* Pass externs to jscc

* Cleaned things up
2021-08-05 18:18:06 +03:00
iko
a610411aec
Place project name at the start of the page title (#59) 2021-08-04 21:47:58 +03:00
iko
b6d84d8e87 Prepare docs for 1.3 release 2021-07-28 14:39:30 +03:00
iko
24ff550a49
Fixed override issue on frontend (#55)
Co-authored-by: iko <iko@Daryas-MBP.lan>
2021-07-28 14:27:37 +03:00
iko
9309794079
Removed TLS Auth in favour of headers (#54)
* Removed TLS Auth in favour of headers

* chart changes to work with auth header instead of certs

* chart version bump up

* Warnings and formatting

* Removed extra deps

* Split module sources

* Removed extra TLS args

* Slimmed down docker images and added certs to octo cli

* Simplified docker images

* Increased swap

* Added entrypoint to env veriables in docker images

* refactor cli options + get rid of tls options

Co-authored-by: Aleksei Sizov <a.sizov@typeable.io>
Co-authored-by: iko
2021-07-28 14:27:37 +03:00
Alex-Sizov
ee8b278ce1 fix config.json template, add charset to nginx config (#52) 2021-07-28 14:26:31 +03:00
iko
9a87bbd65b Prepare docs for 1.2.1 release (#51) 2021-07-28 14:26:31 +03:00
iko
af908ee97e Explicitly specify encoding (#50) 2021-07-28 14:26:31 +03:00
Alex-Sizov
1bc7623516 explicit postgres version (#49) 2021-07-16 15:56:18 +03:00
Alex-Sizov
7a989ed10b Chart fixes (#47)
* helm3 chart: fix security context issue

* proper permissions for octopod

* add vault annotations capability + small fixes

* bump up octopod version + reloader annotation

* Template ingress hosts from baseDomain + docs

* Added code blocks

Co-authored-by: iko <ilyakooo0@gmail.com>
2021-07-16 15:56:18 +03:00
iko
cbcd09f114 Migrate to haskell.nix for everything (#46)
* Migrate to haskell.nix for everything

* Fixed build (?)

* Fixed build

* build frontend with ghcjs

* Updated Makefile

* Uglified js

* Made frontend actually work (:

* Increase swap

* Added checkout back in (:

* Updated VS Code settings

* formatted cabal.project

* cleaned up nix
2021-07-16 15:56:18 +03:00
Alex-Sizov
3919687c13 Helm3 fixes (#45)
* remove test values file

* rearrange secrets to avoid double password generation
2021-07-16 15:56:18 +03:00
Alex-Sizov
291c3c4c4e Helm3 chart (#44)
* add helm3 chart

* add reference to a helm3 chart to docs

Co-authored-by: Aleksei Sizov <a.sizov@typeable.io>
2021-07-16 15:56:18 +03:00
iko
92ee8d3df4 Don't consider pending deployments archived (#42)
* Don't consider pending deployments archived

* unpack deployment info
2021-07-16 15:56:18 +03:00
andor0
ffbcfaf0bb Use PostgreSQL 12 version (#41) 2021-07-16 15:56:18 +03:00
iko
4fbfb39649 Prepare documentation for 1.2 release (#36) 2021-07-16 15:56:18 +03:00
iko
0d2d0c2246 Updated favicons (#40) 2021-07-16 15:56:18 +03:00
andor0
9d7300d195 Update examples (#39)
* Update dependencies of examples

* Update the check script in examples

* Update docs of control scripts

* Add notifications script to examples

* Fix typo

* Fix typo
2021-07-16 15:56:18 +03:00