Some tasks are needed to run tools. on Docker:
- Routing issues
- Provide configuration
- Disable Gerrit tools
- Jive
- Valspeak
- symlink node → nodejs
- ensure we can generate bundle.js
Some tasks are needed to run tools. on Docker:
rOPS Nasqueron Operations | |||
D3618 Deploy tools.nasqueron.org on docker-002 | |||
rTOOLS Nasqueron Tools | |||
D3617 | rTOOLS8af9f4d9831d Build Docker image | ||
D1173 | rTOOLS45e3721d5fb5 Switch gadgets/motd-variations to pure PHP | ||
D1172 | rTOOLSd20c3df30fc9 Treat homepage like a regular page | ||
D1171 | rTOOLS4cdcb68d8c49 Provide default configuration | ||
D1170 | rTOOLS1ccf26f90280 Handle correctly QUERY_STRING when it's different from REQUEST_URI | ||
D1168 | rTOOLSf33dd1fffa58 Prefer to read url from HTTP_HOST than SERVER_NAME | ||
D1165 | rTOOLSe36b2e9ab876 Ignore empty PATH_INFO string | ||
D1162 | rTOOLSb6be10141e17 Initialize MySQL instance when needed | ||
D1117 | rTOOLS812c7d4dc1fd Don't use a session |
Status | Subtype | Assigned | Task | ||
---|---|---|---|---|---|
Open | None | T1294 Dockerize tools.nasqueron.org | |||
Resolved | dereckson | T1299 Create 502 page for tools.nasqueron.org | |||
Resolved | dereckson | T1305 Release jive | |||
Open | None | T1307 Switch gadgets/generators from a React page to a traditional JS page | |||
Resolved | dereckson | T2094 Disable Wikimedia feeds |
Steps to provision the software:
$ git clone https://github.com/nasqueron/tools.nasqueron.org.git app $ cd app $ make
The makefile takes care to call composer install.
There are some doubtful Node needs, if we want to keep that, we can:
$ apt-get update $ apt-get install -y nodejs npm $ npm install -g browserify $ cd /var/wwwroot/default $ make
(some React used by the gadgets sentence generators)
fortune, valspeak, jive (gadgets/motd-variations)
RUN apt-get install freebsd-buildutils libfl-dev fortunes && \ ln -s /usr/bin/freebsd-lex /usr/bin/lex && \ cd /opt && wget http://dereckson.devio.us/software/valspeak/valspeak-1.0.tar.gz && \ tar xzvf valspeak-1.0.tar.gz && cd valspeak-1.0 && make && ln -s /opt/valspeak-1.0/valspeak /usr/bin/valspeak && \ cd /opt && git clone https://devcentral.nasqueron.org/source/jive.git && cd jive && \ make && ln -s /opt/jive/jive /usr/bin/jive
The freebsd-buildutils package provides lex, the libfl-dev packages provides libl.so to link against.
It's currently running, I'll check dependencies and release later.
Current image pushed to Docker Hub contains all the deps.
DNS change
tools.nasqueron.org. 86400 IN CNAME www5.nasqueron.org.
_acme-challenge.tools.nasqueron.org. 172800 IN CNAME 2a37c286-deed-4a19-b265-89f605717695.acme.nasqueron.org.
TLS certificate
Certificate generated on docker-002, with DNS method.