Skip to content

A sample Jenkins Shared Library that contains the Groovy files to build the sd2411-msa project and push the dockers images to Azure Container Registry

Notifications You must be signed in to change notification settings

sieunhantanbao/sd2411-devops-ci

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SD2411 DEVOPS CI

Reference Repositories

Repository Description
sd2411_msa Application source code. This contain a backend, frontend and use the mongo as database
sd2411_devops_ci This contains the Jenkins Groovy files (Jenkins Shared Library). When the sd2411_msa has changed the source code, it will call the Jenkins files in this repo to build the source code (CI process)
sd2411_helm_charts This contains the helm charts definition and helm chart packages (manifest) to deploy the apps from the sd2411_msa
sd2411_azure_infrastructure Ops source code. This contains the infrastructure as code (iac) to provision the Azure resources with terraform. This also handles the Continue Deployment (CD) with ArgoCD

Overview

Welcome to the SD2411 DEVOPS Continues Integration (CI) repository. This repository contains the Jenkins Groovy files to get, build the source code from the SD2411_MSA Repository and then push the artifacts (docker images) to Azure Container Registry (ACR). The Continues Deployment (CD) process will be handled in the SD2411 Azure Infrastructure Repository.

Key Features

  • Auto build when the code changes are pushed into the master branch of the SD2411_MSA Repository.
  • Use Trivy to scan security and vulnerabilities.
  • Push the docker images (frontend, backend) to the Azure Container Registry (ACR).

Setup Jenkins Organization Folder

Prerequisites

Setup Jenkins Organization Job

Please refer to the Setup_Jenkins_Pipeline_Use_Trivy.docx for the details.

Demonstration

  • Push the change to the master branch of the SD2411_MSA Repository
    image info
  • Jenkins job/pipeline is automatically triggered image info
  • The build artifacts (docker images) are pushed to the ACR image info image info

About

A sample Jenkins Shared Library that contains the Groovy files to build the sd2411-msa project and push the dockers images to Azure Container Registry

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages