diff options
author | Sam Thursfield <sam.thursfield@codethink.co.uk> | 2017-11-23 12:01:25 +0000 |
---|---|---|
committer | Sam Thursfield <sam.thursfield@codethink.co.uk> | 2017-11-23 12:02:44 +0000 |
commit | 12e5b8453fafb0f6f34f998227b241efbf1fb94a (patch) | |
tree | 50dfa9a37787be5e2df9ae86d4600bb8f6c7f81a /baserock_ostree | |
parent | c7de0309816af69ddbb753f09df7d5fef5cd8ea3 (diff) | |
download | infrastructure-12e5b8453fafb0f6f34f998227b241efbf1fb94a.tar.gz |
baserock_ostree: Reinstall BuildStream whenever source code is updatedsam/buildstream-update
Diffstat (limited to 'baserock_ostree')
-rw-r--r-- | baserock_ostree/image-config.yml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/baserock_ostree/image-config.yml b/baserock_ostree/image-config.yml index 21c7ba24..2a896ecd 100644 --- a/baserock_ostree/image-config.yml +++ b/baserock_ostree/image-config.yml @@ -42,12 +42,13 @@ - name: buildstream sources git: dest=/home/fedora/buildstream repo=https://gitlab.com/buildstream/buildstream version=bf8fc373d7711861129ab841a74ecf32b3d8b2dd become_user: fedora + register: buildstream_source - name: buildstream installed command: /usr/bin/pip3 install . args: chdir: /home/fedora/buildstream - creates: /usr/bin/bst-artifact-receive + when: buildstream_source.changed # We also install ostree-push/receive, which is used for pushing to the # releases/ repo. |