diff --git a/ci-operator/jobs/openshift/installer/openshift-installer-presubmits.yaml b/ci-operator/jobs/openshift/installer/openshift-installer-presubmits.yaml index 704bd6e4286b0..d784f8ee5189d 100644 --- a/ci-operator/jobs/openshift/installer/openshift-installer-presubmits.yaml +++ b/ci-operator/jobs/openshift/installer/openshift-installer-presubmits.yaml @@ -134,4 +134,22 @@ presubmits: command: - sh args: - - ./hack/shellcheck.sh \ No newline at end of file + - ./hack/shellcheck.sh + + - name: pull-ci-origin-installer-tf-fmt + trigger: "((?m)^/test( all| tf-fmt),?(\\s+|$))" + rerun_command: "/test tf-fmt" + context: ci/prow/tf-fmt + always_run: true + agent: kubernetes + decorate: true + spec: + containers: + - image: quay.io/coreos/terraform-alpine:v0.11.7 + env: + - name: IS_CONTAINER + value: 'TRUE' + command: + - sh + args: + - ./hack/tf-fmt.sh