Deploy Pharos Dashboard on changes to compose file 05/64405/2
authorTrevor Bramwell <tbramwell@linuxfoundation.org>
Fri, 2 Nov 2018 01:11:11 +0000 (18:11 -0700)
committerTrevor Bramwell <tbramwell@linuxfoundation.org>
Fri, 2 Nov 2018 01:15:19 +0000 (18:15 -0700)
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>
jjb/pharos/pharos-tools.yml

index 507e93e..ac5d195 100644 (file)
       - 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: