Code Monkey home page Code Monkey logo

apim-devops's Introduction

APIM DevOps Demo

Resources

This demo was derived from several best practices and guidelines on API Management deployment process, Git branching/merging strategy and release automation.

Development Environment Setup

  1. Clone this repo locally
  2. Clone the APIM DevOps Resource Kit locally as well
  3. Checkout a new topic branch called /users/[yourname]/[changesetname]
  4. Modify the .env file to to the full path of the /src/APIM_ARMTemplate/apimtemplate folder of the DevOps Kit repo
  5. Modify the .env file to include your dev and production instances of APIM and the corresponding Resource Group (this assumes they are both in 1 RG)
  6. Run the following command from a bash window: export $(cat .env) to import the environment variables

Making a Change to APIM

  1. Make an API or policy change to the Dev instance of APIM
  2. Checkout a new topic branch called /users/[yourname]/[changesetname]
  3. Run the following command from a bash window: bash ./extractConfig.sh
  4. The [prodinstancename]-apis-template.json file should be updated with the included changes
  5. Commit and push your changes to a new remote branch
  6. Submit a Pull Request to merge your changes to master
  7. Have PR approved and merged (delete topic branch)
  8. Repeat with additional changes (if necessary)
  9. When ready to deploy to Production, create a new branch called /releases/[releasename] from master
  10. This will automatically trigger the release process

apim-devops's People

Contributors

nkpatterson avatar

Watchers

 avatar James Cloos avatar

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.