Using build matrix and deploy

thomas's Avatar

thomas

15 Feb, 2016 01:36 PM

I have three diffrent targets in my build using a build matrix

  matrix:
    - context: lb
    - context: ssk
    - context: sb

And then a deploy

artifacts:
  - path: agila_matrix.zip
    name: agila_matrix_$(context)
deploy:
  - provider: Environment
    name: lab.agila.se
    on:
      branch: stage

I havn't found a good way to track what build is connected to the specific deploy (this will trigger three builds and three deploys). The build list is simple to follow with three diffrent jobs. But each job triggers a deploy that is identical to each-other in the list.

Also it would be nice to have a feature where you could see what version is deployed where at a glance.

  1. Support Staff 1 Posted by Feodor Fitsner on 15 Feb, 2016 05:42 PM

    Feodor Fitsner's Avatar

    Do you need only one deploy of specific context?

  2. 2 Posted by thomas on 15 Feb, 2016 06:55 PM

    thomas's Avatar

    I solved it by creating multiple environment, för each context. That made it possible to see what is deployed where.

    Some sort of overview of what is deployed where would be nice thou :)

  3. Support Staff 3 Posted by Feodor Fitsner on 15 Feb, 2016 07:59 PM

    Feodor Fitsner's Avatar

    Yeah, will add deployment dashboard soon.

    -Feodor

  4. 4 Posted by thomas on 15 Feb, 2016 10:37 PM

    thomas's Avatar

    :) Very good help, as always!

  5. thomas closed this discussion on 02 Feb, 2018 01:23 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac