Giter Club home page Giter Club logo

azuredevopslabs's Introduction

layout title keywords tags permalink comments landingpage description
homepage
Azure DevOps Hands-On Labs
ALM VM homepage
overview
default.html
true
false
Learn how you can implement modern DevOps practices with Azure, Azure DevOps Services and Team Foundation Server

What is DevOps?

DevOps brings together people, processes, and technology, automating software delivery to provide continuous value to your users.
DevOps automates and speeds software delivery. It makes your process and your products more reliable.

New to Azure DevOps?

Don't have an account? No worries! Sign up for free Azure DevOps Organization

Sign Up for free now

Azure DevOps Learning Path

Learn new skills and discover the power of Azure DevOps at Microsoft Learn. Start your learning journey today.

Visit Microsoft Learn

Getting started with Azure DevOps

Simplify and speed up the DevOps process with Azure DevOps services. The following labs will help you to get started with Azure DevOps services to automate software delivery and meet business needs.

Azure DevOps

Want even more hands-on experience? Azure DevOps courses are now available on Microsoft Learn. Visit Microsoft Learn


Deep Dive into Azure DevOps

Azure DevOps provides integration with popular open source and third-party tools and services—across the entire DevOps workflow. Use the tools and languages you know. Spend less time integrating and more time delivering higher-quality software, faster.

Deep dive into Azure DevOps

azuredevopslabs's People

Contributors

alahl-23 avatar bradygaster avatar bspann avatar edinc avatar edkaim avatar elamalani avatar etpedror avatar gidavies avatar hkamel avatar hoyg avatar hsachinraj avatar iamsrivatsa avatar ittkm avatar jakobehn avatar joelbyford avatar kevin-hinz avatar lucasmior avatar microsoftopensource avatar mikaelkrief avatar mkennten avatar mpieler1 avatar omarv74 avatar praneet22 avatar sangramrath avatar sriramdasbalaji avatar srivatsamarichi avatar stephanieherr avatar surajshenoy avatar turibbio avatar unaihuete93 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

azuredevopslabs's Issues

Cannot sign in for Azure DevOps labs

Hello,

Whenever I try to launch an Azure DevOps lab via Hands-On Labs , I am redirected to a sign in page where I am unable to successfully sign in.

After entering my [alias]@microsoft.com e-mail address, I see this error page where my employee ID @microsoft is shown instead.

image

I have tried signing in private/incognito mode in Edge, Chrome, and in Firefox.

I would love to be able to run these labs and start learning ASAP.

Thank you for your time,
Nile

Azure DevOps custom templates

First things first, we are in awe of what you have done with the Azure DevOps demo generator. Your work is phenomenal and gets anyone to start using Azure, Azure DevOps along with third-party tools like LaunchDarkly within an hour to 2 hours time. Thank you for providing guidance there.

I was wondering if there is any way, we can use this template to be able to work through it to cater to other feature flagging systems as well. As per #190, I learn that there is a possibility to opensource this work; so that everyone can benefit from this.

Would it be possible for you folks to spill some beans and let us know when we can expect the code/template to be open-sourced in the near future?

Can't wait to hear from you!

Push Services - Docker Hub instead of ACR

Great Lab!

I'm getting an issue on the Push Services Task:

##[section]Starting: Push services
==============================================================================
Task         : Docker Compose
Description  : Build, push or run multi-container Docker applications. Task can be used with Docker or Azure Container registry.
Version      : 0.4.26
Author       : Microsoft Corporation
Help         : [More Information](https://go.microsoft.com/fwlink/?linkid=848006)
==============================================================================
[command]/usr/bin/docker push mhcpoccr/myhealth.web
The push refers to repository [docker.io/mhcpoccr/myhealth.web]
581c38738922: Preparing
921502301d44: Preparing
c2098182c4e3: Preparing
710c451c25c8: Preparing
fa998e2f5e4b: Preparing
f64f9ef42fcb: Preparing
919f29a58bd0: Preparing
919f29a58bd0: Waiting
f64f9ef42fcb: Waiting
denied: requested access to the resource is denied
##[error]denied: requested access to the resource is denied
##[error]/usr/bin/docker failed with return code: 1
##[section]Finishing: Push services

Seems to be attempting a push to Docker Hub instead of my Azure container registry, any thoughts appreciated!

Filter build result by trigger

The connector allows you to post on Teams the result of each build. However it isn't possible to filter them based on the trigger. Therefore the channel can be flooded due to PR builds. Would it be possible to filter by trigger (that way we can show only Individual CI and check when the master is broken). Thanks

local cert issues

Not sure if this is the correct repo to report this; however I'm seeing an issue with a local install of AzureDevOps and cloning repos in VisualStudio 2019 and using GIT at the commandline

the error I'm seeing is

Cloning into 'xxxxx'...
Error encountered while cloning the remote repository: Git failed with a fatal error.
unable to access 'https://xxxx/DefaultCollection/xxx/_git/xxx/': SSL certificate problem: self signed certificate

Missing information in "Enabling Continuous Delivery" lab

In Task 2 in Exercise 3 in the "Enabling Continuous Delivery" lab the configuration for the Source in Windows Machine File Copy task is missing \Dev\ in the path.

I configured the path as the instructions said to:
$(Build.Repository.LocalPath)\FabrikamFiber.CallCenter\FabrikamFiber.Web
But the build failed. So I checked the path and at least on my ALMVM the correct path is
$(Build.Repository.LocalPath)\Dev\FabrikamFiber.CallCenter\FabrikamFiber.Web

DevOps plugin for Jenkins problem

I wasn't able to use DevOps plugin for Jenkins to integrate with my Jenkins.

image

image

Request:

Method: POST
URI: http://ado1.eastasia.cloudapp.azure.com//team-events/gitPush
HTTP Version: 1.1
Headers:
{
  X-VSS-ActivityId: 73102e8f-a9e8-0001-4f0c-fb6d8f1cd501
  X-VSS-SubscriptionId: 00000000-0000-0000-0000-000000000000
  User-Agent: VSServices/16.152.29003.6
  User-Agent: (w3wp.exe)
  Authorization: Basic ********
  Jenkins-Crumb: a84242d9da6165466e70237e8a3006ab
  Content-Type: application/json; charset=utf-8
}
Content:
{"id":"03c164c2-8912-4d5e-8009-3707d5f83734","eventType":"git.push","publisherId":"tfs","message":{"text":"Jamal Hartnett pushed updates to Fabrikam-Fiber-Git:master.","html":"Jamal Hartnett pushed updates to Fabrikam-Fiber-Git:master.","markdown":"Jamal Hartnett pushed updates to `Fabrikam-Fiber-Git`:`master`."},"detailedMessage":{"text":"Jamal Hartnett pushed a commit to Fabrikam-Fiber-Git:master.\n - Fixed bug in web.config file 33b55f7c","html":"Jamal Hartnett pushed a commit to <a href=\"https://fabrikam-fiber-inc.visualstudio.com/DefaultCollection/_git/Fabrikam-Fiber-Git/\">Fabrikam-Fiber-Git</a>:<a href=\"https://fabrikam-fiber-inc.visualstudio.com/DefaultCollection/_git/Fabrikam-Fiber-Git/#version=GBmaster\">master</a>.\n<ul>\n<li>Fixed bug in web.config file <a href=\"https://fabrikam-fiber-inc.visualstudio.com/DefaultCollection/_git/Fabrikam-Fiber-Git/commit/33b55f7cb7e7e245323987634f960cf4a6e6bc74\">33b55f7c</a>\n</ul>","markdown":"Jamal Hartnett pushed a commit to [Fabrikam-Fiber-Git](https://fabrikam-fiber-inc.visualstudio.com/DefaultCollection/_git/Fabrikam-Fiber-Git/):[master](https://fabrikam-fiber-inc.visualstudio.com/DefaultCollection/_git/Fabrikam-Fiber-Git/#version=GBmaster).\n* Fixed bug in web.config file [33b55f7c](https://fabrikam-fiber-inc.visualstudio.com/DefaultCollection/_git/Fabrikam-Fiber-Git/commit/33b55f7cb7e7e245323987634f960cf4a6e6bc74)"},"resource":{"commits":[{"commitId":"33b55f7cb7e7e245323987634f960cf4a6e6bc74","author":{"name":"Jamal Hartnett","email":"[email protected]","date":"2015-02-25T19:01:00Z"},"committer":{"name":"Jamal Hartnett","email":"[email protected]","date":"2015-02-25T19:01:00Z"},"comment":"Fixed bug in web.config file","url":"https://fabrikam-fiber-inc.visualstudio.com/DefaultCollection/_git/Fabrikam-Fiber-Git/commit/33b55f7cb7e7e245323987634f960cf4a6e6bc74"}],"refUpdates":[{"name":"refs/heads/master","oldObjectId":"aad331d8d3b131fa9ae03cf5e53965b51942618a","newObjectId":"33b55f7cb7e7e245323987634f960cf4a6e6bc74"}],"repository":{"id":"278d5cd2-584d-4b63-824a-2ba458937249","name":"Fabrikam-Fiber-Git","url":"https://fabrikam-fiber-inc.visualstudio.com/DefaultCollection/_apis/git/repositories/278d5cd2-584d-4b63-824a-2ba458937249","project":{"id":"6ce954b1-ce1f-45d1-b94d-e6bf2464ba2c","name":"Fabrikam-Fiber-Git","url":"https://fabrikam-fiber-inc.visualstudio.com/DefaultCollection/_apis/projects/6ce954b1-ce1f-45d1-b94d-e6bf2464ba2c","state":"wellFormed","visibility":"unchanged","lastUpdateTime":"0001-01-01T00:00:00"},"defaultBranch":"refs/heads/master","remoteUrl":"https://fabrikam-fiber-inc.visualstudio.com/DefaultCollection/_git/Fabrikam-Fiber-Git"},"pushedBy":{"displayName":"Jamal Hartnett","id":"[email protected]","uniqueName":"[email protected]"},"pushId":14,"date":"2014-05-02T19:17:13.3309587Z","url":"https://fabrikam-fiber-inc.visualstudio.com/DefaultCollection/_apis/git/repositories/278d5cd2-584d-4b63-824a-2ba458937249/pushes/14"},"resourceVersion":"1.0","resourceContainers":{"collection":{"id":"c12d0eb8-e382-443b-9f9c-c52cba5014c2"},"account":{"id":"f844ec47-a9db-4511-8281-8b63f4eaf94e"},"project":{"id":"be9b3917-87e6-42a4-a549-2bc06a7a878f"}},"createdDate":"2019-06-11T06:26:51.4129483Z"}

Response:

Status Code: 400
Reason Phrase: Bad Request
HTTP Version: 1.1
Headers:
{
  Connection: keep-alive
  X-Content-Type-Options: nosniff
  X-Error-Message: Invalid event
  Date: Tue, 11 Jun 2019 06:26:52 GMT
  Server: nginx
  Content-Length: 6957
  Content-Type: text/plain; charset=utf-8
}

Event:

{
    "id": "03c164c2-8912-4d5e-8009-3707d5f83734",
    "eventType": "git.push",
    "publisherId": "tfs",
    "message": {
        "text": "Jamal Hartnett pushed updates to Fabrikam-Fiber-Git:master.",
        "html": "Jamal Hartnett pushed updates to Fabrikam-Fiber-Git:master.",
        "markdown": "Jamal Hartnett pushed updates to `Fabrikam-Fiber-Git`:`master`."
    },
    "detailedMessage": {
        "text": "Jamal Hartnett pushed a commit to Fabrikam-Fiber-Git:master.\n - Fixed bug in web.config file 33b55f7c",
        "html": "Jamal Hartnett pushed a commit to <a href=\"https://fabrikam-fiber-inc.visualstudio.com/DefaultCollection/_git/Fabrikam-Fiber-Git/\">Fabrikam-Fiber-Git</a>:<a href=\"https://fabrikam-fiber-inc.visualstudio.com/DefaultCollection/_git/Fabrikam-Fiber-Git/#version=GBmaster\">master</a>.\n<ul>\n<li>Fixed bug in web.config file <a href=\"https://fabrikam-fiber-inc.visualstudio.com/DefaultCollection/_git/Fabrikam-Fiber-Git/commit/33b55f7cb7e7e245323987634f960cf4a6e6bc74\">33b55f7c</a>\n</ul>",
        "markdown": "Jamal Hartnett pushed a commit to [Fabrikam-Fiber-Git](https://fabrikam-fiber-inc.visualstudio.com/DefaultCollection/_git/Fabrikam-Fiber-Git/):[master](https://fabrikam-fiber-inc.visualstudio.com/DefaultCollection/_git/Fabrikam-Fiber-Git/#version=GBmaster).\n* Fixed bug in web.config file [33b55f7c](https://fabrikam-fiber-inc.visualstudio.com/DefaultCollection/_git/Fabrikam-Fiber-Git/commit/33b55f7cb7e7e245323987634f960cf4a6e6bc74)"
    },
    "resource": {
        "commits": [
            {
                "commitId": "33b55f7cb7e7e245323987634f960cf4a6e6bc74",
                "author": {
                    "name": "Jamal Hartnett",
                    "email": "[email protected]",
                    "date": "2015-02-25T19:01:00Z"
                },
                "committer": {
                    "name": "Jamal Hartnett",
                    "email": "[email protected]",
                    "date": "2015-02-25T19:01:00Z"
                },
                "comment": "Fixed bug in web.config file",
                "url": "https://fabrikam-fiber-inc.visualstudio.com/DefaultCollection/_git/Fabrikam-Fiber-Git/commit/33b55f7cb7e7e245323987634f960cf4a6e6bc74"
            }
        ],
        "refUpdates": [
            {
                "name": "refs/heads/master",
                "oldObjectId": "aad331d8d3b131fa9ae03cf5e53965b51942618a",
                "newObjectId": "33b55f7cb7e7e245323987634f960cf4a6e6bc74"
            }
        ],
        "repository": {
            "id": "278d5cd2-584d-4b63-824a-2ba458937249",
            "name": "Fabrikam-Fiber-Git",
            "url": "https://fabrikam-fiber-inc.visualstudio.com/DefaultCollection/_apis/git/repositories/278d5cd2-584d-4b63-824a-2ba458937249",
            "project": {
                "id": "6ce954b1-ce1f-45d1-b94d-e6bf2464ba2c",
                "name": "Fabrikam-Fiber-Git",
                "url": "https://fabrikam-fiber-inc.visualstudio.com/DefaultCollection/_apis/projects/6ce954b1-ce1f-45d1-b94d-e6bf2464ba2c",
                "state": "wellFormed",
                "visibility": "unchanged",
                "lastUpdateTime": "0001-01-01T00:00:00"
            },
            "defaultBranch": "refs/heads/master",
            "remoteUrl": "https://fabrikam-fiber-inc.visualstudio.com/DefaultCollection/_git/Fabrikam-Fiber-Git"
        },
        "pushedBy": {
            "displayName": "Jamal Hartnett",
            "id": "[email protected]",
            "uniqueName": "[email protected]"
        },
        "pushId": 14,
        "date": "2014-05-02T19:17:13.3309587Z",
        "url": "https://fabrikam-fiber-inc.visualstudio.com/DefaultCollection/_apis/git/repositories/278d5cd2-584d-4b63-824a-2ba458937249/pushes/14"
    },
    "resourceVersion": "1.0",
    "resourceContainers": {
        "collection": {
            "id": "c12d0eb8-e382-443b-9f9c-c52cba5014c2"
        },
        "account": {
            "id": "f844ec47-a9db-4511-8281-8b63f4eaf94e"
        },
        "project": {
            "id": "be9b3917-87e6-42a4-a549-2bc06a7a878f"
        }
    },
    "createdDate": "2019-06-11T06:26:51.412Z"
}

The response says:

  • "HTTP Error 403"
  • Problem accessing //team-events/gitPush. Reason: No valid crumb was included in the request

I also tried this on Postman. The response HTML shows:

<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
        <title>Error 403 No valid crumb was included in the request</title>
    </head>
    <body>
        <h2>HTTP ERROR 403</h2>
        <p>Problem accessing //team-events/gitPush. Reason:

            <pre>    No valid crumb was included in the request</pre>
        </p>
        <hr>
        <a href="http://eclipse.org/jetty">Powered by Jetty:// 9.4.z-SNAPSHOT</a>
        <hr/>
    </body>
</html>

What can I do?

Want to publish the Automation Test Results executed in Azure Devops to team members through(Mail or Teams)

I have developed a testing framework for automating the UWP Application using appium.
Created the build pipeline to run the tests in VM in Azure Devops and able to see the Test Results and summary.

But wanted this results to publish to my entire team of 12 members as soon as the Test Automation in the VM completes through Mail or Microsoft Teams

Can anyone help me on this, if anyone feels any blog or reference would be useful for the above issue. I am reachable @ [email protected]

yaml pipelines paths key uses incorrect terms for inclusion/exclusion and does not accept multiple items

to ignore updates to a README file, the documentation states to use the exclude param in the paths key. however names are swapped, include is the parameter that works. for branching, include and exclude are named / documented correctly

https://docs.microsoft.com/en-us/azure/devops/pipelines/yaml-schema?view=azure-devops&tabs=example#pr-trigger

documentation example: this does NOT exclude the README from PR builds

pr:
  branches:
    include:
    - features/*
    exclude:
    - features/experimental/*
  paths:
    exclude:
    - README.md

what actually works is using include:

pr:
  autoCancel: true
  branches:
   include: 
   - master
  paths:
   include:
   - README.md

2 Typos found in Azure DevOps Labs.

  1. Lab : Package Management with Azure Artifacts.
    Typo : PAzure Artifacts

screenshot 58

  1. Lab : Modernizing your existing ASP.NET Apps with Azure.
    Typo : LoaclDB

screenshot 57

AKS lab: no imagePullSecrets in mhc-aks.yaml

Hi there,

I am trying the AKS lab, but the frontend container image could not be downloaded. The pod mhc-front-xxxx would end up in ImagePullBackOff status.

In the pod events I found the error:
Failed to pull image "myacr.azurecr.io/myhealth.web:95": rpc error: code = Unknown desc = Error response from daemon: Get https://myacr.azurecr.io/v2/myhealth.web/manifests/95: unauthorized: authentication required

It looks like it is trying to pull the image without authenticating. I looked in the deployment description (kubectl get deploy/mhc-front -o yaml), and no imagePullSecrets are specified, although the secret (named mysecretkey per default) is correctly created.

Adding these lines to mhc-aks.yaml fixed it (although now I have a CrashLoopBackOff situation, but at least the image is successfully downloaded, so probably not related)

      imagePullSecrets:
      - name: mysecretkey

Let me know if you want a PR with the fix.

Cheers,
Jose

Deployment Failed

When deploying the followin error appears:

There were errors in your deployment. Error code: DeploymentFailed.
2019-08-12T15:38:00.3083919Z ##[error]At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/arm-debug for usage details.
2019-08-12T15:38:00.3095359Z ##[error]Details:
2019-08-12T15:38:00.3095887Z ##[error]BadRequest: {
"error": {
"code": "InternalServerError",
"message": "There was an unexpected InternalServerError. Please try again later. x-ms-correlation-request-id: 352eddc3-c619-4ca6-b197-cb6273dfda7f"
}
} undefined

badrequest_error

Deployment-Microsoft.Template.zip

Sign in issue to Azure DevOps Generator

When I try to sign in to Azure devops demo generator it doesn't redirect me to sign in page. it loads the same page. I tried few times with different browsers, but still the same issue existed

CreateMYSQLDB.sql is missing in Jenkins build artifacts

Next lab is "Deploying a Java-based Tomcat application to Azure".
In Exercise 3: Deploy the changes to Web App, step 5 we should use Jenkins build artifacts as an input to Release pipeline.
One of the release steps - Execute Azure MySQL : SqlTaskFile is executing sql file.

Release is failing with an error when using Jenkins build with the following error:
2019-06-15T13:22:07.6241181Z ##[error]Error: Nopackagefoundwithspecifiedpattern D:\a\r1\a\**\drop\CreateMYSQLDB.sql

[docker lab] SQL Connection String not set in WebApp

After running the docker release pipeline, the web application does not load because the connection string is not configured correctly.

...as a workaround, I added a CLI task to pipeline with
"az webapp config connection-string set -g $(ResourceGroup) -n $(AppName) -t SQLAzure --settings DefaultConnection='Data Source=tcp:$(SQLServer),1433;Initial Catalog=$(DatabaseName);User ID=$(SQLadmin);Password=$(Password)'"

[note this requires additional variables to be set]

TFS Should Probably be Azure DevOps Server

Tons of references to TFS in this, and since Server is now out, probably should get updated. I can take a look at the amount of work if it has not been looked at yet.

az aks create fails on free tier

By default it fails, but could be solved as following:

aleksandrs@Azure:~$ az aks create --resource-group rggg --name aks-ftw --generate-ssh-keys

Operation failed with status: 'Bad Request'. Details: Provisioning of resource(s) forcontainer service aks-ftw in resource group rggg failed. Message: The operation couldn't be completed as it results in exceeding quota limit of Core. Maximum allowed: 4, Current in use: 0, Additional requested: 6. Read more about quota limits at https://aka.ms/AzurePerVMQuotaLimits. Submit a request for Quota increase using the link https://aka.ms/ProdportalCRP/?#create/Microsoft.Support/Parameters/%7B%22subId%22:%228568a463-2d20-4541-a5fe-d0c3222217e6%22,%22pesId%22:%2206bfd9d3-516b-d5c6-5802-169c800dec89%22,%22supportTopicId%22:%22e12e3d1d-7fa0-af33-c6d0-3c50df9658a3%22%7D.. Details:

aleksandrs@Azure:~$ az aks create --resource-group rggg --name aks-ftw --generate-ssh-keys --node-count 1

Deployment failed. Correlation ID: 9b910dca-9db6-4e91-8287-28af37457dc5. Reconcile standard load balancer failed. Details: standardLoadBalancerReconciler retry failed: Code="MissingSubscriptionRegistration" Message="The subscription is not registered to usenamespace 'Microsoft.Network'. See https://aka.ms/rps-not-found for how to register subscriptions." Details=[{"code":"MissingSubscriptionRegistration","message":"The subscription is not registered to use namespace 'Microsoft.Network'. See https://aka.ms/rps-not-found for how to register subscriptions.","target":"Microsoft.Network"}].

aleksandrs@Azure:~$ azure provider register Microsoft.Network

info: Executing command provider register

  • Registering provider Microsoft.Network with subscription 8568a463-2d20-4541-a5fe-d0c+222217e6
    error: Namespace Microsoft.Network Registration took too long to complete
    error: Error information has been recorded to /home/aleksandrs/.azure/azure.err
    error: provider register command failed

aleksandrs@Azure:~$ azure provider register Microsoft.Network

info: Executing command provider register

  • Registering provider Microsoft.Network with subscription 8568a463-2d20-4541-a5fe-d0c+222217e6
    info: provider register command OK

aleksandrs@Azure:~$ az aks create --resource-group rggg --name aks-ftw --generate-ssh-keys --node-count 1

success

"Test Assemblies" build step fails

After launching the VM and following the steps as written, Task 1 / Step 5 cannot be completed as the build step "Test Assemblies" fails with the following message:

Error: The location of 'vstest.console.exe' specified 'C:\Program Files (x86)\Microsoft Visual Studio\2019\Preview\Common7\IDE\Extensions\TestPlatform\vstest.console.exe' does not exist.

As it is, the lab can't be completed on the VM. I'm following the directions at:
https://www.azuredevopslabs.com/labs/devopsserver/releasemanagement/

build failed - used to work fine.

azuredevopslabs/labs/vstsextend/aml/

Script failed with error: Error: The process 'D:\a_temp\azureclitaskscript1569401540669.bat' failed with exit code 1 .

I always use vs2017-win2016.

ARM Template referencing old AKS versions no longer supported

The Azure Deploy template: https://github.com/Microsoft/azuredevopslabs/blob/master/labs/vstsextend/kubernetes/armtemplate/azuredeploy.json

References AKS Versions (bolded versions that are still valid)
1.12.5
1.12.4
1.11.7
1.11.6
1.10.12
1.10.9
1.9.11

The valid versions per az aks get-versions -l -o table
1.12.7
1.12.6
1.11.9
1.11.8
1.10.13
1.10.12
1.9.11
1.9.10

An incorrect version results in a template validation error "The value of parameter orchestratorProfile.OrchestratorVersion is invalid"

Step missing assign workitem

"Set the Link type to Parent and search for “credit card” ". The work item first needs to be assigned, by default it's unassigned and therefore the workitem will not appear in the search results. The step of assigning the workitem is missing.

service endpoint creation automation required for VSTS Kubernetes release

Thanks for these example. I went through the walk through and got my own Kubernetes instance working and deploying from VSTS.

One bugbear though is the service endpoint needs to be created in VSTS manually just after the kubernetes cluster has been created. This means there's a manual step in between our automated process. So, we have split our release into two environments, with an approval step in between to allow for the pause and manual intervention. A bit hacky.

How can we automatically create the kubernetes service endpoint in VSTS using a powershell step or similar just after the cluster has been created? In this way, our release can be automated end to end.

Task 1 - Step 11 is out of date

When I got to step 11 in Task1, what I see in my lab is different.

What this guide shows I should in step 11 of task 1 is this:
image

However, what I see is the following:
image

[docker lab] SQL Server Firewall now defaults 'Allow Access to Azure Services' = false

After running the docker release pipeline, the web application does not load because the SQL server defaults to no access.

...as a workaround, I added a CLI task to pipeline with
"az sql server firewall-rule create --resource-group $(ResourceGroup) --server $(SQLServerName) --name AllowAllAzureIps --start-ip-address 0.0.0.0 --end-ip-address 0.0.0.0"

[note this requires additional variables to be set]

Request: Add "Last Update: MM/DD/YYYY" at the top of the labs pages

It would be great to see "Last Update: MM/DD/YYYY" at the top of the following pages, (similar to what we now see on the documentation pages such as https://www.visualstudio.com/en-us/docs/alm-devops-features).

This would help users track if new labs are available since they last visited one of these pages.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.