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
#name groupId artifactId repo version ...... IMPORTANTE el groupId separado con / no con puntos . | |
jms-config com/mercurytfs/mercury/ehcache jms-config GIT latest |
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 | |
#Parámetros: | |
# $1 - URL del grupo en el artifactory (Ej: com/mercurytfs/mercury/cloud/web) | |
# $2 - ID del artefacto .web.all (Ej: accounting.jobs.web.all) | |
# $3 - Nombre del servicio (Ej: accountingjobs)el directorio en mercury.deploy debe de nombrarse igual. | |
# $4 - Servicio a ejecutar en el wait-for-it.sh (Ej: scheduler) | |
# $5 - Parámetro mínimo de memoria Docker (Ej: 256m) | |
# $6 - Parámetro máximo de memoria Docker (Ej: 350m) | |
# $7 - Version del artefacto o label. |
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 | |
#maxMemoryDeployment en MB sin letra al final | |
proyecto=""$1 | |
entorno=""$2 | |
version=""$3 | |
groupid=com/mercurytfs/mercury/cloud/web | |
artifactid=admin.jobs.cloud | |
serviceName=adminjobs | |
minimumMemory=256m | |
maximumMemory=350m |
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
if [ -d /opt/optionslibs ] | |
then | |
for x in $(ls -d /opt/optionslibs/*) | |
do | |
if [[ $x == *.jar ]] | |
then | |
if [[ -z $MSLIBS ]] | |
then | |
export MSLIBS=$x; | |
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 | |
while [ $(curl -s -o /dev/null -w "%{http_code}" http://$1:8080) != 200 -a $(curl -s -o /dev/null -w "%{http_code}" http://$1:8080/mercury/services) != 401 ]; | |
do | |
sleep 1; | |
done |
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 | |
#$5 tempDirName | |
# Autora principal: Miriam Garrido | |
# Colaboradores: Miguel Robledo, Miguel Sierra. | |
# Diseño: Luis Pellicer. | |
server=http://user:password@XXX.XX.XX.XX:8082/artifactory | |
groupid=$1 | |
artifactid=$2 |
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 | |
#Parámetros: | |
# $1 - URL del grupo en el artifactory (Ej: com/mercurytfs/mercury/cloud/integration) | |
# $2 - ID del artefacto (Ej: interceptors.integration.service) | |
# $3 - Nombre del artefacto (Ej: collimp) | |
# $4 - Nombre del artefacto que se va a incluir en el classpath (Ej: Interceptor, SwiftManager) | |
# $5 - Indica el repositorio de donde se va a descargar el artefacto (Ej: libs-snapshots-local) | |
# $6 - Indica el path donde se va a mover el artefacto, puede ser /opt/classpath_lib | |
# $7 - Indica el prefijo de la version o latest. |
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 | |
#Parámetros: | |
# $1 - URL del grupo en el artifactory (Ej: com/mercurytfs/mercury/cloud/web) | |
# $2 - ID del artefacto .web.all (Ej: accounting.jobs.web.all) | |
# $3 - Nombre del servicio (Ej: accountingjobs)el directorio en mercury.deploy debe de nombrarse igual. | |
# $4 - Servicio a ejecutar en el wait-for-it.sh (Ej: scheduler) | |
# $5 - Parámetro mínimo de memoria Docker (Ej: 256m) | |
# $6 - Parámetro máximo de memoria Docker (Ej: 350m) | |
# $7 - Perfil activo (Ejs: dev, gts,...) |
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
kind: Service | |
apiVersion: v1 | |
metadata: | |
name: servicename | |
labels: | |
run: servicename | |
spec: | |
selector: | |
app: servicename | |
type: serviceType |
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
apiVersion: apps/v1 | |
kind: Deployment | |
metadata: | |
name: microserviceName | |
labels: | |
app: microserviceName | |
spec: | |
selector: | |
matchLabels: | |
app: microserviceName |
NewerOlder