May 9, 2019 · ci k8s microsoft docker nodejs devops

Microsoft OpenHack - Day 2

Where did we leave off yesterday? Oh yeah, Challenge 3.

Challenge 3 is where we start really seeing the pipelines in Azure DevOps (ADO) come together.

Side note: Days 2 and 3 I wasn't feeling super great, so starting this day, we have less screenshots.

Since we got one of the test pipelines working the end of the day before, that gave us a good starting point for getting all our other testing working.


The above is where I ended up for Challenge 3 with the node.js API.

The pipeline started with getting the sources, building the container, then pushing it to ACR.

We needed to add running tests, verifying the tests, and then acting based on the outcome of the tests.

The nice thing about modern languages, is that they provide all the tools you need to do things like running tests in the same binary as what you use to run your scripts.

Now that's out of the way, lets start pulling that screen shot apart, job by job.

Now, the next question should be: What about the second part of the challenge posted in the previous article? Creating a work ticket based on problems in this pipeline?

It was literally a toggle in the options for build pipelines. Between that and making sure that jobs are set to "run only if the previous job succeeded", that will keep the pipelines from moving bad code down the line.

Challenge 4)

Create a release pipeline!

(this was after lunch where I started feeling way worse than before lunch and I started forgetting to take screenshots)

So, a lot of this is a lot like setting up the build pipelines. When you have your pipelines defaulted to the drag and drop it's pretty straight-forward.

When you're building pipelines in ADO, it's mostly dragging and dropping the tools you need to where you need them. For Release Pipelines, the main difference is that they go horizontal as opposed to vertical.

Our release pipeline was roughly:
|Artifact| -> | Stage 1 |

(I know, my ASCII drawing is too good)

-Long time ago post-

So, during this day I started feeling ill and I kinda dropped this (oops). There's not much for Day 3 since it was mostly trying to get these tasks done.

I was also still not feeling well, so I actually don't remember much beyond closing things out/

  • LinkedIn
  • Tumblr
  • Reddit