Gist to support https://www.youtube.com/watch?v=KsTMy0920go
https://github.com/darinpope/java-web-app
use the sonar branch
Gist to support https://www.youtube.com/watch?v=KsTMy0920go
https://github.com/darinpope/java-web-app
use the sonar branch
| [user] | |
| name = Pavan Kumar Sunkara | |
| email = [email protected] | |
| username = pksunkara | |
| [init] | |
| defaultBranch = master | |
| [core] | |
| editor = nvim | |
| whitespace = fix,-indent-with-non-tab,trailing-space,cr-at-eol | |
| pager = delta |
| # config file for ansible -- http://ansible.com/ | |
| # ============================================== | |
| # nearly all parameters can be overridden in ansible-playbook | |
| # or with command line flags. ansible will read ANSIBLE_CONFIG, | |
| # ansible.cfg in the current working directory, .ansible.cfg in | |
| # the home directory or /etc/ansible/ansible.cfg, whichever it | |
| # finds first | |
| [defaults] |
| #!/bin/bash | |
| LOGFILE=/tmp/backup-gitlab-to-s3.log | |
| GITLAB_BACKUP_FOLDER=/var/opt/gitlab/backups | |
| S3_FILE_PREFIX=gitlab | |
| S3_BUCKET_PATH=bucket-name-goes-here/folder-here | |
| SLACK_USERNAME="Backup Gitlab Daily - `hostname`" | |
| SLACK_CHANNEL="#od-infra-monitoring" | |
| SLACK_ICON="https://s3.amazonaws.com/kudelabs-archives/harddrive256.png" |
| upstream upstream-apache2 { | |
| server 127.0.0.1:8080; | |
| } | |
| upstream upstream-nodejs { | |
| server 127.0.0.1:3000; | |
| } | |
| server { | |
| listen 80; |
| # to generate your dhparam.pem file, run in the terminal | |
| openssl dhparam -out /etc/nginx/ssl/dhparam.pem 2048 |
| #!/bin/bash | |
| yum install -y aws-cli | |
| cd /home/ec2-user/ | |
| aws s3 cp 's3://aws-codedeploy-us-east-1/latest/codedeploy-agent.noarch.rpm' . --region us-east-1 | |
| yum -y install codedeploy-agent.noarch.rpm |