get buildmaster config synced up with the corresponding git repo #2362

Closed
opened 2015-01-13 17:57:35 +00:00 by warner · 1 comment

Currently the tahoe buildmaster config has diverged from the git repo that's supposed to contain it. Fix this, and nail down a workflow to make it less likely to happen in the future.

Currently the tahoe buildmaster config has diverged from the git repo that's supposed to contain it. Fix this, and nail down a workflow to make it less likely to happen in the future.
warner added the
dev-infrastructure
normal
defect
1.10.0
labels 2015-01-13 17:57:35 +00:00
warner added this to the soon (release n/a) milestone 2015-01-13 17:57:35 +00:00
warner self-assigned this 2015-01-13 17:57:35 +00:00
Author

The buildmaster config is now mirrored to https://github.com/tahoe-lafs/buildbot-config-tahoe , and my (noisy but effective) workflow is to modify master.cfg on my local machine, commit, push to github, then pull from github down to org.

Bad properties of this workflow:

  • I wind up committing syntax errors and other mistakes, because I can't use buildbot checkconfig to test my changes before committing
  • I compare git hashes before restarting the buildmaster, but if I didn't, then github would have the opportunity to tamper with the config.

Sometimes I use a different workflow: edit on org, test in-place, commit (using an alias in the buildmaster account named git-commit-warner which adds --author), then push to github (there's a "deploy key" configured to enable org to push to github). This fixes both of the bad properties above, at the expense of being slightly more annoying (using emacs remotely, over TRAMP, is slow).

Anyways, we're in sync now, and there's at least one functional workflow to stay that way, so I'm closing this one.

The buildmaster config is now mirrored to <https://github.com/tahoe-lafs/buildbot-config-tahoe> , and my (noisy but effective) workflow is to modify master.cfg on my local machine, commit, push to github, then pull from github down to org. Bad properties of this workflow: * I wind up committing syntax errors and other mistakes, because I can't use `buildbot checkconfig` to test my changes before committing * I compare git hashes before restarting the buildmaster, but if I didn't, then github would have the opportunity to tamper with the config. Sometimes I use a different workflow: edit on org, test in-place, commit (using an alias in the buildmaster account named `git-commit-warner` which adds `--author`), then push to github (there's a "deploy key" configured to enable org to push to github). This fixes both of the bad properties above, at the expense of being slightly more annoying (using emacs remotely, over TRAMP, is slow). Anyways, we're in sync now, and there's at least one functional workflow to stay that way, so I'm closing this one.
warner added the
fixed
label 2015-03-20 19:41:52 +00:00
warner modified the milestone from soon (release n/a) to 1.10.1 2015-03-20 19:41:52 +00:00
tahoe-lafs added
n/a
and removed
1.10.0
labels 2015-04-12 22:24:54 +00:00
tahoe-lafs modified the milestone from 1.10.1 to soon (release n/a) 2015-04-12 22:24:54 +00:00
Sign in to join this conversation.
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Reference: tahoe-lafs/trac-2024-07-25#2362
No description provided.