Commit Graph

203 Commits

Author SHA1 Message Date
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
Frédéric Péters 1b6310edbe grandlyon: add professional mobile/phone number attributes 2018-01-06 20:52:12 +01:00
Frédéric Péters a0874212e7 grandlyon: add welco instance for vaulx-en-velin (#20768) 2017-12-19 16:27:59 +01:00
Frédéric Péters 065f15ae75 doc: grab HTML version from redmine 2017-12-07 09:43:50 +01:00
Frédéric Péters 208b1bb0ea doc: add support for json combo cell wiki page 2017-12-07 09:40:17 +01:00
Frédéric Péters 1fc0caae74 authentic: update to new new CUT ou slugs 2017-12-04 16:48:21 +01:00
Frédéric Péters 67a1c6d3ff grandlyon: fix typo in cut synchro script 2017-12-01 14:02:22 +01:00
Frédéric Péters b6acaa46e7 grandlyon: use API on admin-cut server 2017-12-01 12:41:18 +01:00
Frédéric Péters 6d6c567224 grandlyon: add support for new OU slugs on CUT 2017-12-01 12:39:36 +01:00
Frédéric Péters c849731adc authentic: improve export/import of LDAP synchronized accounts 2017-11-24 10:34:14 +01:00
Frédéric Péters 865c8d7e17 grandlyon: sync CUT user attributes 2017-11-10 14:24:18 +01:00
Frédéric Péters babcd0b937 grandlyon-gnm: don't require synced user to be active 2017-10-27 12:37:44 +02:00