microsoft / cobalt

Infrastructure turn-key solution for app service workloads
MIT License
116 stars 78 forks source link

Create new version and go process #252

Closed ianphil closed 5 years ago

ianphil commented 5 years ago

Spike Description

The goal of the spike is to perform and document operations that support use cases, listed below, which target three personas: DevOps Engineer, App Team Developer, and App Team Release Manager. In general, the goal is to use Cobalt without having to use the 'fork & go' method of adoption, but rather create and support an AZ DO Pipeline configuration that points directly to the App Team repo (vs 'Importing' the microsoft/cobalt repo, or forks of that repo).

As a user, I'd like to source a template to a version and use this in my code for deployments, in order to have a simple deployment process

Acceptance Criteria

Reference: [Done-Done Checklist] (https://github.com/Microsoft/code-with-engineering-playbook/blob/master/Engineering/BestPractices/DoneDone.md)

Support the following use cases:

Also, here are a few points that need to be addressed:

  1. Keep the scope of work tight (it is a spike). Throw-away code. Keep docs (place in ``).
  2. Prepare user stories for work in the following sprint.
  3. Container-ization should be secondary, as well as using secrets in the demo app, etc.

Resources

Tasks

ThePhen commented 5 years ago

Notes from Aug 27 meeting with @iphilpot

We met to bounce ideas and set scope.

Use Cases to spike

Example Artifacts

Example of main.tf (this is rough/pseudo-code)

module "az-isolated-service-single-region" {
 source = "../az-isolated-service-single-region/"
 resource_group_location = "eastus"
 name = "az-simple"
 deployment_targets = [{
   app_name = "cobalt-backend-api",
   image_name = "msftcse/az-service-single-region",
   image_release_tag_prefix = "release"
 }]
 acr_build_git_source_url = "https://github.com/erikschlegel/echo-server.git"
}
ThePhen commented 5 years ago

@iphilpot @awkwardindustries ... here are some notes that came from my conversation with @aflinchb (Anne). We reviewed the version & go idea, especially from an App Dev Experience perspective.

nmiodice commented 5 years ago

This work is finished. Closing