---
$inherits:
  from: 'tasks/tests/b2g_unittest_base.yml'
reruns: 3
task:
  metadata:
    name: '[TC] Mulet Gaia JS Integration Test'
    description: Mulet Gaia JS Integration Test run {{chunk}}

  payload:
    env:
      NEED_PULL_GAIA: true
      MOZHARNESS_SCRIPT: 'mozharness/scripts/gaia_integration.py'
      MOZHARNESS_CONFIG: 'mozharness/configs/b2g/taskcluster_gaia_integration.py'
    command:
      - bash
      - /home/worker/bin/test.sh
      - --application=firefox
      - --installer-url={{build_url}}
      - --test-packages-url={{test_packages_url}}
      - --total-chunk={{total_chunks}}
      - --this-chunk={{chunk}}

  extra:
    chunks:
      total: 40
    treeherderEnv:
      - production
      - staging
    treeherder:
      groupName: Gaia JS Integration Test
      groupSymbol: Gij
      symbol: '{{chunk}}'
      productName: b2g
