---
    name: "st2_deploy_test_master_f20"
    description: "Test st2_deploy.sh on each build"
    enabled: true
    trigger:
        type: "core.st2.generic.actiontrigger"
    criteria:
        trigger.action_name:
            pattern: "st2cd.st2_pkg_f20"
            type: "equals"
        trigger.status:
            pattern: "succeeded"
            type: "equals"
        trigger.parameters.environment:
            pattern: "staging"
            type: "equals"
        trigger.parameters.branch:
            pattern: "master"
            type: "equals"
    action:
        ref: "st2cd.st2_deploy_test"
        parameters:
            hostname: "st2-{{trigger.parameters.branch}}-{{trigger.execution_id}}"
            build: "{{trigger.parameters.build}}"
            version: "{{system.st2_unstable_version}}"
            environment: "sandbox"
            branch: "{{trigger.parameters.branch}}"
            revision: "{{trigger.parameters.revision}}"
            repo: "{{trigger.parameters.repo}}"
            instance_type: "m4.large"
            distro: "F20"

---
    name: "st2_deploy_test_master_f20"
    description: "Test st2_deploy.sh on each build"
    enabled: true
    trigger:
        type: "core.st2.generic.actiontrigger"
    criteria:
        trigger.action_name:
            pattern: "st2cd.st2_pkg_f20"
            type: "equals"
        trigger.status:
            pattern: "succeeded"
            type: "equals"
        trigger.parameters.environment:
            pattern: "staging"
            type: "equals"
        trigger.parameters.branch:
            pattern: "master"
            type: "equals"
    action:
        ref: "st2cd.st2_deploy_test"
        parameters:
            hostname: "st2-{{trigger.parameters.branch}}-{{trigger.execution_id}}"
            build: "{{trigger.parameters.build}}"
            version: "{{system.st2_unstable_version}}"
            environment: "sandbox"
            branch: "{{trigger.parameters.branch}}"
            revision: "{{trigger.parameters.revision}}"
            repo: "{{trigger.parameters.repo}}"
            distro: "F20"
Revert "adjust instance type from m3.medium -> m4.large for f20"
Revert "adjust instance type from m3.medium -> m4.large for f20"

This reverts commit 496fd64f314691e9c8d69ab559105034ce64ab5e.

We also need to update image we use, see
https://github.com/StackStorm/st2cd/commit/496fd64f314691e9c8d69ab559105034ce64ab5e#commitcomment-12901881
for details.
