global:
  timeout: 3600
  env:
    OCP_PROJECT: __commit__
    THIS_BRANCH: __branch__
script:
  - oc new-project "${OCP_PROJECT}"
  - ansible-playbook --extra-vars working_namespace="${OCP_PROJECT}" --extra-vars working_branch="${THIS_BRANCH}" --extra-vars __service_telemetry_snmptraps_enabled="true" build/run-ci.yaml
  - ./tests/smoketest/smoketest.sh
after_script:
  - echo Final State; echo
  - oc get pods
  - echo
  - ./deploy/containerlogs.sh
  - ./deploy/remove_stf.sh
