Commit Graph

27 Commits

Author SHA1 Message Date
iko
83d275df7f
Added tree configuration UI (#167)
* bumped nix things

* Made CLI show more helpful errors

* wip

* done server part

* Tree overrides

* iwp

* I did everything i could

* Made it compile I don't care anymore

* ordered-containers

* wip

* Fixed formatting

* Fixed macos build

* bump nix

* Rollback nix sources
2022-04-20 09:50:51 +03:00
iko
041c1ea4e3
Added ability to delete deployments, made cli output prettier (#157)
* Added ability to delete deployment, made cli output prettier

* stop failing script
2021-12-08 18:53:17 +03:00
mniip
be1f20cf3b
Shift all effects to MTL-style (#152)
* Rewrite DeploymentLock using lifted IORef

* Refactor cacheMap

* Refactor bg workers

* Clean up MonadBaseControl usage

* Fix cachemap's behavior wrt "update" time

* Fix formatting
2021-11-23 15:18:24 +03:00
mniip
ab9aea90d6
Logging (#100)
* Refactor logging, using katip now

* Remove TH and use a more minimal log formatter

* Do better logging when calling control scripts

* Fix formatting

* Run with --debug --minimal when running a local dev instance

* Escape newlines in bracket formatter, pass logging options via env

* Fix fourmolu

* more efficient tabulate

* minimal -> not prodLogs

* default to non-debug prod logs

Co-authored-by: iko <ilyakooo0@gmail.com>
2021-10-13 17:06:43 +03:00
iko
33d507286e
Fixed failure state when creating deployments and added sorting direction (#125)
* Fixed failure statuses when creating or updating deployments

* Added sorting
2021-10-04 18:30:01 +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
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
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
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
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
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
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
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
iko
2ef6b48c3a Improved check and notification control script arguments (#34)
* Corrected control script arguments

* Updated documentation

* added project name and base domain to check script

* split the checking and archive checking commands

* checkArchiveArgs -> archiveCheckArgs
2021-07-16 15:56:18 +03:00
iko
f68291d5a1 Added synchronous error reporting (#32) 2021-07-16 15:56:18 +03:00
iko
ac83908e80 Refactored status changes and added deployment locking (#24)
* First stab at refactoring status transitions

* Removed 'archived' column from database

* Added deployment locking

* Added transition possibility assertion at the start of background tasks

* Added a notification control script (#27)

* Added notification script

* Updated docs

* Fixed link

* fixed link

* Fixed response error body rendering

* Resolved comments and fixed some bugs after rebasing

* added info script back in
2021-07-16 15:56:18 +03:00
iko
6c6a4dce2c Added more detailed errors (#31)
* Added more failure statuses

* Added documentation
2021-07-16 15:56:18 +03:00
iko
9bcfdcf065 Improved handling metadata links (#9)
* Added link titles

* Preserve metadata ordering

* Added dev run commands to Makefile

* Added explanation to the development guide

* Made caddy 2 the only config since we probably don't want to maintain two versions.

* Use `id` instead of `ord`

* Added ghcid version of Caddyfile

* Renamed staging to deployment
2021-01-25 18:40:35 +03:00
Denis Redozubov
4939206d33 Initial open source release 2020-12-09 18:31:07 +03:00