This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| user nginx; | |
| worker_processes auto; | |
| error_log /var/log/nginx/error.log; | |
| pid /var/run/nginx.pid; | |
| events { | |
| worker_connections 1024; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # | |
| # EIP for Nat Gateway | |
| # | |
| resource "aws_eip" "private-ngw" { | |
| count = "${length(var.vpc_azs)}" | |
| vpc = true | |
| tags { | |
| Name = "${var.prefix}-private-${var.vpc_short_azs[count.index]}-ngw" | |
| } | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| if [ $# -ne 2 ]; then | |
| cat <<EOF | |
| Usage $0 ACTION TARGET_JSON | |
| ACTION: validate or build | |
| TARGET_JSON: file name of json | |
| EOF | |
| exit 1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| pipeline { | |
| agent any | |
| parameters { | |
| string(name: 'BRANCH_NAME', defaultValue: 'DUMMY(please input branch name)', description: 'branch name') | |
| choice(name: 'SERVICE_NAME', choices: 'NO_SELECT\nglobal\nfoo\nbar', description: 'target service: global or a seivice name') | |
| choice(name: 'STAGE_NAME', choices: 'stag\nprod', description: 'target stege : stag or prod (if SERVICE_NAME is global, this value is no means)') | |
| } | |
| stages { | |
| // apply global |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| pipeline { | |
| agent any | |
| parameters { | |
| string(name: 'BRANCH_NAME', defaultValue: 'DUMMY(please input branch name)', description: 'branch name') | |
| choice(name: 'ACTION', choices: 'dry-run\napply', description: 'action: dry-run or apply') | |
| } | |
| stages { | |
| // dry-run | |
| stage('Dry-Run'){ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| function print_usage (){ | |
| cat <<EOF | |
| $0 PLAYBOOK INVENTORY [ansible-options] | |
| EOF | |
| } | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| cd `dirname $0` | |
| function print_usage (){ | |
| cat <<EOF | |
| $0 ACTION STACK_NAME | |
| ACTION: validate or test, build, package, changeset |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ForwardAgent yes | |
| UseKeychain yes | |
| AddKeysToAgent yes |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ;; -*- mode: emacs-lisp -*- | |
| ;; This file is loaded by Spacemacs at startup. | |
| ;; It must be stored in your home directory. | |
| (defun dotspacemacs/layers () | |
| "Configuration Layers declaration. | |
| You should not put any user code in this function besides modifying the variable | |
| values." | |
| (setq-default | |
| ;; Base distribution to use. This is a layer contained in the directory |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # For more information on configuration, see: | |
| # * Official English Documentation: http://nginx.org/en/docs/ | |
| # * Official Russian Documentation: http://nginx.org/ru/docs/ | |
| user nginx; | |
| worker_processes auto; | |
| error_log /var/log/nginx/error.log; | |
| pid /var/run/nginx.pid; | |
| events { |
NewerOlder