Commit graph

67 commits

Author SHA1 Message Date
624646f836
feat: add test utils 2022-04-27 10:51:39 +05:30
b758042836
feat: handle Git errors 2022-04-26 20:13:23 +05:30
eb87453bd1
feat: handle errors in deploy endpoint 2022-04-26 19:56:59 +05:30
4b43c4ed3d
fix: rename AccountNotFound to WebsiteNotFound 2022-04-26 19:56:31 +05:30
aa9cffd4cb
feat: setup error handling 2022-04-26 19:39:05 +05:30
325d110e9a
feat: switch to user configured branch even when configuration is changed
DESCRIPTION

Branch switching wasn't possible in earlier versions. If user deploys
"master" branch first and then wants to switch to "pages" branch, they
would have to delete the Pages-managed copy of the repository to
re-initialize the repository.

This patch introduces changes to switch to user configured branch on
startup and at each repository update.
2022-04-09 11:04:44 +05:30
55b7bf92bb
fix: set logging env var if unset 2022-03-29 19:16:38 +05:30
1fe29fd9b2
fix: config loading order 2022-03-29 19:05:31 +05:30
c6f9cb7ac1
chore: update dep: config 2022-03-29 18:13:26 +05:30
c76b351198
chore: improve git workflow testing 2022-03-29 18:02:32 +05:30
3c40a32fba
feat: expose source code url in build details meta endpoint 2022-03-29 17:38:29 +05:30
da98218d31
chore: update copyright notice 2022-03-29 17:36:22 +05:30
8b075a66fd
fix: get rid of useless configuraiton options 2022-03-29 17:35:44 +05:30
837c3fd3e0
chore: address clippy lints 2022-03-29 16:56:06 +05:30
ef424cf070
make repository updates non-blocking 2021-10-30 15:37:24 +05:30
8cd9f0030d
configurable workers
This server will only see occasional traffic so it makes sense to spawn
only limited number of workers as opposed to spawning one worker/thread,
which is the default behavior.

I recommend at least two workers.
2021-10-30 15:30:38 +05:30
954ac6c578
routes:
- get build metadata
    - authenticate and update repository with branch configuration
2021-10-29 20:23:07 +05:30