Skip to content

Instantly share code, notes, and snippets.

View Shashankreddysunkara's full-sized avatar
🏠
Working from home

Shashank Reddy Sunkara Shashankreddysunkara

🏠
Working from home
View GitHub Profile
pipeline {
// run on jenkins nodes tha has java 8 label
agent { label 'java8' }
// global env variables
environment {
EMAIL_RECIPIENTS = '[email protected]'
}
stages {
stage('Build with unit testing') {
@Shashankreddysunkara
Shashankreddysunkara / gist:7a9391304ed657ccae77d9cf5abbc996
Last active October 10, 2018 00:28 — forked from digitaljhelms/gist:4287848
Git/GitHub branching standards & conventions

Branching

Quick Legend

Description, Instructions, Notes
Instance Branch
job('jersey-rest-server') {
scm {
git {
remote {
url('[email protected]:marcelbirkner/jersey-rest-server.git')
}
createTag(false)
}
}
triggers {
@Shashankreddysunkara
Shashankreddysunkara / README.md
Created April 29, 2019 00:20 — forked from leonardofed/README.md
A curated list of AWS resources to prepare for the AWS Certifications


A curated list of AWS resources to prepare for the AWS Certifications

A curated list of awesome AWS resources you need to prepare for the all 5 AWS Certifications. This gist will include: open source repos, blogs & blogposts, ebooks, PDF, whitepapers, video courses, free lecture, slides, sample test and many other resources.


@Shashankreddysunkara
Shashankreddysunkara / comlog.nginx.conf
Created July 22, 2021 12:48 — forked from jegj/comlog.nginx.conf
Basic provision script for node js server(expressif) + nginx + postgres 10.x
upstream comlog {
server unix:/tmp/comlog.socket;
}
server {
listen 80;
listen 443 ssl;
ssl_certificate /etc/nginx/certs/dev.comlog.crt;
ssl_certificate_key /etc/nginx/certs/dev.comlog.key;
# Maintainer: Jakub Hajek, [email protected]
#
# docker stack deploy -c stack-elastic.yml elastic
#
# The stack creates Elasticsearch cluster consiting of
# - 3 dedicated master nodes in order to keep quorum
# - 4 dedicated data nodes to manage CRUD,
# - 2 coordination node acting like kind of load balancer in multi instance environments
#
#
@Shashankreddysunkara
Shashankreddysunkara / stack-nfs.yml
Created December 11, 2021 05:16 — forked from jakubhajek/stack-nfs.yml
Docker Swarm, an example stack file with NFS volume
# docker stack deploy -c stack-nfs.yml nfs
#
# This is an example compose file with data volume mounted from remote server via NFS protocol
version: "3.7"
services:
nginx:
image: nginx:1.17
# Maintainer: Jakub Hajek, [email protected]
#
# docker stack deploy -c stack-elastic.yml elastic
#
# The stack creates Elasticsearch cluster consiting of
# - 3 dedicated master nodes in order to keep quorum
# - 4 dedicated data nodes to manage CRUD,
#
# Docker compose file to easily deploy Elasticsearch cluster 7.x on Docker Swarm cluster.