Polling-based agent-server architecture #301

Merged
Jef Roosens merged 22 commits from Chewing_Bever/vieter:agent-server-polling into dev 2022-12-14 17:34:48 +01:00

This PR converts Vieter into a server-agent architecture, with each agent periodically polling the server for jobs using HTTP requests.

I don't feel like diving into persistent connections between servers and agents right now, but I feel this system is a good compromise between simplicity and versatility.

The goal is to fully replace the old cron-based system.

Closes #300

This PR converts Vieter into a server-agent architecture, with each agent periodically polling the server for jobs using HTTP requests. I don't feel like diving into persistent connections between servers and agents right now, but I feel this system is a good compromise between simplicity and versatility. The goal is to fully replace the old cron-based system. Closes #300
Jef Roosens added the
enhancement
label 2022-12-13 14:04:26 +01:00
Jef Roosens added 12 commits 2022-12-13 14:04:27 +01:00
Jef Roosens added 1 commit 2022-12-13 17:43:18 +01:00
ci/woodpecker/pr/lint Pipeline failed Details
ci/woodpecker/pr/docs Pipeline was successful Details
ci/woodpecker/pr/build Pipeline was successful Details
ci/woodpecker/pr/man Pipeline was successful Details
ci/woodpecker/pr/docker Pipeline was successful Details
ci/woodpecker/pr/test Pipeline failed Details
5cbfc0ebcb
feat(agent): clean up code a bit; add frequent polling when active
Jef Roosens added 1 commit 2022-12-13 17:52:32 +01:00
ci/woodpecker/pr/lint Pipeline was successful Details
ci/woodpecker/pr/docs Pipeline was successful Details
ci/woodpecker/pr/build Pipeline was successful Details
ci/woodpecker/pr/man Pipeline was successful Details
ci/woodpecker/pr/docker Pipeline was successful Details
ci/woodpecker/pr/test Pipeline was successful Details
03f2240ff6
chore: please the linter
Jef Roosens added 2 commits 2022-12-13 19:33:42 +01:00
ci/woodpecker/pr/docs Pipeline was successful Details
ci/woodpecker/pr/lint Pipeline was successful Details
ci/woodpecker/pr/build Pipeline was successful Details
ci/woodpecker/pr/man Pipeline was successful Details
ci/woodpecker/pr/docker Pipeline was successful Details
ci/woodpecker/pr/test Pipeline was successful Details
8a2f720bdf
docs(agent): added agent configuration docs
Jef Roosens added 3 commits 2022-12-13 22:03:27 +01:00
ci/woodpecker/pr/docs Pipeline was successful Details
ci/woodpecker/pr/lint Pipeline failed Details
ci/woodpecker/pr/build Pipeline was successful Details
ci/woodpecker/pr/man Pipeline was successful Details
ci/woodpecker/pr/docker Pipeline was successful Details
ci/woodpecker/pr/test Pipeline was successful Details
b3e26e5ffe
feat: queue one-time builds from CLI
Jef Roosens force-pushed agent-server-polling from b3e26e5ffe to 2cc3e8404e 2022-12-13 23:32:02 +01:00 Compare
Jef Roosens added this to the 0.5.0 milestone 2022-12-14 15:18:38 +01:00
Jef Roosens changed title from WIP: polling-based agent-server architecture to Polling-based agent-server architecture 2022-12-14 15:57:50 +01:00
Jef Roosens added 1 commit 2022-12-14 16:04:15 +01:00
ci/woodpecker/pr/docs Pipeline was successful Details
ci/woodpecker/pr/lint Pipeline was successful Details
ci/woodpecker/pr/build Pipeline was successful Details
ci/woodpecker/pr/man Pipeline was successful Details
ci/woodpecker/pr/docker Pipeline was successful Details
ci/woodpecker/pr/test Pipeline was successful Details
d7a04c6ebf
chore: please the great lint

Gonna merge this PR prematurely. It's big enough already, and I need to test it in production anyways.

Gonna merge this PR prematurely. It's big enough already, and I need to test it in production anyways.
Jef Roosens added 1 commit 2022-12-14 16:33:58 +01:00
ci/woodpecker/pr/docs Pipeline was successful Details
ci/woodpecker/pr/lint Pipeline was successful Details
ci/woodpecker/pr/build Pipeline was successful Details
ci/woodpecker/pr/man Pipeline was successful Details
ci/woodpecker/pr/docker Pipeline was successful Details
ci/woodpecker/pr/test Pipeline was successful Details
51df1874f5
agent: some better logging
Jef Roosens added 1 commit 2022-12-14 17:24:11 +01:00
ci/woodpecker/pr/docs Pipeline was successful Details
ci/woodpecker/pr/lint Pipeline was successful Details
ci/woodpecker/pr/build Pipeline was successful Details
ci/woodpecker/pr/man Pipeline was successful Details
ci/woodpecker/pr/docker Pipeline was successful Details
ci/woodpecker/pr/test Pipeline was successful Details
60cb91c18c
chore: final read before merging
Jef Roosens merged commit bfe1aafcf1 into dev 2022-12-14 17:34:48 +01:00
Sign in to join this conversation.
There is no content yet.