def test_generated_ec2_logging():
    run_playbook_test("tests/stack-confs/logging-ec2-stack-conf.yml",
                      "tests/target-playbooks/logging-ec2-playbook.yml")
def test_pull_playbook():
    run_playbook_test("tests/stack-confs/pull.yml", "tests/target-playbooks/pull.yml")
def test_generated_ec2_playbook():
    run_playbook_test("tests/stack-confs/ec2-test.yml",
                      "tests/target-playbooks/ec2-test.yml")
def test_generated_ec2_logging():
    run_playbook_test("tests/stack-confs/logging-ec2-stack-conf.yml",
                      "tests/target-playbooks/logging-ec2-playbook.yml")
def test_minimal_stack_conf():
    """Test that the minimal stack conf is valid"""
    run_playbook_test("tests/stack-confs/restart_policy.yml",
                      "tests/target-playbooks/restart_policy.yml")
def test_scheduler_volumes():
    run_playbook_test("tests/stack-confs/scheduler.yml",
                      "tests/target-playbooks/scheduler.yml")
Example #7
0
def test_rules_are_not_required():
    run_playbook_test("tests/stack-confs/security-group-short.yml",
                      "tests/target-playbooks/security-group-short-playbook.yml",
                      [0])
Example #8
0
def test_minimal_stack_conf():
    """Test that the minimal stack conf is valid"""
    run_playbook_test("tests/stack-confs/restart_policy.yml",
                      "tests/target-playbooks/restart_policy.yml")
def test_testing_ec2():
    run_playbook_test("tests/stack-confs/stack-test-ec2-conf.yml",
                      "tests/target-playbooks/stack-test-ec2-playbook.yml")
Example #10
0
def test_security_groups():
    run_playbook_test("tests/stack-confs/security-groups.yml",
                      "tests/target-playbooks/security-groups-playbook.yml",
                      [0, 1])
def test_testing_localhost():
    run_playbook_test("tests/stack-confs/stack-test-conf.yml",
                      "tests/target-playbooks/stack-test-playbook.yml")
Example #12
0
def test_expose_ports_are_not_overwritten():
    run_playbook_test("tests/stack-confs/expose-ports.yml",
                      "tests/target-playbooks/expose-ports-playbook.yml")
def test_generated_migration_ec2_playbook():
    run_playbook_test("tests/stack-confs/migrations-ec2-stack-conf.yml",
                      "tests/target-playbooks/migrations-ec2-playbook.yml")
Example #14
0
def test_testing_localhost():
    run_playbook_test("tests/stack-confs/stack-test-conf.yml",
                      "tests/target-playbooks/stack-test-playbook.yml")
Example #15
0
def test_generated_migration_ec2_playbook():
    run_playbook_test("tests/stack-confs/migrations-ec2-stack-conf.yml",
                      "tests/target-playbooks/migrations-ec2-playbook.yml")
Example #16
0
def test_testing_ec2():
    run_playbook_test("tests/stack-confs/stack-test-ec2-conf.yml",
                      "tests/target-playbooks/stack-test-ec2-playbook.yml")
def test_generated_cassandra_playbook():
    run_playbook_test("tests/stack-confs/cassandra-stack-conf.yml",
                      "tests/target-playbooks/cassandra-playbook.yml")
def test_scheduler_volumes():
    run_playbook_test("tests/stack-confs/scheduler.yml",
                      "tests/target-playbooks/scheduler.yml")
def test_generated_auth_plus_linking_playbook():
    run_playbook_test("tests/stack-confs/auth-plus-linking-stack-conf.yml",
                      "tests/target-playbooks/auth-plus-linking-playbook.yml")
Example #20
0
def test_pull_playbook():
    run_playbook_test("tests/stack-confs/pull.yml",
                      "tests/target-playbooks/pull.yml")
def test_minimal_stack_conf():
    """Test that the minimal stack conf is valid"""
    run_playbook_test("tests/stack-confs/volumes_from.yml",
                      "tests/target-playbooks/volumes_from.yml")