Multi Tier Deployment

Jonathan Ruckert's Avatar

Jonathan Ruckert

16 Nov, 2014 11:42 PM

Hi,

 I am trying to understand the best approach for deployment to a multi tier application using the AppVeyor deployment agent.

For example, lets say I have a project that contains 3 artifacts zip files.

I wish to deploy "artifact1" to "server 1" and "server 2", "artifact2" to "server 3", and "artifact3" to "workstation 1".

How best would we configure our YML/Deployment environment to achieve this outcome. Would it be best to use powershell in this instance, and would the Agent download all artifacts to each server/workstation and then work out what to deploy?

Cheers,
Jonathan

  1. Support Staff 1 Posted by Feodor Fitsner on 17 Nov, 2014 06:39 PM

    Feodor Fitsner's Avatar

    Hi Jonathan,

    First, you should have 4 environments defined on Environments page. "Server 1" and "Server 2" environments have the same "Environment access key" as it's kinda cluster for hosting the same artifact "artifact1". All 4 environments have appropriate settings for 3 artifacts (deploy as website, service, etc.).

    Then in appveyor.yml you could have something like:

    - provider: Environment
      name: server 1
    - provider: Environment
      name: server 2
    - provider: Environment
      name: server 3
    - provider: Environment
      name: workstation 1
    
  2. Ilya Finkelshteyn closed this discussion on 25 Aug, 2018 01:49 AM.

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