---
driver:
  name: docker
  privileged: true
  use_sudo: false

transport:
  name: sftp

provisioner:
  name: ansible_playbook
  hosts: all
  roles_path: roles
  requirements_path: roles/mistral/requirements.yml
  extra_vars:
    # For the moment only staging repos have Ubuntu Xenial st2 packages
    # TODO: Remove when Ubuntu Xenial packages are available in prod
    st2_pkg_repo: staging-stable
  ansible_verbose: true
  ansible_verbosity: 2
  # TODO: Make sure Ansible playbooks are idepotent
  idempotency_test: false

platforms:
  # Ubuntu Trusty with Upstart
  - name: ubuntu-14.04
    driver_config:
      image: stackstorm/packagingtest:trusty
      platform: ubuntu
      disable_upstart: false
      run_command: /sbin/init
  # Ubuntu Xenial with Systemd
  - name: ubuntu-16.04
    driver_config:
      image: stackstorm/packagingtest:xenial
      platform: ubuntu
      run_command: /sbin/init
      volume:
        - /sys/fs/cgroup:/sys/fs/cgroup:ro

suites:
  - name: default

---
driver:
  name: docker
  privileged: true
  use_sudo: false

transport:
  name: sftp

provisioner:
  name: ansible_playbook
  hosts: all
  roles_path: roles
  requirements_path: roles/mistral/requirements.yml
  ansible_verbose: true
  ansible_verbosity: 2
  # TODO: Make sure Ansible playbooks are idepotent
  idempotency_test: false

platforms:
  # Ubuntu Trusty with Upstart
  - name: ubuntu-14.04
    driver_config:
      image: stackstorm/packagingtest:trusty
      platform: ubuntu
      disable_upstart: false
      run_command: /sbin/init
  # Ubuntu Xenial with Systemd
  - name: ubuntu-16.04
    driver_config:
      image: stackstorm/packagingtest:xenial
      platform: ubuntu
      run_command: /sbin/init
      volume:
        - /sys/fs/cgroup:/sys/fs/cgroup:ro

suites:
  - name: default

Use stable packagecloud repo for CI
Use stable packagecloud repo for CI
