Azure-Templates | Azure Templates for Fortinet Solutions | Azure library
kandi X-RAY | Azure-Templates Summary
kandi X-RAY | Azure-Templates Summary
Azure Templates for Fortinet Solutions
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of Azure-Templates
Azure-Templates Key Features
Azure-Templates Examples and Code Snippets
Community Discussions
Trending Discussions on Azure-Templates
QUESTION
I am trying to copy a video file from GPM to app/dist/asset/images folder before building and deploying docker image.Getting Unexpected value 'Steps' at line 27.
YML file works fine if I remove the step to copy the video file.
...ANSWER
Answered 2020-Aug-06 at 02:13steps
property should be put under stage
level. It's: stage=>job=>steps
So you can't place the steps
there when you're defining a multi-stage yaml pipeline.
1.steps
can be placed directly at first level for simple yaml pipeline(no stages):
QUESTION
I have a template repository for build pipelines say 'azure-templates-repo', I have python task template as mentioned below:
...ANSWER
Answered 2020-Feb-16 at 22:57When you use a template in a pipeline, you are only consuming the .yml template file, not the entire repository that contains the template. So by default no other additional files (besides the template itself) that may exist in the template repository will be available when the primary pipeline is composed.
If you need access to scripts or other files that exist in your template repository you will need to use the checkout task and actually checkout the template repository.
- checkout: git://MyProject/MyTemplateRepo
One thing to be aware of if you go down the path of checking out multiple repositories is that it will cause the structure of your $(Build.SourcesDirectory)
to change. In practice this can cause pain as you have to update any tasks that expected your primary repository location to be at the root of $(Build.SourcesDirectory)
.
That mutation of the $(Build.SourcesDirectory)
might not be a big deal for you for new pipelines. It can turn into a pain if you have lots of pipelines that you want to consume a new template in, that require supporting scripts.
One option is to package the supporting template scripts, and publish them to an internal package feed. Then within your template block pull down the required script as a package. I have used this strategy before with templates that needed supporting powerShell scripts. We pipeline those scripts and publish them as a universal packages, then consume them at the template level.
QUESTION
I'd like to execute my xcuitest suite on azure dev ops in parallel using xcode's out of the box capabilities. Locally, it's as simple as checking the box to enable parallel testing on my test target.
Locally, xcode opens multiple simulators and the tests run as expected. On azure, they run and pass as expected but they take the same amount of time as they usually do, indicating to me that they are not running in parallel. What am I missing here? Are there extra steps I need to take to get them running in parallel via azure dev ops?
Azure-Pipleline.yml snippet
...ANSWER
Answered 2020-Jan-06 at 09:29You can consider to use build matrix which is one feature of YAML to achieve the test ran with multiple simulators:
QUESTION
I'm not able to create a "HostingEnvironments" in a ARM template. I usually use
...ANSWER
Answered 2017-Feb-28 at 07:30According to your description, I assumed that you are deploying your WebApp with App Service Environment via Azure ARM template. Based on your template, I have tested it on my side and I could reproduce this issue.
I found a issue about creating an App Service Environment, and as Stefan Schackow who is the Principal Program Manager Lead of Azure Web Sites commented as follows:
Just in case anyone runs into this - we uncovered a bug where the App Service management infrastructure isn't correctly handling the normalized location string returned from the resourceGroup.Location() call. For now, the workaround is as mentioned above - grab the March 21st version of the templates and explicitly provide a string for "location" in the azuredeploy.parameters.json file.
For now, the workaround is that you need to explicitly provide a string for "location" in the azuredeploy.parameters.json file. I would report this issue, also you could add your feedback here.
QUESTION
I'm using MongoDB with replication(bitnami) on Azure.
I have created three mongodb nodes(1 primary ,1 secondary and 1 arbiter).
When I try to connect with MongoDB connection URI (mongodb://username:password@ip01:27017,ip02:27017,ip03:27017/?readPreference=primary&replicaSet=replicaset)
it gives me error like pymongo.errors.ServerSelectionTimeoutError: 10.0.0.5:27017: timed out,10.0.0.6:27017: [Errno 113] No route to host,10.0.0.4:27017: timed out,10.0.0.7:27017: timed out
I prefered this Official Documentation (Bitnami) for connection url.
ANSWER
Answered 2017-Aug-15 at 01:29According to the official document which you provided.
Ensure that the application is able to connect to each cluster node using its public or private IP address. To ensure connectivity, you have two options:
Host the application in the same network as the MongoDB cluster so that it can address each node using its private IP address. This is the recommended configuration for production environments. Host the application in a different network and assign public IP addresses, with appropriate firewall rules, to the cluster nodes (if not already assigned by default) so that the application can address each node using its public IP address. This configuration is not recommended for production environments.
So, if you test in the same Azure Virtual Network, you could use private IP(example 10.0.0.6). I test in my lab, I use python with this example.
QUESTION
i'd create a WebApp in Azure using a ARM template. The template is composed by :
- VirtualNetwork
- Subnet
- HostingEnvironment
- ServerFarm
- Site.
The creation of Microsoft.Network/virtualNetworks goes fine. The creation of Microsoft.Network/virtualNetworks/subnets goes fine.
During the creation of Microsoft.Web/hostingEnvironments I receive the error 'Cannot find VirtualNetwork with name XXXX'... but the VirtualNetwork is present.
Here the template https://github.com/toto-castaldi/azure-templates/blob/master/serviceApp/template.json
...ANSWER
Answered 2017-Mar-01 at 08:27If use the template that you mentioned, I also can repro the issue. If add the following code in the properties,it can create hostingEnvironment successfully. Please have a try with the following code
QUESTION
In a Azure ARM templates I'm having some problems trying to extract in the OUTPUT section the 'primaryMasterKey' of a DocumentDB created in the RESOURCES section.
The deploy reports this error :
The template output 'documentDbPrimaryMasterKey' is not valid: Index (zero based) must be greater than or equal to zero and less than the size of the argument list.. (Code: DeploymentOutputEvaluationFailed)
The definition of that OUTPUT is :
...ANSWER
Answered 2017-Feb-27 at 13:29Well, you obviously want a string, not an object :)
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install Azure-Templates
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page