summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2020-09-21feat: add script to start qemu-system, run ssh against itqemu.v3Lars Wirzenius1-0/+214
2020-09-18fix: glob ./*.py to avoid potential problems with filenames -*.pyLars Wirzenius1-1/+1
2020-09-06Merge branch 'image' into 'master'Lars Wirzenius2-2/+5
Image See merge request larswirzenius/contractor!20
2020-09-06fix(worker.vmdb): mount virtual filesystems after debootstrapLars Wirzenius1-2/+2
Usually it works the original way for me, but not always. The new way is correct.
2020-08-14fix: use files in srcdir for passing in manager address, env varsLars Wirzenius2-9/+39
Subplot now clears the environment before running scenarios so we can't use $CONTRACTOR_ADDRESS to pass in the manager's address. We also need the SSH agent's address so we can authenticate into the manager. set up test.env get env from test.env
2020-08-14Merge branch 'fix' into 'master'Lars Wirzenius2-9/+39
fix: use files in srcdir for passing in manager address, env vars See merge request larswirzenius/contractor!19
2020-08-14fix: use files in srcdir for passing in manager address, env varsLars Wirzenius2-9/+39
Subplot now clears the environment before running scenarios so we can't use $CONTRACTOR_ADDRESS to pass in the manager's address. We also need the SSH agent's address so we can authenticate into the manager. set up test.env get env from test.env
2020-07-06fix: let user override verbose setting from command lineLars Wirzenius1-0/+3
2020-05-25Merge branch 'config' into 'master'Lars Wirzenius1-0/+35
Add config file support Closes #22 See merge request larswirzenius/contractor!18
2020-05-25feat: add --config optionLars Wirzenius1-0/+3
2020-05-25feat: add -C option to read a default config fileLars Wirzenius1-0/+32
2020-05-10Merge branch 'mem' into 'master'Lars Wirzenius1-1/+8
feat: use all the memory on the manager for the worker, sans 2GB Closes #16 See merge request larswirzenius/contractor!17
2020-05-10feat: use all the memory on the manager for the worker, sans 2GBLars Wirzenius1-1/+8
2020-05-10Merge branch 'drop-obsolete' into 'master'Lars Wirzenius2-41/+0
drop: unused create-vm script See merge request larswirzenius/contractor!16
2020-05-10drop: unused create-vm scriptLars Wirzenius2-41/+0
We don't use it, and haven't for a long time. It's just littering the source tree and the manager VM image.
2020-05-10Merge branch 'wsempty' into 'master'Lars Wirzenius1-4/+18
fix: make worker ip extraction more reliable See merge request larswirzenius/contractor!15
2020-05-10fix: make worker ip extraction more reliableLars Wirzenius1-4/+18
We sync the workspace, wiping anything that was there but wasn't in the saved workspace. However, this was buggy: if we did not have a saved workspace specified or it didn't exist yet, we let whatever happened to be on the workspace disk to stay. This was confusing.
2020-05-10Merge branch 'fix' into 'master'Lars Wirzenius1-2/+3
fix: add mention of kpartx to the relevant step in README.md Closes #19 See merge request larswirzenius/contractor!14
2020-05-10fix: add mention of kpartx to the relevant step in README.mdLars Wirzenius1-2/+3
2020-05-10Merge branch 'black' into 'master'Lars Wirzenius1-0/+2
test: run black in check mode as part of ./check See merge request larswirzenius/contractor!13
2020-05-10test: run black in check mode as part of ./checkLars Wirzenius1-0/+2
Life is too short to format code by hand.
2020-05-10Merge branch 'format' into 'master'Lars Wirzenius2-199/+197
refactor: format with black See merge request larswirzenius/contractor!12
2020-05-10refactor: format with blackLars Wirzenius2-199/+197
2020-05-10Merge branch 'argparse' into 'master'Lars Wirzenius2-195/+227
refactor: use argparse instead of cliapp See merge request larswirzenius/contractor!11
2020-05-10refactor: use argparse instead of cliappLars Wirzenius2-195/+227
cliapp is an old, moribund Python project of mine, and argparse is the preferred way to parse the command line now.
2020-05-10Merge branch 'fixes' into 'master'Lars Wirzenius1-0/+2
Fix: add the c class to allowed code block classes See merge request larswirzenius/contractor!10
2020-05-10Fix: add the c class to allowed code block classesLars Wirzenius1-0/+2
Subplot now complains about unknown ones.
2020-05-07Merge branch 'failsave' into 'master'Lars Wirzenius1-1/+5
Change: sync workspace after a build, even if build failed See merge request larswirzenius/contractor!9
2020-05-07Change: sync workspace after a build, even if build failedLars Wirzenius1-1/+5
2020-05-03Merge branch 'fix' into 'master'Lars Wirzenius1-6/+7
Fix: bindings to work with new Subplot patterns See merge request larswirzenius/contractor!8
2020-05-03Fix: bindings to work with new Subplot patternsLars Wirzenius1-6/+7
Subplot has recently added support for simpler patterns for capturing parts or step text, and regular expressions must now be specified explicitly. This commit changes that.
2020-05-03Merge branch 'qemu' into 'master'Lars Wirzenius3-26/+97
Change: add script to run manager VM directly via Qemu See merge request larswirzenius/contractor!7
2020-05-03Change: add script to run manager VM directly via QemuLars Wirzenius3-26/+97
2020-04-24Merge branch 'timings' into 'master'Lars Wirzenius1-123/+111
Improve progress output and timings See merge request larswirzenius/contractor!6
2020-04-24Change: clean up timing and other progress outputLars Wirzenius1-3/+7
2020-04-24Change: attach disk to worker as part of waiting for workerLars Wirzenius1-10/+14
2020-04-24Change: don't do an ssh invocation just to get number of CPUSLars Wirzenius1-38/+19
2020-04-24Refactor: use a 'with Timer' construct for timersLars Wirzenius1-91/+90
2020-04-24Merge branch 'tweaks' into 'master'Lars Wirzenius1-1/+1
Change: run Ansible verbosely See merge request larswirzenius/contractor!5
2020-04-24Change: run Ansible verboselyLars Wirzenius1-1/+1
2020-04-24Merge branch 'ansible' into 'master'Lars Wirzenius2-4/+13
Change: use Ansible to configure worker See merge request larswirzenius/contractor!4
2020-04-24Change: use Ansible to configure workerLars Wirzenius2-4/+13
This means we no longer require the worker to run Debian.
2020-04-23Merge branch 'ansible' into 'master'Lars Wirzenius4-21/+98
Use Ansible to configure worker See merge request larswirzenius/contractor!3
2020-04-23Change: use Ansible for configuring worker, not apt-getLars Wirzenius3-21/+63
2020-04-22Change: worker-vmdb2.ymlLars Wirzenius1-0/+35
2020-04-18Merge branch 'build-verbosely' into 'master'Lars Wirzenius2-9/+16
Build verbosely See merge request larswirzenius/contractor!2
2020-04-18Change: have verbose and quiet versions of executing sequenceLars Wirzenius1-9/+15
2020-04-18Add: log file of contractor when run by SubplotLars Wirzenius1-0/+1
2020-04-18Merge branch 'fixes' into 'master'Lars Wirzenius12-64/+44
Various fixes and cleanups See merge request larswirzenius/contractor!1
2020-04-18Fix: create /workspace, my worker VM images no longer have itLars Wirzenius1-1/+2
The less an image needs to provide, the better.