vsts - Deploying app to Azure Virtual Machine scale set -


i have question deploying app azure virtual scale set. use instruction this blog.

my problem release image azure , more deployment inputs in task "build immutable image".

screen deployment inputs section

and when try release have error:

 [error]error happened while `initializing task: not found file matching pattern: d:\a\r1\a\proj\ under root folder: d:\a\r1\a..` 

how should correct paths look? setting in instructions blog results in same error. this: "d:\a\r1\a\"?

edit:

ok. have dealt problem. should be: deployment package $(system.defaultworkingdirectory)/proj/drop
deployment script deploy/ubuntu/deploynodejsapp.sh

but there second one. in step "buil immutable image" have error:

2017-08-18t13:34:56.6852114z ##[error]error: d:\a\_temp\1503062745199\packer\packer.exe failed return code: 1 2017-08-18t13:34:56.6992118z ##[section]finishing: build immutable image 

and not move on next step: azure powershell script.

in azure storage account have new vhd file, when used in template create scale set still have information continuous delivery not supported on virtual machine scale sets use os images gallery. choose virtual machine scale set uses custom image.

i writer of blog post. can please set syste.debug true , share logs?

blog.devmatter.com/enabling-verbose-output-in-team-foundation-build-logs/

there 2 ways deploy vm scale set. 1 using immutable vhd (which blog talks about) , other using custom script extension.

in immutable vhd approach there 2 requirements: - vhd image should contained in storage account in same location vm scale set created in - vm scale trying update must have been created using custom vhd , not platform image. use immutable vhd approach updating vmss can create vmss using following blog posts:

we working on supporting vmss created using platform image , update should out soon. new approach use custom script extension update apps. vsts related issues can post here: https://developercommunity.visualstudio.com/spaces/21/index.html


Comments

Popular posts from this blog

Is there a better way to structure post methods in Class Based Views -

performance - Why is XCHG reg, reg a 3 micro-op instruction on modern Intel architectures? -

jquery - Responsive Navbar with Sub Navbar -