diff options
author | Lars Wirzenius <liw@liw.fi> | 2018-07-27 11:58:18 +0300 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2018-07-27 11:58:18 +0300 |
commit | 44cb708351309d2c456eb60a726cc8a49627798f (patch) | |
tree | b8aa4a5009f1921956036944a5f903238f7a2e3b /pipelines/systrees.ick | |
parent | b074329faf2a3bfa48c72db7d2b26cef03c7c512 (diff) | |
download | ick2-44cb708351309d2c456eb60a726cc8a49627798f.tar.gz |
Drop: build-dep on pylint3
Diffstat (limited to 'pipelines/systrees.ick')
-rw-r--r-- | pipelines/systrees.ick | 30 |
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 |