Commit Graph

109 Commits

Author SHA1 Message Date
Aleksei Sizov
1c46244647 Merge branch 'develop' into new-control-scripts 2021-09-29 17:51:35 +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
Aleksei Sizov
de28d4912e rename env configuration for octopod 2021-09-29 15:40:31 +03:00
Aleksei Sizov
ba343d6230 rename app-env-override and deployment-override cli options 2021-09-29 15:39:39 +03:00
Aleksei Sizov
12bad37522 fix bug with empty value key not being shown 2021-09-29 15:31:47 +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
Aleksei Sizov
b0a57ad70b config_check: logs to stderr + proper user notifications 2021-09-29 11:30:27 +03:00
Aleksei Sizov
40b6c1ae5f add gzip static + etag 2021-09-28 16:13:56 +03:00
Aleksei Sizov
f491fcc484 parametrize ingress host key 2021-09-28 15:45:48 +03:00
Aleksei Sizov
b62defefeb resolve merge conflict 2021-09-28 13:05:02 +03:00
Aleksei Sizov
bba366e740 add default override for wordpress 2021-09-28 12:48:56 +03:00
Aleksei Sizov
20a1888828 ingress.host to ingress.hostname hardcode 2021-09-28 12:48:39 +03:00
Aleksei Sizov
dfe7a4390f add keys sorting 2021-09-28 11:32:50 +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
Aleksei Sizov
48be60d816 bump chart and app version 2021-09-27 18:55:50 +03:00
Aleksei Sizov
43966e8b0b remove default values logic, optional name, additional checks at helm init 2021-09-27 18:53:22 +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
Aleksei Sizov
affbceac96 rename tag_check to config_check 2021-09-27 10:58:52 +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
Aleksei Sizov
a8dfbb23cb remove status mode 2021-09-24 18:54:22 +03:00
Aleksei Sizov
a029023f5a remove tags 2021-09-24 18:32:49 +03:00
Aleksei Sizov
706d5e7bae Get rid of kubectl calls 2021-09-24 18:07:49 +03:00
Aleksei Sizov
911526c88c Merge branch 'develop' into new-control-scripts 2021-09-23 14:11:29 +03:00
Aleksei Sizov
bcb03aaed6 fix timings values + up contolscripts version 2021-09-23 14:06:06 +03:00
Aleksei Sizov
93f868687c archive check script + README 2021-09-23 14:04:54 +03:00
Aleksei Sizov
5538087c54 archive using scaling 2021-09-22 20:53:09 +03:00
Aleksei Sizov
33cdcd1eb8 add new scripts to the chart config 2021-09-22 14:06:26 +03:00
Aleksei Sizov
19a645b97a overrides/keys scripts 2021-09-22 14:06:03 +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
Aleksei Sizov
179653b803 add app and deployment overrides info scripts 2021-09-20 19:22:40 +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