Commit Graph

214 Commits

Author SHA1 Message Date
Frédéric Péters c8cbc26089 eoptasks: add hobo-agent.restart command 2018-12-23 11:18:05 +01:00
Frédéric Péters ba67056f79 eoptasks: fix moonlight progress order 2018-12-23 00:47:36 +01:00
Frédéric Péters ef4a3e84f2 eoptasks: add combo.reload special command 2018-12-22 18:36:09 +01:00
Frédéric Péters 7c7760ac92 eoptasks: add examples 2018-12-22 17:01:00 +01:00
Frédéric Péters c64fe7b859 eoptasks: add unmodified group name to keywords 2018-12-22 17:01:00 +01:00
Frédéric Péters a0b137de9c eoptasks: add ignorelist
(so it's not necessary to keep local commits in the puppet repository to
disable servers such as villejuif-test)
2018-12-22 17:01:00 +01:00
Frédéric Péters 47ba6bced9 eoptasks: add curses/emoji status screen 2018-12-22 17:01:00 +01:00
Frédéric Péters f9ad3962f5 eoptasks: use an independent process for status window 2018-12-22 10:42:38 +01:00
Frédéric Péters a312e6e3c4 eoptasks: refactor into multiple functions 2018-12-22 10:35:04 +01:00
Frédéric Péters 1f70d4830c eoptasks: add moonlight progress indicator
(this keeps a window always open, so hacks to handle final serial
processes are removed)
2018-12-21 15:15:53 +01:00
Frédéric Péters 5bc48833dd eoptasks: add servername parts as keywords
This make it possible to have filters such as node1.dev or entrouvert.org
2018-12-14 18:48:48 +01:00
Frédéric Péters 8cff0bc39e eoptasks: add option to exclude keywords
eoptasks -k node1,node2,-database will give all node1/node2 servers
except database.node1 and database.node2.
2018-12-12 19:53:35 +01:00
Frédéric Péters c7e9a8ce77 eoptasks: add flag to list selected servers 2018-12-12 18:52:31 +01:00
Frédéric Péters 969f9277be eoptasks: add configuration file/do not hardcode my path 2018-12-12 08:28:44 +01:00
Frédéric Péters 7e808fb2ae eoptasks: randomize servers 2018-12-10 16:30:56 +01:00
Frédéric Péters ac4fda99be eoptasks: add collectstatic command 2018-12-09 15:18:37 +01:00
Frédéric Péters 18d50be4a8 add new script to run commands on servers
This script provides parallel remote execution of commands, while having
some special knownledge of servers that should *not* be handled in parallel.

It defers terminal-handling to tmux(1).

It has some targeting capacities using keywords. Commas for 'OR' and slashes
for 'AND', ex: ext/test,saas/test/passerelle will select all external test
servers + all passerelle servers on the SaaS.

It takes any shell command and has some builtin shortcuts such as apt.update
and apt.upgrade. (that's the whole lot, actually).

Regarding actual performance benefits, apt upgrade with no packages to
upgrade:

 $ time eoptasks -k ext/test apt.upgrade
real    0m24,249s
user    0m0,140s
sys     0m0,025s

 $ time eotasks -g ext_test apt.upgrade
real    6m9,956s
user    3m32,096s
sys     0m2,322s
2018-12-09 14:12:56 +01:00
Frédéric Péters 09d6c854a3 grandlyon: add bijoe entries for production servers (#27564) 2018-11-06 09:42:48 +01:00
Frédéric Péters eb6491f3e8 grandlyon: force lazy field var into unicode when creating geojson 2018-10-30 08:58:23 +01:00
Frédéric Péters 65edfbbb0d grandlyon: ignore deleted formdefs when counting "+1"s 2018-10-29 20:30:20 +01:00
Frédéric Péters 7f77fc224c grandlyon: add wcs for SAU prod 2018-10-29 10:30:12 +01:00
Frédéric Péters 11d8e60f26 add "contribute to Publik" page (#27464) 2018-10-23 17:39:19 +02:00
Frédéric Péters 38b5ce52f1 munin: add script to count number of forms 2018-10-13 17:34:17 +02:00
Frédéric Péters 7f98c56239 grandlyon: complete prod recipes 2018-10-01 20:24:57 +02:00
Frédéric Péters 9bd02ea632 osm: grab tiles up to level 19 2018-07-09 07:06:30 +02:00
Frédéric Péters 3d6b62eac0 osm: add script to grab all tiles for an area 2018-07-08 23:43:47 +02:00
Frédéric Péters e8d4e1ba28 grandlyon: don't crash when previewing form 2018-06-18 09:43:47 +02:00
Frédéric Péters 3d84814fd5 grandlyon: move close demands computation to shared module 2018-06-07 11:34:23 +02:00
Frédéric Péters 8c47b080fa grandlyon: don't crash on form_objects not being available in preview 2018-06-06 13:35:32 +02:00
Frédéric Péters ded8b06699 grandlyon: generate geojson on the fly 2018-06-06 13:25:30 +02:00
Frédéric Péters ac52134db5 fortunes: soap 2018-05-22 16:07:28 +02:00
Frédéric Péters 21a8d5b7d9 from #20017 2018-05-22 11:29:00 +02:00
Frédéric Péters 1ad93a4958 grandlyon: mark sync-cut script as obsolete (...) 2018-05-14 15:10:18 +02:00
Frédéric Péters 8c00c42391 grandlyon: use dedicated OU for GL agents 2018-05-14 15:06:24 +02:00
Frédéric Péters 911cda68b6 fortunes: wrong attachment 2018-04-30 18:14:03 +02:00
Frédéric Péters eb9a94f3e5 start entrouvert fortunes file 2018-04-26 18:00:10 +02:00
Frédéric Péters bd9b02d657 strasbourg: add note about script usage 2018-04-25 14:02:41 +02:00
Frédéric Péters f1b97e2755 authentic: ignore date attributes for now 2018-04-25 13:56:31 +02:00
Frédéric Péters 1cdca2c88c authentic: add script to resync roles (~19853) 2018-04-13 14:36:13 +02:00
Frédéric Péters b610944c51 doc: add support for crosslinks 2018-03-20 10:56:05 +01:00
Frédéric Péters ea13ac31d0 doc: use orm filter to limit to interesting cells 2018-03-20 10:48:32 +01:00
Frédéric Péters 111c0cab62 grandlyon: prefer map coordinates over geocoding for closeness check (#21569) 2018-03-12 17:18:24 +01:00
Frédéric Péters b502f5a937 grandlyon: prefer map coordinates over geocoding for similar items (#21569) 2018-03-12 17:14:00 +01:00
Frédéric Péters fe7e4bd0b3 grandlyon: also sync "territoire" OU 2018-02-23 17:20:03 +01:00
Frédéric Péters 3bb7d387f9 grab developer installation wiki page 2018-02-16 14:08:11 +01:00
Frédéric Péters db863f6f81 grandlyon: do not use specific custom themes 2018-01-30 19:35:16 +01:00
Frédéric Péters 7daa1cb1d2 grandlyon: add extra attributes on all instances 2018-01-30 18:39:20 +01:00
Frédéric Péters d72522aa21 grandlyon: update birth place/country attribute names to match CUT 2018-01-25 10:00:22 +01:00
Frédéric Péters b3931dde8f grandlyon: add birth place/country attributes (#21407) 2018-01-25 09:45:24 +01:00
Frédéric Péters cd1f953eb3 grandlyon: add hobo recipes for production domains 🤖
(this also serves as a test for unicode characters in email notifications)
2018-01-09 14:02:39 +01:00