Skip to content

Instantly share code, notes, and snippets.

View punnapr's full-sized avatar
💭
I may be slow to respond.

PUNNA R punnapr

💭
I may be slow to respond.
  • 20:02 (UTC -07:00)
View GitHub Profile
@punnapr
punnapr / package.json
Created March 7, 2019 00:11
atom-gist
this is a test
@punnapr
punnapr / sonar.md
Created December 9, 2018 08:55 — forked from sysboss/sonar.md
SonarQube on AWS EC2 - Installation and integration with Jenkins

This article will briefly describe how to install SonarQube as Docker container on Amazon EC2 and integrate it with Jenkins.

Create database instance and user

Go to RDS > Parameter Groups
Create a new Parameter Group with the following parameter:

max_allowed_packet = 268435456

We need to create a new RDS database for SonarQube (you may use an existing MySQL instance)

  1. Go to RDS Instances
@punnapr
punnapr / create-certs.sh
Created November 6, 2018 05:14 — forked from sethvargo/create-certs.sh
Use openssl to create an x509 self-signed certificate authority (CA), certificate signing request (CSR), and resulting private key with IP SAN and DNS SAN
# Define where to store the generated certs and metadata.
DIR="$(pwd)/tls"
# Optional: Ensure the target directory exists and is empty.
rm -rf "${DIR}"
mkdir -p "${DIR}"
# Create the openssl configuration file. This is used for both generating
# the certificate as well as for specifying the extensions. It aims in favor
# of automation, so the DN is encoding and not prompted.