Page MenuHomeDevCentral
Feed All Stories

Nov 22 2017

dereckson updated the diff for D1247: Provision PHP web sites on legacy webserver.

Solve merge conflict with tweak change

Nov 22 2017, 05:14
dereckson committed rOPSf3191717a813: Run autochmod on web directories needing it (authored by dereckson).
Run autochmod on web directories needing it
Nov 22 2017, 05:07
dereckson closed D1248: Run autochmod on web directories needing it.
Nov 22 2017, 05:07
dereckson updated the summary of D1248: Run autochmod on web directories needing it.
Nov 22 2017, 05:06
dereckson accepted D1248: Run autochmod on web directories needing it.
Nov 22 2017, 05:06
dereckson created D1248: Run autochmod on web directories needing it.
Nov 22 2017, 05:05
dereckson created D1247: Provision PHP web sites on legacy webserver.
Nov 22 2017, 04:51
dereckson abandoned D1245: Deploy www.dereckson.be on legacy webserver.

I'm going to provide a more generic solution for "useradd, deploy, autochmod, php-fpm".

Nov 22 2017, 04:50
dereckson committed rOPSa5d9e9a3e26b: Deploy autochmod on webserver roles (authored by dereckson).
Deploy autochmod on webserver roles
Nov 22 2017, 04:49
dereckson closed D1246: Deploy autochmod on webserver roles.
Nov 22 2017, 04:49
dereckson accepted D1246: Deploy autochmod on webserver roles.
Nov 22 2017, 04:49
dereckson created D1246: Deploy autochmod on webserver roles.
Nov 22 2017, 04:49
dereckson added a revision to T758: Port for autochmod scripts: D1246: Deploy autochmod on webserver roles.
Nov 22 2017, 04:48 · freebsd-port-wanted, Servers
dereckson updated the diff for D1245: Deploy www.dereckson.be on legacy webserver.

Fix Git syntax for SSH

Nov 22 2017, 02:44
dereckson created D1245: Deploy www.dereckson.be on legacy webserver.
Nov 22 2017, 02:44
dereckson committed rOPSb4d3655626d0: Generate deploy@saltmaster SSH key (authored by dereckson).
Generate deploy@saltmaster SSH key
Nov 22 2017, 02:38
dereckson closed D1244: Generate deploy@saltmaster SSH key.
Nov 22 2017, 02:38
dereckson accepted D1244: Generate deploy@saltmaster SSH key.
Ysul
----------                                                                                                                                                     
          ID: deploy_account_ssh_key                                                                                                                           
    Function: cmd.run                                                                                                                                          
        Name: ssh-keygen -t ed25519 -N "" -f /var/run/deploy/.ssh/id_ed25519                                                                                   
      Result: True                                                                                                                                             
     Comment: Command "ssh-keygen -t ed25519 -N "" -f /var/run/deploy/.ssh/id_ed25519" run                                                                     
     Started: 02:22:49.406960                                                                                                                                  
    Duration: 300.059 ms                                                                                                                                       
     Changes:                                                                                                                                                  
              ----------                                                                                                                                       
              pid:                                                                                                                                             
                  46421                                                                                                                                        
              retcode:                                                                                                                                         
                  0                                                                                                                                            
              stderr:                                                                                                                                          
              stdout:                                                                                                                                          
                  Generating public/private ed25519 key pair.                                                                                                  
                  Your identification has been saved in /var/run/deploy/.ssh/id_ed25519.                                                                       
                  Your public key has been saved in /var/run/deploy/.ssh/id_ed25519.pub.                                                                       
                  The key fingerprint is:                                                                                                                      
                  SHA256:e5ITOWVFiQqrVAXp9BMJzwX1vjxsPLCW4gCoJfaxnaM deploy@ysul.nasqueron.org                                                                 
                  The key's randomart image is:                                                                                                                
                  +--[ED25519 256]--+                                                                                                                          
                  |      o=o+ooo.   |                                                                                                                          
                  |      =oo..o.    |                                                                                                                          
                  |     + +ooo .    |                                                                                                                          
                  |   .. o ++ .     |                                          
                  |..oo..  S.. .    |                                                                                                                        
                  |.+. =..  = B .   |                                             
                  |.  o +. * = O    |                                               
                  |    . .o * . o   |               
                  |   E    .        |                                                                                                                          
                  +----[SHA256]-----+
Nov 22 2017, 02:38
dereckson created D1244: Generate deploy@saltmaster SSH key.
Nov 22 2017, 02:37
dereckson committed rOPS401fbbd2e855: Don't install GNU grep on FreeBSD servers (authored by dereckson).
Don't install GNU grep on FreeBSD servers
Nov 22 2017, 02:12
dereckson added a reverting change for rOPS50b62a8499e0: Install GNU sed and grep on FreeBSD dev servers: rOPS401fbbd2e855: Don't install GNU grep on FreeBSD servers.
Nov 22 2017, 02:12
dereckson closed D1242: Don't install GNU grep on FreeBSD servers.
Nov 22 2017, 02:12
dereckson updated the summary of D1242: Don't install GNU grep on FreeBSD servers.
Nov 22 2017, 02:10
dereckson accepted D1242: Don't install GNU grep on FreeBSD servers.
Nov 22 2017, 02:09
dereckson committed rVIPERcf06f027f7f8: Connect TC2 to MySQL database at startup (authored by dereckson).
Connect TC2 to MySQL database at startup
Nov 22 2017, 02:01
dereckson closed D1243: Connect TC2 to MySQL database at startup.
Nov 22 2017, 02:01
dereckson updated the task description for T1324: Create logs/<bot> directories.
Nov 22 2017, 01:56 · Dæghrefn, Regression
dereckson renamed T1324: Create logs/<bot> directories from Create logs/TC2 directory to Create logs/<bot> directories.
Nov 22 2017, 01:56 · Dæghrefn, Regression
dereckson updated the task description for T1324: Create logs/<bot> directories.
Nov 22 2017, 01:55 · Dæghrefn, Regression
dereckson accepted D1243: Connect TC2 to MySQL database at startup.
Nov 22 2017, 01:53
dereckson renamed T1309: Deploy Dæghrefn, Wearg and TC2 through Salt from Deploy Dæghrefn through Salt to Deploy Dæghrefn, Wearg and TC2 through Salt.
Nov 22 2017, 01:52 · Operations sprints (The Dreadnought will produce new officers), Salt, Dæghrefn
dereckson added a subtask for T1309: Deploy Dæghrefn, Wearg and TC2 through Salt: T1324: Create logs/<bot> directories.
Nov 22 2017, 01:52 · Operations sprints (The Dreadnought will produce new officers), Salt, Dæghrefn
dereckson added a parent task for T1324: Create logs/<bot> directories: T1309: Deploy Dæghrefn, Wearg and TC2 through Salt.
Nov 22 2017, 01:52 · Dæghrefn, Regression
dereckson claimed T1324: Create logs/<bot> directories.
Nov 22 2017, 01:51 · Dæghrefn, Regression
dereckson created D1243: Connect TC2 to MySQL database at startup.
Nov 22 2017, 01:50
dereckson created D1242: Don't install GNU grep on FreeBSD servers.
Nov 22 2017, 01:19
dereckson moved T1318: Deinstall GNU grep as it doesn't prefix the command from Backlog to Working on on the Operations sprints (The Dreadnought will produce new officers) board.
Nov 22 2017, 01:16 · Operations sprints (The Dreadnought will produce new officers), Salt, Servers
dereckson committed rOPSaa9af23789d1: Document make.conf as autogenerated (authored by dereckson).
Document make.conf as autogenerated
Nov 22 2017, 01:16
dereckson closed T1319: rOPS make.conf doesn't have header as Resolved by committing rOPSaa9af23789d1: Document make.conf as autogenerated.
Nov 22 2017, 01:16 · Operations sprints (The Dreadnought will produce new officers), Servers
dereckson closed D1241: Document make.conf as autogenerated.
Nov 22 2017, 01:16
dereckson accepted D1241: Document make.conf as autogenerated.
Nov 22 2017, 01:15
dereckson created D1241: Document make.conf as autogenerated.
Nov 22 2017, 01:15
dereckson added a revision to T1319: rOPS make.conf doesn't have header: D1241: Document make.conf as autogenerated.
Nov 22 2017, 01:15 · Operations sprints (The Dreadnought will produce new officers), Servers
dereckson updated the task description for T1319: rOPS make.conf doesn't have header.
Nov 22 2017, 01:14 · Operations sprints (The Dreadnought will produce new officers), Servers
dereckson moved T1319: rOPS make.conf doesn't have header from Backlog to Working on on the Operations sprints (The Dreadnought will produce new officers) board.
Nov 22 2017, 01:07 · Operations sprints (The Dreadnought will produce new officers), Servers
dereckson closed T1309: Deploy Dæghrefn, Wearg and TC2 through Salt, a subtask of T1268: Reprovision Ysul, as Resolved.
Nov 22 2017, 01:06 · Operations sprints (The Dreadnought will produce new officers), Salt, Servers
dereckson closed T1309: Deploy Dæghrefn, Wearg and TC2 through Salt as Resolved.

This service correctly uses the 9002 deploy group, and reload/graceful are "nice to have", not blocker for deployment through rOPS, so we can call it done after these 21 commits.

Nov 22 2017, 01:06 · Operations sprints (The Dreadnought will produce new officers), Salt, Dæghrefn
dereckson committed rOPS7a72df4763b4: Provide services for eggdrop (authored by dereckson).
Provide services for eggdrop
Nov 22 2017, 01:04
dereckson closed D1236: Provide services for eggdrop.
Nov 22 2017, 01:04
dereckson accepted D1236: Provide services for eggdrop.

PATH is now correct:

Nov 22 2017, 01:03
dereckson updated the diff for D1236: Provide services for eggdrop.

Set also PATH env variable in addition to HOME

Nov 22 2017, 00:54

Nov 21 2017

dereckson planned changes to D1236: Provide services for eggdrop.

Manually set /sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/$eggdrop_user_home/bin as path.

Nov 21 2017, 01:17
dereckson added a comment to D1236: Provide services for eggdrop.

The following environment has been defined by the last service update.

Nov 21 2017, 01:16
dereckson updated the diff for D1236: Provide services for eggdrop.

Set HOME environment variable

Nov 21 2017, 01:14
dereckson moved T1309: Deploy Dæghrefn, Wearg and TC2 through Salt from Debt to Working on on the Dæghrefn board.
Nov 21 2017, 00:59 · Operations sprints (The Dreadnought will produce new officers), Salt, Dæghrefn
dereckson moved T1021: Fix "New images pushed to Docker Hub" timer from Working on to Notifications on the Dæghrefn board.
Nov 21 2017, 00:58 · Dæghrefn
dereckson moved T1249: Increase Twitter message characters limit from Working on to Backlog on the Dæghrefn board.
Nov 21 2017, 00:58 · upstream, Wikimedia, Dæghrefn
dereckson lowered the priority of T1323: Handle SIGHUP and SIGTERM signals from High to Low.
Nov 21 2017, 00:58 · good-first-issue, Dæghrefn
dereckson created T1323: Handle SIGHUP and SIGTERM signals.
Nov 21 2017, 00:57 · good-first-issue, Dæghrefn
dereckson committed rOPS0e3c8fdc8dbd: Install eggdrop man on viperserv role (authored by dereckson).
Install eggdrop man on viperserv role
Nov 21 2017, 00:49
dereckson closed D1240: Install eggdrop man on viperserv role.
Nov 21 2017, 00:49
dereckson accepted D1240: Install eggdrop man on viperserv role.
Nov 21 2017, 00:48
dereckson added a comment to D1240: Install eggdrop man on viperserv role.
Salt master
      ID: eggdrop_man
Function: cmd.run
    Name: gzip < /opt/eggdrop/doc/man1/eggdrop.1 > /usr/local/man/man1/eggdrop.1.gz
  Result: True
 Comment: Command "gzip < /opt/eggdrop/doc/man1/eggdrop.1 > /usr/local/man/man1/eggdrop.1.gz" run
 Started: 00:45:35.888782
Duration: 221.548 ms   
 Changes:
          ----------
          pid:
              94234
          retcode:
              0
          stderr:
          stdout:
Nov 21 2017, 00:48
dereckson added a revision to T1309: Deploy Dæghrefn, Wearg and TC2 through Salt: D1240: Install eggdrop man on viperserv role.
Nov 21 2017, 00:48 · Operations sprints (The Dreadnought will produce new officers), Salt, Dæghrefn
dereckson updated the summary of D1240: Install eggdrop man on viperserv role.
Nov 21 2017, 00:48
dereckson created D1240: Install eggdrop man on viperserv role.
Nov 21 2017, 00:48
dereckson added a comment to D1237: Allow to read MySQL credentials from my.cnf.
Test in TC2
00:18 <dereckson> .s Core
00:20 <dereckson> .tcl sql7 disconnect
00:21 <dereckson> .tcl dict keys [readmycnf /var/run/tc2/.my.cnf]
00:21 <TC2> Tcl: host user password
00:21 <dereckson> .tcl sqlconnect sql7 /var/run/tc2/.my.cnf
00:21 <TC2> Tcl: 
00:22 <dereckson> .tcl sql7 "SELECT 1+1"
00:22 <TC2> Tcl: 2
Nov 21 2017, 00:25
dereckson committed rVIPERbe5e31eda166: Allow to read MySQL credentials from my.cnf (authored by dereckson).
Allow to read MySQL credentials from my.cnf
Nov 21 2017, 00:24
dereckson closed D1237: Allow to read MySQL credentials from my.cnf.
Nov 21 2017, 00:24
dereckson accepted D1237: Allow to read MySQL credentials from my.cnf.
Nov 21 2017, 00:23
dereckson updated the diff for D1237: Allow to read MySQL credentials from my.cnf.

Rebased

Nov 21 2017, 00:22
dereckson closed T1321: Move oauth to vendor as Resolved.
Nov 21 2017, 00:11 · Dæghrefn
dereckson committed rOPS06305e565f3a: Update ViperServ oauth.tcl path (authored by dereckson).
Update ViperServ oauth.tcl path
Nov 21 2017, 00:10
dereckson closed D1238: Update ViperServ oauth.tcl path.
Nov 21 2017, 00:10
dereckson updated the summary of D1238: Update ViperServ oauth.tcl path.
Nov 21 2017, 00:10
dereckson committed rVIPER874fd8870ffd: Move oauth to vendor (authored by dereckson).
Move oauth to vendor
Nov 21 2017, 00:10
dereckson closed D1239: Move oauth to vendor.
Nov 21 2017, 00:10
dereckson accepted D1239: Move oauth to vendor.
Nov 21 2017, 00:08
dereckson accepted D1238: Update ViperServ oauth.tcl path.
Nov 21 2017, 00:08
dereckson added a revision to T1321: Move oauth to vendor: D1239: Move oauth to vendor.
Nov 21 2017, 00:08 · Dæghrefn
dereckson created D1239: Move oauth to vendor.
Nov 21 2017, 00:08

Nov 20 2017

dereckson created D1238: Update ViperServ oauth.tcl path.
Nov 20 2017, 23:59
dereckson added a revision to T1321: Move oauth to vendor: D1238: Update ViperServ oauth.tcl path.
Nov 20 2017, 23:59 · Dæghrefn
dereckson updated the task description for T1321: Move oauth to vendor.
Nov 20 2017, 01:00 · Dæghrefn
dereckson added a project to T1321: Move oauth to vendor: Dæghrefn.
Nov 20 2017, 01:00 · Dæghrefn
dereckson added a project to T1322: Review maintenance/ README: Dæghrefn.
Nov 20 2017, 01:00 · Dæghrefn

Nov 19 2017

dereckson added a revision to T1309: Deploy Dæghrefn, Wearg and TC2 through Salt: D1237: Allow to read MySQL credentials from my.cnf.
Nov 19 2017, 05:18 · Operations sprints (The Dreadnought will produce new officers), Salt, Dæghrefn
dereckson created D1237: Allow to read MySQL credentials from my.cnf.
Nov 19 2017, 05:18
dereckson planned changes to D1236: Provide services for eggdrop.

The daemon command starts the process with / as $HOME instead of /var/run/tc2:

Nov 19 2017, 04:39
dereckson added a revision to T1309: Deploy Dæghrefn, Wearg and TC2 through Salt: D1236: Provide services for eggdrop.
Nov 19 2017, 04:36 · Operations sprints (The Dreadnought will produce new officers), Salt, Dæghrefn
dereckson created D1236: Provide services for eggdrop.
Nov 19 2017, 04:36
dereckson triaged T1320: PID files should be in /var/run/viperserv and not in /srv/viperserv as Normal priority.
Nov 19 2017, 00:30 · Salt, Operations sprints (The Dreadnought will produce new officers), Dæghrefn
dereckson committed rOPSfb5c31c730ea: Store eggdrop PID files to /var/run/<bot account> (authored by dereckson).
Store eggdrop PID files to /var/run/<bot account>
Nov 19 2017, 00:29
dereckson closed T1320: PID files should be in /var/run/viperserv and not in /srv/viperserv, a subtask of T1309: Deploy Dæghrefn, Wearg and TC2 through Salt, as Resolved.
Nov 19 2017, 00:29 · Operations sprints (The Dreadnought will produce new officers), Salt, Dæghrefn
dereckson closed T1320: PID files should be in /var/run/viperserv and not in /srv/viperserv as Resolved by committing rOPSfb5c31c730ea: Store eggdrop PID files to /var/run/<bot account>.
Nov 19 2017, 00:29 · Salt, Operations sprints (The Dreadnought will produce new officers), Dæghrefn
dereckson closed D1235: Store eggdrop PID files to /var/run/<bot account>.
Nov 19 2017, 00:29
dereckson accepted D1235: Store eggdrop PID files to /var/run/<bot account>.
Nov 19 2017, 00:28
dereckson added a revision to T1320: PID files should be in /var/run/viperserv and not in /srv/viperserv: D1235: Store eggdrop PID files to /var/run/<bot account>.
Nov 19 2017, 00:27 · Salt, Operations sprints (The Dreadnought will produce new officers), Dæghrefn
dereckson created D1235: Store eggdrop PID files to /var/run/<bot account>.
Nov 19 2017, 00:27
dereckson committed rVIPER1aef52884cef: Provide a .env command to dump environment (authored by dereckson).
Provide a .env command to dump environment
Nov 19 2017, 00:22