summaryrefslogtreecommitdiff
path: root/pipelines/systrees.ick
diff options
context:
space:
mode:
Diffstat (limited to 'pipelines/systrees.ick')
-rw-r--r--pipelines/systrees.ick30
1 files changed, 28 insertions, 2 deletions
diff --git a/pipelines/systrees.ick b/pipelines/systrees.ick
index d675a48..b6da798 100644
--- a/pipelines/systrees.ick
+++ b/pipelines/systrees.ick
@@ -37,11 +37,37 @@ pipelines:
where: host
# Prepare container for building: use the artifact named in the
- # artifact_name parameter.
+ # systree_name parameter.
- pipeline: ick/setup_container
parameters:
- - artifact_name
+ - systree_name
actions:
- action: populate_systree
+ name_from: systree_name
where: host
+
+ # Archive current systree as the artifact named in the artifact_name
+ # parameter.
+
+ - pipeline: ick/archive_systree
+ parameters:
+ - artifact_name
+ actions:
+ - archive: systree
+ name_from: artifact_name
+ where: host
+
+ # In a Debian container, install packages listed in the packages
+ # parameter.
+
+ - pipeline: ick/install_debian_packages
+ parameters:
+ - packages
+ actions:
+ - python: |
+ import os, subprocess
+ def runcmd(argv, **kwargs):
+ subprocess.check_call(argv, **kwargs)
+ runcmd(['apt-get', 'install', '-y'] + params['packages'])
+ where: container