Move Gitea and Drone CI to new VMs #396

Merged
raucao merged 8 commits from chore/move_gitea_and_drone into master 2022-03-17 19:38:04 +00:00
Owner
  • Adapt all relevant recipes to use Nginx on the host and route to VMs via Zerotier
  • Use PostgreSQL for Drone (instead of local SQLite)
  • Use Nginx Streams for routing SSH TCP traffic (port 22) to the VM

closes #300, #302, #355, #388

(Paired with @greg on everything.)

* Adapt all relevant recipes to use Nginx on the host and route to VMs via Zerotier * Use PostgreSQL for Drone (instead of local SQLite) * Use Nginx Streams for routing SSH TCP traffic (port 22) to the VM closes #300, #302, #355, #388 (Paired with @greg on everything.)
raucao added the
kredits-2
label 2022-03-12 20:49:28 +00:00
greg was assigned by raucao 2022-03-12 20:49:28 +00:00
raucao self-assigned this 2022-03-12 20:49:28 +00:00
raucao added 4 commits 2022-03-12 20:49:28 +00:00
raucao added 1 commit 2022-03-12 21:05:52 +00:00
raucao changed title from Move Gitea and Drone CI to new VMs to WIP: Move Gitea and Drone CI to new VMs 2022-03-12 21:34:16 +00:00
Author
Owner

Turned out afterwards that the containers being created to execute the actual builds are unable to connect to gitea.kosmos.org via HTTP (i.e. unable to git-clone the repos). I looked at it for quite some time, but we have yet to find a solution.

Turned out afterwards that the containers being created to execute the actual builds are unable to connect to `gitea.kosmos.org` via HTTP (i.e. unable to git-clone the repos). I looked at it for quite some time, but we have yet to find a solution.
raucao added 1 commit 2022-03-12 21:38:27 +00:00
b98a09e941
Create nginx_proxy role
Used to configure hosts entries in the Gitea and Drone VMs, as well as
the allowed webhooks config for Gitea.
raucao force-pushed chore/move_gitea_and_drone from b98a09e941 to 0a953070fe 2022-03-12 21:39:13 +00:00 Compare
raucao added 1 commit 2022-03-12 21:40:31 +00:00
raucao added 1 commit 2022-03-17 19:03:30 +00:00
raucao changed title from WIP: Move Gitea and Drone CI to new VMs to Move Gitea and Drone CI to new VMs 2022-03-17 19:36:21 +00:00
Author
Owner

Fixed the connection issues by using the new subdomain lb.kosmos.org with A records (just one at the moment, but we can then add more when all the hosts run the same proxy config), and changing the CNAME records to use that one instead.

Fixed the connection issues by using the new subdomain `lb.kosmos.org` with A records (just one at the moment, but we can then add more when all the hosts run the same proxy config), and changing the CNAME records to use that one instead.
raucao merged commit 5e38edb57e into master 2022-03-17 19:38:04 +00:00
Sign in to join this conversation.
No reviewers
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: kosmos/chef#396
No description provided.