Skip to content
Snippets Groups Projects
Unverified Commit dde1ea4b authored by anarcat's avatar anarcat
Browse files

add more components to the static mirror system

I hadn't realized that Jenkins was such a key component for static
websites, so it seems it belongs here as well.

Also add the public, to show where the actual files get fetched from.
parent 9f7dd6d7
No related branches found
No related tags found
No related merge requests found
...@@ -199,8 +199,17 @@ hosts. Those components are defined in a YAML file in the ...@@ -199,8 +199,17 @@ hosts. Those components are defined in a YAML file in the
(`modules/roles/misc/static-components.yaml` at the time of writing, (`modules/roles/misc/static-components.yaml` at the time of writing,
but it might move to Hiera, see [issue 30020](https://gitlab.torproject.org/tpo/tpa/team/-/issues/30020) and [puppet](puppet)). but it might move to Hiera, see [issue 30020](https://gitlab.torproject.org/tpo/tpa/team/-/issues/30020) and [puppet](puppet)).
The Jenkins server is also used to build and push websites to static
source servers.
This diagram summarizes how those components talk to each other
graphically:
![Static mirrors architecture diagram](static-component/architecture.png) ![Static mirrors architecture diagram](static-component/architecture.png)
A narrative of how changes get propagated through the mirror network
is detailed below.
<!-- this is a rephrased copy of --> <!-- this is a rephrased copy of -->
<!-- https://salsa.debian.org/dsa-team/mirror/dsa-puppet/-/blob/master/modules/roles/README.static-mirroring.txt --> <!-- https://salsa.debian.org/dsa-team/mirror/dsa-puppet/-/blob/master/modules/roles/README.static-mirroring.txt -->
......
...@@ -14,15 +14,22 @@ digraph static { ...@@ -14,15 +14,22 @@ digraph static {
master:run -> mirror:run [taillabel="runs"] master:run -> mirror:run [taillabel="runs"]
mirror:run -> master:host [label="rsync from"] mirror:run -> master:host [label="rsync from"]
note [shape="note" label="note:\nthere can be many\n source, master\nand mirror hosts"] note [shape="note" label="note:\nthere can be many\n source, master\nand mirror hosts"]
git -> jenkins [label="trigger"]
jenkins -> git [label="pull"]
jenkins -> source:host [label="push"]
} }
subgraph "clusterusers" { subgraph "clusterusers" {
label="users" label="users"
labelloc=bottom labelloc=bottom
TPA TPA
users webdevs
public
} }
TPA -> puppet -> source:host TPA -> puppet -> source:host
puppet -> master:host puppet -> master:host
puppet -> mirror:host puppet -> mirror:host
users -> sudo -> source:update webdevs -> rsync -> source:host
webdevs -> sudo -> source:update
webdevs -> git
public -> mirror:host
} }
howto/static-component/architecture.png

48.7 KiB | W: | H:

howto/static-component/architecture.png

82.4 KiB | W: | H:

howto/static-component/architecture.png
howto/static-component/architecture.png
howto/static-component/architecture.png
howto/static-component/architecture.png
  • 2-up
  • Swipe
  • Onion skin
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment