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
| # Source: https://gist.github.com/48f44d3974db698d3127f52b6e7cd0d3 | |
| ########################################################### | |
| # Automation of Everything # | |
| # How To Combine Argo Events, Workflows, CD, and Rollouts # | |
| # https://youtu.be/XNXJtxkUKeY # | |
| ########################################################### | |
| # Requirements: | |
| # - k8s v1.19+ cluster with nginx Ingress |
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
| #!groovy | |
| import groovy.json.JsonOutput | |
| import groovy.json.JsonSlurper | |
| /* | |
| Please make sure to add the following environment variables: | |
| HEROKU_PREVIEW=<your heroku preview app> | |
| HEROKU_PREPRODUCTION=<your heroku pre-production app> | |
| HEROKU_PRODUCTION=<your heroku production app> |
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 | |
| # This script is used for create virtual hosts on CentOs. | |
| # Created by alexnogard from http://alexnogard.com | |
| # Improved by mattmezza from http://you.canmakethat.com | |
| # Feel free to modify it | |
| # PARAMETERS | |
| # | |
| # $usr - User | |
| # $dir - directory of web files | |
| # $servn - webserver address without www. |
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 | |
| ### Settings | |
| svn_wk='/srv/tftp/data/' | |
| svn_user='user' | |
| svn_passwd='passwd' | |
| ### Variables | |
| date=`date +"%F %T"` | |
| svn='/usr/bin/svn' |