HEX
Server: Apache/2.4.41 (Ubuntu)
System: Linux ip-172-31-42-149 5.15.0-1084-aws #91~20.04.1-Ubuntu SMP Fri May 2 07:00:04 UTC 2025 aarch64
User: ubuntu (1000)
PHP: 7.4.33
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
Upload Files
File: /var/www/vhost/disk-apps/teamdemo.sports-crowd.com/bitbucket-pipelines.yml
image: atlassian/default-image:3

pipelines:
  branches:
    qas:
      - step:
          image: python:3.11-slim
          name: "Build QAS"
          script:
            - apt-get update && apt-get install -y curl jq ssh awscli

            # Validar variables de entorno
            - |
              if [ -z "$AWS_ACCESS_KEY_ID" ] || [ -z "$AWS_SECRET_ACCESS_KEY" ] || [ -z "$SECURITY_GROUP_ID" ] || [ -z "$AWS_DEFAULT_REGION" ]; then
                echo "ERROR: Variables de entorno AWS no configuradas correctamente."
                exit 1
              fi

            # Configurar región para AWS CLI
            - export AWS_DEFAULT_REGION=$AWS_DEFAULT_REGION

            # Obtener IP pública
            - PUBLIC_IP=$(curl -s https://checkip.amazonaws.com/ | tr -d '\n')
            - echo "IP pública detectada:" && echo "$PUBLIC_IP"

            # Agregar regla al SG para el puerto 22
            - echo "Intentando agregar regla SG para $PUBLIC_IP/32"
            - |
              aws ec2 authorize-security-group-ingress --group-id "$SECURITY_GROUP_ID" --protocol tcp --port 22 --cidr "$PUBLIC_IP/32" 2>/dev/null || echo "La regla puede ya existir."

            # Ejecutar deploy vía SSH
            - pipe: atlassian/ssh-run:0.4.0
              variables:
                SSH_USER: "ubuntu"
                SERVER: "18.119.35.213"
                COMMAND: "cd /opt/scripts/ && ./deploy_qas.sh"
                MODE: "command"

            # (Opcional) Revocar regla después del deploy
            - echo "Eliminando regla SG para $PUBLIC_IP/32"
            - aws ec2 revoke-security-group-ingress --group-id "$SECURITY_GROUP_ID" --protocol tcp --port 22 --cidr "$PUBLIC_IP/32" 2>/dev/null || echo "No se pudo eliminar o no existía la regla."
    develop:
      - step:
          image: python:3.11-slim
          name: "Build DEMO"
          script:
            - apt-get update && apt-get install -y curl jq ssh awscli

            # Validar variables de entorno
            - |
              if [ -z "$AWS_ACCESS_KEY_ID" ] || [ -z "$AWS_SECRET_ACCESS_KEY" ] || [ -z "$SECURITY_GROUP_ID" ] || [ -z "$AWS_DEFAULT_REGION" ]; then
                echo "ERROR: Variables de entorno AWS no configuradas correctamente."
                exit 1
              fi

            # Configurar región para AWS CLI
            - export AWS_DEFAULT_REGION=$AWS_DEFAULT_REGION

            # Obtener IP pública
            - PUBLIC_IP=$(curl -s https://checkip.amazonaws.com/ | tr -d '\n')
            - echo "IP pública detectada:" && echo "$PUBLIC_IP"

            # Agregar regla al SG para el puerto 22
            - echo "Intentando agregar regla SG para $PUBLIC_IP/32"
            - |
              aws ec2 authorize-security-group-ingress --group-id "$SECURITY_GROUP_ID" --protocol tcp --port 22 --cidr "$PUBLIC_IP/32" 2>/dev/null || echo "La regla puede ya existir."

            # Ejecutar deploy vía SSH
            - pipe: atlassian/ssh-run:0.4.0
              variables:
                SSH_USER: "ubuntu"
                SERVER: "18.119.35.213"
                COMMAND: "cd /opt/scripts/ && ./deploy_demo.sh"
                MODE: "command"

            # (Opcional) Revocar regla después del deploy
            - echo "Eliminando regla SG para $PUBLIC_IP/32"
            - aws ec2 revoke-security-group-ingress --group-id "$SECURITY_GROUP_ID" --protocol tcp --port 22 --cidr "$PUBLIC_IP/32" 2>/dev/null || echo "No se pudo eliminar o no existía la regla."
    master:
      - step:
          image: python:3.11-slim
          name: "Build PROD DIM"
          script:
            - apt-get update && apt-get install -y curl jq ssh awscli

            # Validar variables de entorno
            - |
              if [ -z "$AWS_ACCESS_KEY_ID" ] || [ -z "$AWS_SECRET_ACCESS_KEY" ] || [ -z "$SECURITY_GROUP_ID" ] || [ -z "$AWS_DEFAULT_REGION" ]; then
                echo "ERROR: Variables de entorno AWS no configuradas correctamente."
                exit 1
              fi

            # Configurar región para AWS CLI
            - export AWS_DEFAULT_REGION=$AWS_DEFAULT_REGION

            # Obtener IP pública
            - PUBLIC_IP=$(curl -s https://checkip.amazonaws.com/ | tr -d '\n')
            - echo "IP pública detectada:" && echo "$PUBLIC_IP"

            # Agregar regla al SG para el puerto 22
            - echo "Intentando agregar regla SG para $PUBLIC_IP/32"
            - |
              aws ec2 authorize-security-group-ingress --group-id "$SECURITY_GROUP_ID" --protocol tcp --port 22 --cidr "$PUBLIC_IP/32" 2>/dev/null || echo "La regla puede ya existir."

            # Ejecutar deploy vía SSH
            - pipe: atlassian/ssh-run:0.4.0
              variables:
                SSH_USER: "ubuntu"
                SERVER: "3.22.36.91"
                COMMAND: "cd /opt/scripts/ && ./deploy.sh"
                MODE: "command"

            # (Opcional) Revocar regla después del deploy
            - echo "Eliminando regla SG para $PUBLIC_IP/32"
            - aws ec2 revoke-security-group-ingress --group-id "$SECURITY_GROUP_ID" --protocol tcp --port 22 --cidr "$PUBLIC_IP/32" 2>/dev/null || echo "No se pudo eliminar o no existía la regla."
      - step:
          image: python:3.11-slim
          name: "Build PROD MILLONARIOS"
          script:
            - apt-get update && apt-get install -y curl jq ssh awscli

            # Validar variables de entorno
            - |
              if [ -z "$AWS_ACCESS_KEY_ID" ] || [ -z "$AWS_SECRET_ACCESS_KEY" ] || [ -z "$SECURITY_GROUP_ID" ] || [ -z "$AWS_DEFAULT_REGION" ]; then
                echo "ERROR: Variables de entorno AWS no configuradas correctamente."
                exit 1
              fi

            # Configurar región para AWS CLI
            - export AWS_DEFAULT_REGION=$AWS_DEFAULT_REGION

            # Obtener IP pública
            - PUBLIC_IP=$(curl -s https://checkip.amazonaws.com/ | tr -d '\n')
            - echo "IP pública detectada:" && echo "$PUBLIC_IP"

            # Agregar regla al SG para el puerto 22
            - echo "Intentando agregar regla SG para $PUBLIC_IP/32"
            - |
              aws ec2 authorize-security-group-ingress --group-id "$SECURITY_GROUP_ID" --protocol tcp --port 22 --cidr "$PUBLIC_IP/32" 2>/dev/null || echo "La regla puede ya existir."

            # Ejecutar deploy vía SSH
            - pipe: atlassian/ssh-run:0.4.0
              variables:
                SSH_USER: "ubuntu"
                SERVER: "3.139.30.69"
                COMMAND: "cd /opt/scripts/ && ./deploy.sh"
                MODE: "command"

            # (Opcional) Revocar regla después del deploy
            - echo "Eliminando regla SG para $PUBLIC_IP/32"
            - aws ec2 revoke-security-group-ingress --group-id "$SECURITY_GROUP_ID" --protocol tcp --port 22 --cidr "$PUBLIC_IP/32" 2>/dev/null || echo "No se pudo eliminar o no existía la regla."
      - step:
          image: python:3.11-slim
          name: "Build PROD FORTALEZA"
          script:
            - apt-get update && apt-get install -y curl jq ssh awscli

            # Validar variables de entorno
            - |
              if [ -z "$AWS_ACCESS_KEY_ID" ] || [ -z "$AWS_SECRET_ACCESS_KEY" ] || [ -z "$SECURITY_GROUP_ID" ] || [ -z "$AWS_DEFAULT_REGION" ]; then
                echo "ERROR: Variables de entorno AWS no configuradas correctamente."
                exit 1
              fi

            # Configurar región para AWS CLI
            - export AWS_DEFAULT_REGION=$AWS_DEFAULT_REGION

            # Obtener IP pública
            - PUBLIC_IP=$(curl -s https://checkip.amazonaws.com/ | tr -d '\n')
            - echo "IP pública detectada:" && echo "$PUBLIC_IP"

            # Agregar regla al SG para el puerto 22
            - echo "Intentando agregar regla SG para $PUBLIC_IP/32"
            - |
              aws ec2 authorize-security-group-ingress --group-id "$SECURITY_GROUP_ID" --protocol tcp --port 22 --cidr "$PUBLIC_IP/32" 2>/dev/null || echo "La regla puede ya existir."

            # Ejecutar deploy vía SSH
            - pipe: atlassian/ssh-run:0.4.0
              variables:
                SSH_USER: "ubuntu"
                SERVER: "3.129.109.118"
                COMMAND: "cd /opt/scripts/ && ./deploy.sh"
                MODE: "command"

            # (Opcional) Revocar regla después del deploy
            - echo "Eliminando regla SG para $PUBLIC_IP/32"
            - aws ec2 revoke-security-group-ingress --group-id "$SECURITY_GROUP_ID" --protocol tcp --port 22 --cidr "$PUBLIC_IP/32" 2>/dev/null || echo "No se pudo eliminar o no existía la regla."
      - step:
          image: python:3.11-slim
          name: "Build PROD OTROS EQUIPOS"
          script:
            - apt-get update && apt-get install -y curl jq ssh awscli

            # Validar variables de entorno
            - |
              if [ -z "$AWS_ACCESS_KEY_ID" ] || [ -z "$AWS_SECRET_ACCESS_KEY" ] || [ -z "$SECURITY_GROUP_ID" ] || [ -z "$AWS_DEFAULT_REGION" ]; then
                echo "ERROR: Variables de entorno AWS no configuradas correctamente."
                exit 1
              fi

            # Configurar región para AWS CLI
            - export AWS_DEFAULT_REGION=$AWS_DEFAULT_REGION

            # Obtener IP pública
            - PUBLIC_IP=$(curl -s https://checkip.amazonaws.com/ | tr -d '\n')
            - echo "IP pública detectada:" && echo "$PUBLIC_IP"

            # Agregar regla al SG para el puerto 22
            - echo "Intentando agregar regla SG para $PUBLIC_IP/32"
            - |
              aws ec2 authorize-security-group-ingress --group-id "$SECURITY_GROUP_ID" --protocol tcp --port 22 --cidr "$PUBLIC_IP/32" 2>/dev/null || echo "La regla puede ya existir."

            # Ejecutar deploy vía SSH
            - pipe: atlassian/ssh-run:0.4.0
              variables:
                SSH_USER: "ubuntu"
                SERVER: "3.130.14.165"
                COMMAND: "cd /opt/scripts/ && ./deploy.sh"
                MODE: "command"

            # (Opcional) Revocar regla después del deploy
            - echo "Eliminando regla SG para $PUBLIC_IP/32"
            - aws ec2 revoke-security-group-ingress --group-id "$SECURITY_GROUP_ID" --protocol tcp --port 22 --cidr "$PUBLIC_IP/32" 2>/dev/null || echo "No se pudo eliminar o no existía la regla."
    release/dim:
      - step:
          name: "Build PROD RELEASE DIM"
          deployment: production
          trigger: automatic
          script:
            - pipe: atlassian/ssh-run:0.4.0
              variables:
                SSH_USER: "ubuntu"
                SERVER: "3.22.36.91"
                COMMAND: "cd /opt/scripts/ && ./deploy_branch.sh"
                MODE: "command"
    release/millonarios:
      - step:
          name: "Build PROD RELEASE MILLONARIOS"
          deployment: production
          trigger: automatic
          script:
            - pipe: atlassian/ssh-run:0.4.0
              variables:
                SSH_USER: "ubuntu"
                SERVER: "3.139.30.69"
                COMMAND: "cd /opt/scripts/ && ./deploy_branch.sh"
                MODE: "command"
    release/fortaleza:
      - step:
          name: "Build PROD RELEASE FORTALEZA"
          deployment: production
          trigger: automatic
          script:
            - pipe: atlassian/ssh-run:0.4.0
              variables:
                SSH_USER: "ubuntu"
                SERVER: "3.129.109.118"
                COMMAND: "cd /opt/scripts/ && ./deploy_branch.sh"
                MODE: "command"
    release/envigado:
      - step:
          name: "Build PROD RELEASE ENVIGADO"
          deployment: production
          trigger: automatic
          script:
            - pipe: atlassian/ssh-run:0.4.0
              variables:
                SSH_USER: "ubuntu"
                SERVER: "3.130.14.165"
                COMMAND: "cd /opt/scripts/ && ./deploy_envigado.sh"
                MODE: "command"
    release/junior:
      - step:
          name: "Build PROD RELEASE JUNIOR"
          deployment: production
          trigger: automatic
          script:
            - pipe: atlassian/ssh-run:0.4.0
              variables:
                SSH_USER: "ubuntu"
                SERVER: "3.130.14.165"
                COMMAND: "cd /opt/scripts/ && ./deploy_junior.sh"
                MODE: "command"
    release/sportingcristal:
      - step:
          name: "Build PROD RELEASE SPORTING CRISTAL"
          deployment: production
          trigger: automatic
          script:
            - pipe: atlassian/ssh-run:0.4.0
              variables:
                SSH_USER: "ubuntu"
                SERVER: "3.130.14.165"
                COMMAND: "cd /opt/scripts/ && ./deploy_sportingcristal.sh"
                MODE: "command"
    release/trinche:
      - step:
          name: "Build PROD RELEASE TRINCHE"
          deployment: production
          trigger: automatic
          script:
            - pipe: atlassian/ssh-run:0.4.0
              variables:
                SSH_USER: "ubuntu"
                SERVER: "3.130.14.165"
                COMMAND: "cd /opt/scripts/ && ./deploy_trinche.sh"
                MODE: "command"
    release/valledupar:
      - step:
          name: "Build PROD RELEASE VALLEDUPAR"
          deployment: production
          trigger: automatic
          script:
            - pipe: atlassian/ssh-run:0.4.0
              variables:
                SSH_USER: "ubuntu"
                SERVER: "3.130.14.165"
                COMMAND: "cd /opt/scripts/ && ./deploy_valledupar.sh"
                MODE: "command"
    release/realsoachacundinamarca:
      - step:
          name: "Build PROD RELEASE REAL SOACHA CUNDINAMARCA"
          deployment: production
          trigger: automatic
          script:
            - pipe: atlassian/ssh-run:0.4.0
              variables:
                SSH_USER: "ubuntu"
                SERVER: "3.130.14.165"
                COMMAND: "cd /opt/scripts/ && ./deploy_realsoachacundinamarca.sh"
                MODE: "command"
    release/tauro:
      - step:
          name: "Build PROD RELEASE TAURO"
          deployment: production
          trigger: automatic
          script:
            - pipe: atlassian/ssh-run:0.4.0
              variables:
                SSH_USER: "ubuntu"
                SERVER: "3.130.14.165"
                COMMAND: "cd /opt/scripts/ && ./deploy_tauro.sh"
                MODE: "command"
    release/cobresal:
      - step:
          name: "Build PROD RELEASE COBRESAL"
          deployment: production
          trigger: automatic
          script:
            - pipe: atlassian/ssh-run:0.4.0
              variables:
                SSH_USER: "ubuntu"
                SERVER: "3.130.14.165"
                COMMAND: "cd /opt/scripts/ && ./deploy_cobresal.sh"
                MODE: "command"
    release/sierra:
      - step:
          name: "Build PROD RELEASE SIERRA"
          deployment: production
          trigger: automatic
          script:
            - pipe: atlassian/ssh-run:0.4.0
              variables:
                SSH_USER: "ubuntu"
                SERVER: "3.130.14.165"
                COMMAND: "cd /opt/scripts/ && ./deploy_sierra.sh"
                MODE: "command"
    release/academiadeportivocali:
      - step:
          name: "Build PROD RELEASE DEPORTIVO CALI USA"
          deployment: production
          trigger: automatic
          script:
            - pipe: atlassian/ssh-run:0.4.0
              variables:
                SSH_USER: "ubuntu"
                SERVER: "3.130.14.165"
                COMMAND: "cd /opt/scripts/ && ./deploy_academiadeportivocali.sh"
                MODE: "command"
    release/deportivocali:
      - step:
          name: "Build PROD RELEASE DEPORTIVO CALI"
          deployment: production
          trigger: automatic
          script:
            - pipe: atlassian/ssh-run:0.4.0
              variables:
                SSH_USER: "ubuntu"
                SERVER: "3.130.14.165"
                COMMAND: "cd /opt/scripts/ && ./deploy_deportivocali.sh"
                MODE: "command"
    release/atleticohuila:
      - step:
          name: "Build PROD RELEASE ATLETICO HUILA"
          deployment: production
          trigger: automatic
          script:
            - pipe: atlassian/ssh-run:0.4.0
              variables:
                SSH_USER: "ubuntu"
                SERVER: "3.130.14.165"
                COMMAND: "cd /opt/scripts/ && ./deploy_atleticohuila.sh"
                MODE: "command"
    release/atleticonacional:
      - step:
          name: "Build PROD RELEASE ATLETICO NACIONAL"
          deployment: production
          trigger: automatic
          script:
            - pipe: atlassian/ssh-run:0.4.0
              variables:
                SSH_USER: "ubuntu"
                SERVER: "3.130.14.165"
                COMMAND: "cd /opt/scripts/ && ./deploy_atleticonacional.sh"
                MODE: "command"
    release/aguilasoccer:
      - step:
          name: "Build PROD RELEASE AGUILA SOCCER"
          deployment: production
          trigger: automatic
          script:
            - pipe: atlassian/ssh-run:0.4.0
              variables:
                SSH_USER: "ubuntu"
                SERVER: "3.130.14.165"
                COMMAND: "cd /opt/scripts/ && ./deploy_aguilasoccer.sh"
                MODE: "command"
    release/copabonbonbum:
      - step:
          name: "Build PROD RELEASE COPA BON BON BUM"
          deployment: production
          trigger: automatic
          script:
            - pipe: atlassian/ssh-run:0.4.0
              variables:
                SSH_USER: "ubuntu"
                SERVER: "3.130.14.165"
                COMMAND: "cd /opt/scripts/ && ./deploy_copabonbonbum.sh"
                MODE: "command"
    release/academiafrankgiron:
      - step:
          name: "Build PROD RELEASE ACADEMIA FRANK GIRON"
          deployment: production
          trigger: automatic
          script:
            - pipe: atlassian/ssh-run:0.4.0
              variables:
                SSH_USER: "ubuntu"
                SERVER: "3.130.14.165"
                COMMAND: "cd /opt/scripts/ && ./deploy_academiafrankgiron.sh"
                MODE: "command"
    release/academiakanteranos:
      - step:
          name: "Build PROD RELEASE ACADEMIA KANTERANOS"
          deployment: production
          trigger: automatic
          script:
            - pipe: atlassian/ssh-run:0.4.0
              variables:
                SSH_USER: "ubuntu"
                SERVER: "3.130.14.165"
                COMMAND: "cd /opt/scripts/ && ./deploy_academiakanteranos.sh"
                MODE: "command"
    release/academiasifa:
      - step:
          name: "Build PROD RELEASE ACADEMIA SIFA"
          deployment: production
          trigger: automatic
          script:
            - pipe: atlassian/ssh-run:0.4.0
              variables:
                SSH_USER: "ubuntu"
                SERVER: "3.130.14.165"
                COMMAND: "cd /opt/scripts/ && ./deploy_academiasifa.sh"
                MODE: "command"
    release/desafiofutbol:
      - step:
          name: "Build PROD RELEASE DESAFIO FUTBOL"
          deployment: production
          trigger: automatic
          script:
            - pipe: atlassian/ssh-run:0.4.0
              variables:
                SSH_USER: "ubuntu"
                SERVER: "3.130.14.165"
                COMMAND: "cd /opt/scripts/ && ./deploy_desafiofutbol.sh"
                MODE: "command"
    release/saprissa:
      - step:
          name: "Build PROD RELEASE SAPRISSA"
          deployment: production
          trigger: automatic
          script:
            - pipe: atlassian/ssh-run:0.4.0
              variables:
                SSH_USER: "ubuntu"
                SERVER: "3.130.14.165"
                COMMAND: "cd /opt/scripts/ && ./deploy_saprissa.sh"
                MODE: "command"
    release/consumo:
      - step:
          name: "Build PROD RELEASE CONSUMO"
          deployment: production
          trigger: automatic
          script:
            - pipe: atlassian/ssh-run:0.4.0
              variables:
                SSH_USER: "ubuntu"
                SERVER: "3.13.53.113"
                COMMAND: "cd /opt/scripts/ && ./deploy_branch.sh"
                MODE: "command"
    release/academiamacara:
      - step:
          name: "Build PROD RELEASE ACADEMIA MACARA"
          deployment: production
          trigger: automatic
          script:
            - pipe: atlassian/ssh-run:0.4.0
              variables:
                SSH_USER: "ubuntu"
                SERVER: "3.130.14.165"
                COMMAND: "cd /opt/scripts/ && ./deploy_academiamacara.sh"
                MODE: "command"
    release/cancunfc:
      - step:
          name: "Build PROD RELEASE CANCUN FC"
          deployment: production
          trigger: automatic
          script:
            - pipe: atlassian/ssh-run:0.4.0
              variables:
                SSH_USER: "ubuntu"
                SERVER: "3.130.14.165"
                COMMAND: "cd /opt/scripts/ && ./deploy_cancunfc.sh"
                MODE: "command"
    release/realcartagena:
      - step:
          name: "Build PROD RELEASE REAL CARTAGENA"
          deployment: production
          trigger: automatic
          script:
            - pipe: atlassian/ssh-run:0.4.0
              variables:
                SSH_USER: "ubuntu"
                SERVER: "3.130.14.165"
                COMMAND: "cd /opt/scripts/ && ./deploy_realcartagena.sh"
                MODE: "command"
    release/academiabrisas:
      - step:
          name: "Build PROD RELEASE ACADEMIA BRISAS"
          deployment: production
          trigger: automatic
          script:
            - pipe: atlassian/ssh-run:0.4.0
              variables:
                SSH_USER: "ubuntu"
                SERVER: "3.130.14.165"
                COMMAND: "cd /opt/scripts/ && ./deploy_academiabrisas.sh"
                MODE: "command"
    release/dimayor:
      - step:
          name: "Build PROD RELEASE DIMAYOR"
          deployment: production
          trigger: automatic
          script:
            - pipe: atlassian/ssh-run:0.4.0
              variables:
                SSH_USER: "ubuntu"
                SERVER: "3.130.14.165"
                COMMAND: "cd /opt/scripts/ && ./deploy_dimayor.sh"
                MODE: "command"
    release/nuevostalentos:
      - step:
          name: "Build PROD RELEASE NUEVOS TALENTOS"
          deployment: production
          trigger: automatic
          script:
            - pipe: atlassian/ssh-run:0.4.0
              variables:
                SSH_USER: "ubuntu"
                SERVER: "3.130.14.165"
                COMMAND: "cd /opt/scripts/ && ./deploy_nuevostalentos.sh"
                MODE: "command"
    release/efcarlossarmientolora:
      - step:
          name: "Build PROD RELEASE EF CARLOS SARMIENTO LORA"
          deployment: production
          trigger: automatic
          script:
            - pipe: atlassian/ssh-run:0.4.0
              variables:
                SSH_USER: "ubuntu"
                SERVER: "3.130.14.165"
                COMMAND: "cd /opt/scripts/ && ./deploy_efcarlossarmientolora.sh"
                MODE: "command"
    release/ciex:
      - step:
          name: "Build PROD RELEASE CIEX"
          deployment: production
          trigger: automatic
          script:
            - pipe: atlassian/ssh-run:0.4.0
              variables:
                SSH_USER: "ubuntu"
                SERVER: "3.130.14.165"
                COMMAND: "cd /opt/scripts/ && ./deploy_ciex.sh"
                MODE: "command"
    release/travelpassport:
      - step:
          name: "Build PROD RELEASE TRAVEL PASSPORT"
          deployment: production
          trigger: automatic
          script:
            - pipe: atlassian/ssh-run:0.4.0
              variables:
                SSH_USER: "ubuntu"
                SERVER: "3.130.14.165"
                COMMAND: "cd /opt/scripts/ && ./deploy_travelpassport.sh"
                MODE: "command"

    release/idvescuelas:
      - step:
          name: "Build PROD RELEASE IDV ESCUELAS"
          deployment: production
          trigger: automatic
          script:
            - pipe: atlassian/ssh-run:0.4.0
              variables:
                SSH_USER: "ubuntu"
                SERVER: "3.130.14.165"
                COMMAND: "cd /opt/scripts/ && ./deploy_idvescuelas.sh"
                MODE: "command"
    release/internacionalfcacademy:
      - step:
          name: "Build PROD RELEASE INTERNACIONAL FC ACADEMY"
          deployment: production
          trigger: automatic
          script:
            - pipe: atlassian/ssh-run:0.4.0
              variables:
                SSH_USER: "ubuntu"
                SERVER: "3.130.14.165"
                COMMAND: "cd /opt/scripts/ && ./deploy_internacionalfcacademy.sh"
                MODE: "command"
    release/otifutbolbase:
      - step:
          name: "Build PROD RELEASE OTI FUTBOL BASE"
          deployment: production
          trigger: automatic
          script:
            - pipe: atlassian/ssh-run:0.4.0
              variables:
                SSH_USER: "ubuntu"
                SERVER: "3.130.14.165"
                COMMAND: "cd /opt/scripts/ && ./deploy_otifutbolbase.sh"
                MODE: "command"
    release/maracaneiros:
      - step:
          name: "Build PROD RELEASE MARACANEIROS"
          deployment: production
          trigger: automatic
          script:
            - pipe: atlassian/ssh-run:0.4.0
              variables:
                SSH_USER: "ubuntu"
                SERVER: "3.130.14.165"
                COMMAND: "cd /opt/scripts/ && ./deploy_maracaneiros.sh"
                MODE: "command"
    release/ringoamayafc:
      - step:
          name: "Build PROD RELEASE RINGO AMAYA FC"
          deployment: production
          trigger: automatic
          script:
            - pipe: atlassian/ssh-run:0.4.0
              variables:
                SSH_USER: "ubuntu"
                SERVER: "3.130.14.165"
                COMMAND: "cd /opt/scripts/ && ./deploy_ringoamayafc.sh"
                MODE: "command"
    release/academiatigresazulyoro:
      - step:
          name: "Build PROD RELEASE Academia Tigres Azul y Oro"
          deployment: production
          trigger: automatic
          script:
            - pipe: atlassian/ssh-run:0.4.0
              variables:
                SSH_USER: "ubuntu"
                SERVER: "3.130.14.165"
                COMMAND: "cd /opt/scripts/ && ./deploy_academiatigresazulyoro.sh"
                MODE: "command"
    release/afaescuela:
      - step:
          name: "Build PROD RELEASE AFA Escuela"
          deployment: production
          trigger: automatic
          script:
            - pipe: atlassian/ssh-run:0.4.0
              variables:
                SSH_USER: "ubuntu"
                SERVER: "3.130.14.165"
                COMMAND: "cd /opt/scripts/ && ./deploy_afaescuela.sh"
                MODE: "command"
    release/clubalexisgarcia:
      - step:
          name: "Build PROD RELEASE CLUB ALEXIS GARCIA"
          deployment: production
          trigger: automatic
          script:
            - pipe: atlassian/ssh-run:0.4.0
              variables:
                SSH_USER: "ubuntu"
                SERVER: "3.130.14.165"
                COMMAND: "cd /opt/scripts/ && ./deploy_clubalexisgarcia.sh"
                MODE: "command"
    release/torneosmasfutbol:
      - step:
          name: "Build PROD RELEASE TORNEOS MAS FUTBOL"
          deployment: production
          trigger: automatic
          script:
            - pipe: atlassian/ssh-run:0.4.0
              variables:
                SSH_USER: "ubuntu"
                SERVER: "3.130.14.165"
                COMMAND: "cd /opt/scripts/ && ./deploy_torneosmasfutbol.sh"
                MODE: "command"
    release/sanfrancisco:
      - step:
          name: "Build PROD RELEASE San Francisco"
          deployment: production
          trigger: automatic
          script:
            - pipe: atlassian/ssh-run:0.4.0
              variables:
                SSH_USER: "ubuntu"
                SERVER: "3.130.14.165"
                COMMAND: "cd /opt/scripts/ && ./deploy_sanfrancisco.sh"
                MODE: "command"
    release/realcundinamarca:
      - step:
          name: "Build PROD RELEASE REAL CUNDINAMARCA"
          deployment: production
          trigger: automatic
          script:
            - pipe: atlassian/ssh-run:0.4.0
              variables:
                SSH_USER: "ubuntu"
                SERVER: "3.130.14.165"
                COMMAND: "cd /opt/scripts/ && ./deploy_realcundinamarca.sh"
                MODE: "command"
    release/cdequidad:
      - step:
          name: "Build PROD RELEASE CD Equidad"
          deployment: production
          trigger: automatic
          script:
            - pipe: atlassian/ssh-run:0.4.0
              variables:
                SSH_USER: "ubuntu"
                SERVER: "3.130.14.165"
                COMMAND: "cd /opt/scripts/ && ./deploy_cdequidad.sh"
                MODE: "command"
    release/fanaticadastiquetera:
      - step:
          name: "Build PROD RELEASE CD fanaticadastiquetera"
          deployment: production
          trigger: automatic
          script:
            - pipe: atlassian/ssh-run:0.4.0
              variables:
                SSH_USER: "ubuntu"
                SERVER: "3.130.14.165"
                COMMAND: "cd /opt/scripts/ && ./deploy_fanaticadastiquetera.sh"
                MODE: "command"
    release/clubdeportivocuenca:
      - step:
          name: "Build PROD RELEASE CD Club Deportivo Cuenca"
          deployment: production
          trigger: automatic
          script:
            - pipe: atlassian/ssh-run:0.4.0
              variables:
                SSH_USER: "ubuntu"
                SERVER: "3.130.14.165"
                COMMAND: "cd /opt/scripts/ && ./deploy_clubdeportivocuenca.sh"
                MODE: "command"
    release/corazondecampeonas:
      - step:
          name: "Build PROD RELEASE Corazon de campeonas"
          deployment: production
          trigger: automatic
          script:
            - pipe: atlassian/ssh-run:0.4.0
              variables:
                SSH_USER: "ubuntu"
                SERVER: "3.130.14.165"
                COMMAND: "cd /opt/scripts/ && ./deploy_corazondecampeonas.sh"
                MODE: "command"
    release/orsomarsosc:
      - step:
          name: "Build PROD RELEASE Orsomarso SC"
          deployment: production
          trigger: automatic
          script:
            - pipe: atlassian/ssh-run:0.4.0
              variables:
                SSH_USER: "ubuntu"
                SERVER: "3.130.14.165"
                COMMAND: "cd /opt/scripts/ && ./deploy_orsomarsosc.sh"
                MODE: "command"
    release/clubsantoslaguna:
      - step:
          name: "Build PROD RELEASE Club Santos Laguna"
          deployment: production
          trigger: automatic
          script:
            - pipe: atlassian/ssh-run:0.4.0
              variables:
                SSH_USER: "ubuntu"
                SERVER: "3.130.14.165"
                COMMAND: "cd /opt/scripts/ && ./deploy_clubsantoslaguna.sh"
                MODE: "command"
    release/condorfc:
      - step:
          name: "Build PROD RELEASE Cóndor FC"
          deployment: production
          trigger: automatic
          script:
            - pipe: atlassian/ssh-run:0.4.0
              variables:
                SSH_USER: "ubuntu"
                SERVER: "3.130.14.165"
                COMMAND: "cd /opt/scripts/ && ./deploy_condorfc.sh"
                MODE: "command"
    release/atleticobucaramanga:
      - step:
          name: "Build PROD RELEASE Atlético Bucaramanga"
          deployment: production
          trigger: automatic
          script:
            - pipe: atlassian/ssh-run:0.4.0
              variables:
                SSH_USER: "ubuntu"
                SERVER: "3.130.14.165"
                COMMAND: "cd /opt/scripts/ && ./deploy_atleticobucaramanga.sh"
                MODE: "command"
    release/independientesanafe:
      - step:
          name: "Build PROD RELEASE Independiente Santa Fe"
          deployment: production
          trigger: automatic
          script:
            - pipe: atlassian/ssh-run:0.4.0
              variables:
                SSH_USER: "ubuntu"
                SERVER: "3.130.14.165"
                COMMAND: "cd /opt/scripts/ && ./deploy_independientesantafe.sh"
                MODE: "command"
    release/tolima:
      - step:
          name: "Build PROD RELEASE Tolima"
          deployment: production
          trigger: automatic
          script:
            - pipe: atlassian/ssh-run:0.4.0
              variables:
                SSH_USER: "ubuntu"
                SERVER: "3.130.14.165"
                COMMAND: "cd /opt/scripts/ && ./deploy_tolima.sh"
                MODE: "command"
    release/emelec:
      - step:
          name: "Build PROD RELEASE Emelec"
          deployment: production
          trigger: automatic
          script:
            - pipe: atlassian/ssh-run:0.4.0
              variables:
                SSH_USER: "ubuntu"
                SERVER: "3.130.14.165"
                COMMAND: "cd /opt/scripts/ && ./deploy_emelec.sh"
                MODE: "command"