Skip to content

Instantly share code, notes, and snippets.

Avatar
🎯
Focusing

Renjith Ravindranathan mysticrenji

🎯
Focusing
View GitHub Profile
View Jenkins-values.yaml
controller:
adminSecret: true
adminUser: admin
adminPassword: "@wesome!1"
numExecutors: 0
installPlugins:
- configuration-as-code:latest
- kubernetes:latest
- workflow-aggregator:latest
- workflow-job:latest
@mysticrenji
mysticrenji / sonar_values.yaml
Created Mar 11, 2021
Sonarqube Helm Chart Values
View sonar_values.yaml
# Default values for sonarqube.
# This is a YAML-formatted file.
# Declare variables to be passed into your templates.
replicaCount: 1
# This will use the default deployment strategy unless it is overriden
deploymentStrategy: {}
# Uncomment this to scheduler pods on priority
# priorityClassName: "high-priority"
@mysticrenji
mysticrenji / Jenkinsfile_Docker
Last active Mar 11, 2021
Jenkinsfile for Docker
View Jenkinsfile_Docker
podTemplate(yaml: """
apiVersion: v1
kind: Pod
spec:
containers:
- name: docker
image: docker:1.11
command: ['cat']
tty: true
volumeMounts:
@mysticrenji
mysticrenji / Jenkinsfile_JavaApp
Last active Mar 11, 2021
Jenkins file for simple java app
View Jenkinsfile_JavaApp
podTemplate(containers: [
containerTemplate(name: 'maven', image: 'maven:3.3.9-jdk-8-alpine', ttyEnabled: true, command: 'cat'),
]) {
node(POD_LABEL) {
stage('Get a Maven project') {
git 'https://github.com/mysticrenji/jenkins-k8s-cluster-terraform.git'
container('maven') {
stage('Build a Maven project') {
withSonarQubeEnv('SonarQube') {
@mysticrenji
mysticrenji / sonarqube.txt
Created Mar 11, 2021
SonarQube Helm Chart
View sonarqube.txt
cd Sonarqube
helm repo add oteemocharts https://oteemo.github.io/charts/
helm repo update
kubectl create namespace sonarqube
helm install sonarqube -f values.yaml oteemocharts/sonarqube -n sonarqube
@mysticrenji
mysticrenji / Jenkins.txt
Created Mar 11, 2021
Jenkins Helm Chart Installation
View Jenkins.txt
cd Jenkins
helm repo add ingress-nginx https://kubernetes.github.io/ingress-nginx
helm repo add jenkins https://charts.jenkins.io
helm repo update
# Use Helm to deploy an NGINX ingress controller
kubectl create namespace jenkins
helm install nginx-ingress ingress-nginx/ingress-nginx \
--namespace jenkins \
--set controller.replicaCount=2 \
--set controller.nodeSelector."beta\.kubernetes\.io/os"=linux \
View blobstoragcreation.sh
#!/bin/bash
RESOURCE_GROUP_NAME=rg-experiments-sea
STORAGE_ACCOUNT_NAME=terraformblobstoragedev
CONTAINER_NAME=terraform
LOCATION=southeastasia
# Create resource group
az group create --name $RESOURCE_GROUP_NAME --location $LOCATION
@mysticrenji
mysticrenji / azure-pipelines.yml
Created Aug 1, 2020
Azure pipelines with integrated Sonar, WhiteSource and OWASP
View azure-pipelines.yml
# ASP.NET Core (.NET Framework)
trigger:
- master
stages:
- stage: BuildDeployStage
jobs:
- job: Build
pool: Default
View genesis_public_key
048376f408b650968d65775d5de1db83ee2dc6ad677859dc4e3170ac4f91a3aab62ec3ff006d1e77a4ba5bba5710b7ed48e64e9a5b43d2c90956d490cd664b9cf8