diff options
author | Trevor Bramwell <tbramwell@linuxfoundation.org> | 2018-11-01 18:11:11 -0700 |
---|---|---|
committer | Trevor Bramwell <tbramwell@linuxfoundation.org> | 2018-11-01 18:15:19 -0700 |
commit | d447d287c8ba80f2689d365dd7574f887ce8cc27 (patch) | |
tree | 1c545e88131c2c71ce360b02d6d7e9011fc4c126 /jjb/pharos | |
parent | 5f24ca33eae00da304d5a5ba2c023011128dfc7a (diff) |
Deploy Pharos Dashboard on changes to compose file
Instead of deploying the dashboard when changes to any file happens,
only changes to the docker-compose.yml file should trigger a deploy.
The deployment process would then be as follows:
- Tag pharos-tools
- Create a patch to set the tag in 'docker-compose.yml'
- Merge the patch
- New version of dashboard deployed at specific tag
Change-Id: I67a6237f00b96021df24e7a79a063d31f43df5a6
Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
Diffstat (limited to 'jjb/pharos')
-rw-r--r-- | jjb/pharos/pharos-tools.yml | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/jjb/pharos/pharos-tools.yml b/jjb/pharos/pharos-tools.yml index 507e93eb3..ac5d1956e 100644 --- a/jjb/pharos/pharos-tools.yml +++ b/jjb/pharos/pharos-tools.yml @@ -44,10 +44,7 @@ - gerrit-trigger-change-merged: branch: 'master' project: '{project}' - # In the future this should be switch to just the compose file - # for when tags are updated - # files: 'dashboard/docker-compose.yml' - files: 'dashboard/**' + files: 'dashboard/docker-compose.yml' builders: - shell: |