Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • B bazel-java
  • Project information
    • Project information
    • Activity
    • Labels
    • Planning hierarchy
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Jira
    • Jira
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Administrator
  • bazel-java
  • Wiki
  • 1. DevOps

Last edited by AzbotGithub Jan 06, 2022
Page history
This is an old version of this page. You can view the most recent version or browse the history.

1. DevOps

DevOps CI/CD

Pull Request

The basic syntax for a Smart Commit message is:

<ISSUE_KEY> <COMMIT MESSAGE> JRA-34 Updated dependency

<ISSUE_KEY1> <ISSUE_KEY2> <ISSUE_KEY3> #comment <COMMIT MESSAGE> JRA-34 #comment corrected indent issue

Build

The objective of Build step is to have a folder which can be build as a docker Image. In the example we copy ProjectRunner.jar and Dockerfile into a new image folder

Vault Access

Unit Tests

Code scanning

The code is pushed to self-hosted Sonarqube service which uploaded the result into Sonarqube database.

Upload to Az Container Registry

Azure container registry is used to store images after its built.

Container Scanning

This step internally uses Trivy and Dockle for running certain kinds of scans on these images.

Trivy helps you find the common vulnerabilities within your docker images. Dockle is a container linter, which helps you identify if you haven't followed

  1. Certain best practices while building the image
  2. CIS Benchmarks to secure your docker image

In case you would like the action to ignore any vulnerabilities and best practice checks, create an allowedlist file at the path .github/containerscan/allowedlist.yaml in your repo.

Azure Kubernetes Deployment

Deployment is done using Kubernetes manifests into Azure K8s Cluster.

Clone repository
  • 1. DevOps
  • 2. Monorepos & Bazel
  • 3. Hello World in Java using Bazel
  • 4. Infrastructure Deployment
  • Dev Infrastructure
  • Home
  • Log management