Azure DevOps Utilities
This repository contains utility scripts to run/configure DevOp systems in Azure. These scripts can be used individually, but are also leveraged in several 'Getting Started' solutions:
Contents
- Common
- create-service-principal.sh: Creates Azure Service Principal credentials.
- Jenkins
- basic-docker-build.groovy: Sample Jenkins pipeline that clones a git repository, builds the docker container defined in the Docker file and pushes that container to a private container registry.
- add-docker-build-job.sh: Adds a Docker Build job in an existing Jenkins instance.
- unsecure-jenkins-instance.sh: Disables the security of a Jenkins instance.
- Jenkins-Windows-Init-Script.ps1: Sample script on how to setup your Windows Azure Jenkins Agent to communicate through JNLP with the Jenkins master.
- Migrate-Image-From-Classic.ps1: Migrates an image from the classic image model to the new Azure Resource Manager model.
- install_jenkins.sh: Bash script that installs Jenkins on a Linux VM and exposes it to the public through port 80 (login and cli are disabled).
- install-plugins.sh: Script that installs Jenkins plugins on a given instance.
- Spinnaker
- add_k8s_pipeline.sh: Adds a Kubernetes pipeline with three main stages:
- Deploy to a development environment
- Wait for manual judgement
- Deploy to a production environment
- await_restart_service.sh: Restarts a Spinnaker service and waits for the service to be open for requests.
- configure_k8s.sh: Automatically configure a spinnaker instance to target a Kubernetes cluster and Azure Container Registry.
- copy_kube_config.sh: Programatically copies a kubeconfig file from an Azure Container Service Kubernetes cluster to a Spinnaker machine.
- install_spinnaker.sh: Install Spinnaker and automatically configure it to use Azure Storage (azs) as its persistent storage.
- add_k8s_pipeline.sh: Adds a Kubernetes pipeline with three main stages:
azdevopspub@microsoft.com
Questions/Comments?This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.