File: /var/www/vhost/disk-apps/teamdemo-central.sports-crowd.com/bitbucket-pipelines.yml
image: atlassian/default-image:3
pipelines:
branches:
qas:
- step:
name: "Build QAS"
deployment: test
trigger: automatic
script:
- pipe: atlassian/ssh-run:0.4.0
variables:
SSH_USER: "ubuntu"
SERVER: "18.119.35.213"
COMMAND: "cd /opt/scripts/ && ./deploy_central_qas.sh"
MODE: "command"
- step:
name: "Build Optional DEMO"
deployment: staging
trigger: manual
script:
- pipe: atlassian/ssh-run:0.4.0
variables:
SSH_USER: "ubuntu"
SERVER: "18.119.35.213"
COMMAND: "cd /opt/scripts/ && ./deploy_central_optional_demo.sh"
MODE: "command"
develop:
- step:
name: "Build DEMO"
deployment: staging
trigger: automatic
script:
- pipe: atlassian/ssh-run:0.4.0
variables:
SSH_USER: "ubuntu"
SERVER: "18.119.35.213"
COMMAND: "cd /opt/scripts/ && ./deploy_central_demo.sh"
MODE: "command"
master:
- step:
name: "Build PROD DIM"
deployment: test
trigger: automatic
script:
- pipe: atlassian/ssh-run:0.4.0
variables:
SSH_USER: "ubuntu"
SERVER: "3.22.36.91"
COMMAND: "cd /opt/scripts/ && ./deploy_central.sh"
MODE: "command"
- step:
name: "Build PROD RELEASE MILLONARIOS"
deployment: staging
trigger: automatic
script:
- pipe: atlassian/ssh-run:0.4.0
variables:
SSH_USER: "ubuntu"
SERVER: "3.139.30.69"
COMMAND: "cd /opt/scripts/ && ./deploy_central.sh"
MODE: "command"
- step:
name: "Build PROD OTROS EQUIPOS"
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_central.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_central.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_central_branch.sh"
MODE: "command"