Skip to content

Commit

Permalink
Briefly document Travis-based workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
darkk committed Oct 18, 2017
1 parent 88d62b4 commit 6f0e882
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 2 deletions.
7 changes: 7 additions & 0 deletions .assets/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
.PHONY: all

all: ooni.io.png

%.png: %.seqdiag
# Use any TTF font, otherwise text is UGLY.
seqdiag --antialias --no-transparency --font /usr/share/fonts/truetype/dejavu/DejaVuSans.ttf $^ -o $@
Binary file added .assets/ooni.io.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
14 changes: 14 additions & 0 deletions .assets/ooni.io.seqdiag
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
Editor --> "GH:ooni-web" [label = "Open PR"];
Editor --> Reviewers [label = "Request for comments"];
Editor <-- Reviewers [label = "Got ACK"];
Editor --> "GH:ooni-web" [label = "[Merge] PR to `master`"];

"GH:ooni-web" --> "Travis" [label = "Trigger build"];
Travis --> "openobservatory\n.github.io" [label = "Upload built website"];
Travis --> "Editor" [label = "Email build status"];

Editor --> "openobservatory\n.github.io" [label = "Preview at\nopenobservatory.github.io"];
Editor --> "ooni\n.torproject.org" [label = "Run `make update-site` to\nupdate ooni.torproject.org"];
"ooni\n.torproject.org" --> "openobservatory\n.github.io" [label = "Fetch from GH"];
}
4 changes: 2 additions & 2 deletions Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,8 @@ make publish-update

## Adding a new blog post

When adding a new blog post and make it appear on the front page you shall edit
`themes/ooni/layouts/index.html`.
![ooni-web workflow](.assets/ooni.io.png)


## Python requirements

Expand Down

0 comments on commit 6f0e882

Please sign in to comment.