Skip to content

steevaavoo/jenkins-azure

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

jenkins-azure

Goals

  • Install Docker Desktop
  • Configure Docker Agent (Create Ephemeral Agent behaviours)
    • Create Docker image with all necessary tools for this pipeline
      • azure cli
      • terraform
      • docker cli
  • Is there a GitHub build pipeline status plugin
  • Create custom nginx Docker container and upload to Azure container registry
  • Deploy custom container in K8s
  • Use cli to destroy storage (optional)
  • Add retry block to Destroy stage
  • Update DNS record with App IP
  • Add example of using an external script with returnStdout method
  • Only prompt to continue if TF changes exist
  • Add prereq steps, eg: Azure Service Principal (see below)
  • Create a multi-stage Docker image build, to reduce image size (docker push takes too long)
  • Update Terraform to use latest version of Azure provider
  • Update Jenkins Agent dockerfile with latest util versions, and push to Docker Hub
  • Add improved output to all scripts, esp. az cli scripts with no current output (Destroy-Storage.ps1)
  • Add az acr build step - instead of local docker build / push
  • Add Pester tests with junit output
  • Add dynamic check to skip Docker build stage if image tag hasn't changed
  • Fix ingress rules
  • Add Helm for Kubernetes releases
  • Add TLS ingress to support HTTPS certs using LetsEncrypt service
  • Add AKS autoscaling (1-3 nodes)
  • Enable Kubernetes dashboard
  • Ensure all resource names adhere to Azure naming conventions:
    https://docs.microsoft.com/en-us/azure/cloud-adoption-framework/ready/azure-best-practices/naming-and-tagging
  • Add SSH key creation and outputs
  • Add $ErrorActionPreference = "Stop" to every PowerShell script
  • Add Terraform diff summary within input prompt (single line summary)
  • Add Terraform diff summary details within input prompt (one line per resource)
  • Add support for DNS subdomains, eg aks.thehypepipe.co.uk
  • Troubleshoot Waiting for CertificateRequest "tls-secret-1881013061" to complete
  • Add boolean param to switch between staging and prod LetsEncrypt SSL cert issuer services:
    https://letsencrypt.org/docs/staging-environment/
  • Add integration test to check staging cert is issued by Fake LE Intermediate server
  • Troubleshoot Connection refused 172.17.0.3:0 in cert test
  • Add integration test to check prod cert is issued by Let's Encrypt Authority server
  • Link CI_DEBUG param to verbose messaging. When CI_DEBUG is false, minimal output should show in logs
  • Add clock (or another better) example node app instead of a one sentence website:
    https://github.com/jaydestro/react-clock-basic (can test website headers, and/or datetime present)
  • Add a StatefulSet app example (research below):
  • Add Velero backup (after adding StatefulSet example)
  • Fix Replace-Tokens.ps1 adding blank lines to YAML files
  • Complete this README with proper usage instructions
# Login to your target Azure environment
az login

# Create a Service Principle named "jenkins"
# outputting the required info for future use
az ad sp create-for-rbac --name jenkins --query "{ client_id: appId, client_secret: password, tenant_id: tenant }"

# output subscription id
az account show --query "{ subscription_id: id }"

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published