Table of Contents
This file contains 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
vcl 4.0; | |
import std; | |
import directors; | |
# probe health { | |
# # Url de consulta, padrao eh "/" | |
# # .url = "/"; | |
# # Especifica uma requisicao completa de HTTP usando multiplas strings | |
# .request = | |
# "HEAD / HTTP/1.1" | |
# "Host: homolog.opac.scielo.org" |
This file contains 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 | |
CURTAG=`git describe --abbrev=0 --tags`; | |
CURTAG="${CURTAG/v/}" | |
IFS='.' read -a vers <<< "$CURTAG" | |
MAJ=${vers[0]} | |
MIN=${vers[1]} | |
BUG=${vers[2]} |