# Lars Wirzenius. # # Feel free to use this as you wish. It is simple enough that it is # probably not even copyrightable. pipelines: # Save the current contents of the whole workspace, into an artifact # named in the workspace_name parameter. - pipeline: ick/save_workspace parameters: - workspace_name actions: - archive: workspace where: host name_from: workspace_name # Restore a previously saved workspace from the artifact named in # the workspace_name parameter. If no such artifact exists, do # nothing. If the workspace already has content, it will not be # touched, except that files that also exist in the artifact will be # overwritten. - pipeline: ick/restore_workspace parameters: - workspace_name actions: - action: populate_workspace name_from: workspace_name where: host