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 | |
| # Fuente 1: https://publib.boulder.ibm.com/tividd/td/TRM/SC23-4822-00/es_ES/HTML/user284.htm | |
| # Fuente 2: https://justanothersysadminblog.wordpress.com/2014/03/18/crear-una-ca-propia-con-la-que-firmar-certificados-ssl/ | |
| # Fuente 3: https://gist.github.com/fntlnz/cf14feb5a46b2eda428e000157447309#file-self-signed-certificate-with-custom-ca-md | |
| set -x | |
| # Variables de entorno común de configuración |
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 | |
| apk update && apk upgrade && apk add git python3 | |
| git clone https://github.com/procamora/flask-health.git health/ && cd health | |
| pip3 install -r requirements.txt | |
| python3 health.py & |
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 | |
| # Source: https://gitlab.molnix.com/molnix-open-source/backuppc-ubuntu-installer/-/raw/master/backuppc-ubuntu-installer | |
| # wget -q -O - https://gist.githubusercontent.com/procamora/c32acb2f3ca4fb49c66e879644b11dc2/raw/04fffd518d8a54b624a6d0331b41c141970d4239/backuppc-ubuntu-installer.sh | sudo bash | |
| set -e | |
| if [[ $1 == "install" || $1 == "upgrade" ]]; then | |
| ACTION=$1 | |
| elif [[ $1 == "" ]]; then | |
| ACTION=install | |
| else |
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 | |
| # Author: Pablo Rocamora (aka procamora) | |
| #set -ex | |
| function print_format() { | |
| #echo -e "${GREEN_COLOUR}$1${RESET_COLOUR}" # print stdout | |
| >&2 echo -e "${BLUE_COLOUR}$1${RESET_COLOUR}" # print stderr | |
| } |
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
| --- | |
| yaml-files: | |
| - '*.yaml' | |
| - '*.yml' | |
| - '.yamllint' | |
| extends: default | |
| rules: | |
| braces: |
