summaryrefslogtreecommitdiff
path: root/ick2/workapi_tests.py
AgeCommit message (Collapse)AuthorFilesLines
2019-10-18Revert "Add: MemoryPersitentState"Lars Wirzenius1-2/+3
This reverts commit 581f6cd53f57599326439dccb355e882e7858faa.
2019-10-18Revert "Drop: use of old persistent state classes"Lars Wirzenius1-1/+8
This reverts commit 8344a860d226d8a5172bcb2e9de5946717a950ca.
2019-10-18Revert "Add: TokenGetter"Lars Wirzenius1-15/+1
This reverts commit 7a6bc2f7749c10c1d3344ea0196e81ae95b7f0d7.
2019-08-03Add: TokenGetterLars Wirzenius1-1/+15
2019-08-03Drop: use of old persistent state classesLars Wirzenius1-8/+1
2019-08-03Add: MemoryPersitentStateLars Wirzenius1-3/+2
2018-06-10Add: BuildStateMachine classLars Wirzenius1-47/+124
2018-05-19Change: use build graphs in build resources, instead of action listLars Wirzenius1-0/+5
2018-05-17Change: how controller stores persistent dataLars Wirzenius1-19/+16
Replace old State class with new FilePersistentState and TransactionalState classes. Use new Resource class instead of raw dicts. Use context managers for creating, updating resources, to avoid mistakes from accidentally not saving changes. Overall persistence should now be rather simpler. This should open up a possibility for changing the controller to insert more actions into the build graph, to trigger notifcations via the workers.
2018-04-25Change: GET /work, POST /worker use access token to identify workerLars Wirzenius1-12/+22
2018-04-23Change: all actions must have a "where"Lars Wirzenius1-4/+7
2018-04-19Change: trigger a project, build all pipelines in the projectLars Wirzenius1-11/+6
2018-04-15Add: build_number to work resourceLars Wirzenius1-0/+3
2018-01-19Change: builds are now numbered foo/123, as are logsLars Wirzenius1-8/+8
2018-01-18Change: rename 'name' field on pipelines to 'pipeline'Lars Wirzenius1-1/+1
For consistency.
2018-01-14Add: prepend a create_workspace action to pipelinesLars Wirzenius1-7/+11
This replaces the old fresh_workspace attribute of work resources. It's better this way, because it moves policy from worker-manager to controller, where it belongs.
2018-01-14Add: 2018 to copyright yearsLars Wirzenius1-1/+1
2018-01-14Add: move actions for a build into build resourceLars Wirzenius1-4/+0
This way the list is known later even if the pipeline spec is changed.
2017-11-29Add: set fresh_workspace in work responsesLars Wirzenius1-0/+4
2017-11-26Update: project and work apis to handle named pipelinesLars Wirzenius1-13/+12
2017-11-26Add: unit test check work steps get project paramsLars Wirzenius1-0/+12
2017-11-18Refactor: move WorkAPI tests to its own moduleLars Wirzenius1-0/+192