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 | |
| GROUP=2019-05 | |
| BRANCH=${TRAVIS_PULL_REQUEST_BRANCH:-$TRAVIS_BRANCH} | |
| TRAVISTEST_RUN="cd travis/ && sh ./run.sh" | |
| REPO=https://github.com/vasyakrg/infra-tests.git | |
| DOCKER_IMAGE=vasyakrg/infratest:0.2 | |
| DOCKER_NAME=infratest | |
| echo "Run tests" |
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
| mkdir -p $(go env GOPATH)/src/github.com/hashicorp && cd $_ | |
| git clone https://github.com/hashicorp/packer.git | |
| cd packer | |
| make dev |
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 -e | |
| processor=$(uname -m) | |
| if [ "$processor" == "x86_64" ]; then | |
| arch="amd64" | |
| else | |
| arch="386" | |
| fi |
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
| PATH="${HOME}/bin" | |
| TMPDIR="${TMPDIR:-/tmp}" | |
| VERSION="0.11.11" | |
| if ! terraform version ; then | |
| mkdir -p "${HOME}/bin" | |
| pushd "${TMPDIR}" ; | |
| curl -sSL | |
| -o terraform.zip | |
| "https://releases.hashicorp.com/terraform/${VERSION}/terraform_${VERSION}_linux_amd64.zip" ; |
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
| [alias] | |
| gr = log --all --decorate --oneline --graph | |
| co = checkout | |
| ci = commit -m | |
| br = branch | |
| hist = log --pretty=format:'%h %ad | %s%d [%an]' --graph --date=short |
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
| upstream proxmox { | |
| server pve1:8006; | |
| server pve2:8006; | |
| server pve3:8006; | |
| } | |
| server { | |
| listen 80 default_server; | |
| rewrite ^(.*) https://$host$1 permanent; | |
| } |