From af2cba0858939eb88087debe1908807a4abfc7f9 Mon Sep 17 00:00:00 2001 From: ppyt-pl <84075708+ppyt-pl@users.noreply.github.com> Date: Wed, 5 Jan 2022 14:29:41 +0100 Subject: [PATCH] add `RUNNING_IN_CI` variable to pass GO linter (#411) * add `RUNNING_IN_CI` variable to pass GO linter * add `RUNNING_IN_CI` to IBM Cloud provider * fix var type * fix var type --- .../IBM.crossplane-provider-ibm-cloud.master.yaml | 15 +++++++++++++++ ...IBM.crossplane-provider-kubernetes.master.yaml | 15 +++++++++++++++ 2 files changed, 30 insertions(+) diff --git a/prow/cluster/jobs/IBM/crossplane-provider-ibm-cloud/IBM.crossplane-provider-ibm-cloud.master.yaml b/prow/cluster/jobs/IBM/crossplane-provider-ibm-cloud/IBM.crossplane-provider-ibm-cloud.master.yaml index d3472152f7cb..e338a780b921 100644 --- a/prow/cluster/jobs/IBM/crossplane-provider-ibm-cloud/IBM.crossplane-provider-ibm-cloud.master.yaml +++ b/prow/cluster/jobs/IBM/crossplane-provider-ibm-cloud/IBM.crossplane-provider-ibm-cloud.master.yaml @@ -19,6 +19,9 @@ presubmits: - entrypoint - make - build + env: + - name: RUNNING_IN_CI + value: "true" image: quay.io/multicloudlab/build-tool:v20210203-ad22dc7f6 name: "" securityContext: @@ -41,6 +44,9 @@ presubmits: - entrypoint - make - test + env: + - name: RUNNING_IN_CI + value: "true" image: quay.io/multicloudlab/build-tool:v20210203-ad22dc7f6 name: "" securityContext: @@ -64,6 +70,9 @@ postsubmits: - entrypoint - make - test + env: + - name: RUNNING_IN_CI + value: "true" image: quay.io/multicloudlab/build-tool:v20210203-ad22dc7f6 name: "" securityContext: @@ -85,6 +94,9 @@ postsubmits: - entrypoint - make - build + env: + - name: RUNNING_IN_CI + value: "true" image: quay.io/multicloudlab/build-tool:v20210203-ad22dc7f6 name: "" securityContext: @@ -106,6 +118,9 @@ postsubmits: - entrypoint - make - images + env: + - name: RUNNING_IN_CI + value: "true" image: quay.io/multicloudlab/build-tool:v20210203-ad22dc7f6 name: "" securityContext: diff --git a/prow/cluster/jobs/IBM/crossplane-provider-kubernetes/IBM.crossplane-provider-kubernetes.master.yaml b/prow/cluster/jobs/IBM/crossplane-provider-kubernetes/IBM.crossplane-provider-kubernetes.master.yaml index 5f7d26f65137..dfab81e20317 100644 --- a/prow/cluster/jobs/IBM/crossplane-provider-kubernetes/IBM.crossplane-provider-kubernetes.master.yaml +++ b/prow/cluster/jobs/IBM/crossplane-provider-kubernetes/IBM.crossplane-provider-kubernetes.master.yaml @@ -19,6 +19,9 @@ presubmits: - entrypoint - make - build + env: + - name: RUNNING_IN_CI + value: "true" image: quay.io/multicloudlab/build-tool:v20210203-ad22dc7f6 name: "" securityContext: @@ -41,6 +44,9 @@ presubmits: - entrypoint - make - test + env: + - name: RUNNING_IN_CI + value: "true" image: quay.io/multicloudlab/build-tool:v20210203-ad22dc7f6 name: "" securityContext: @@ -64,6 +70,9 @@ postsubmits: - entrypoint - make - test + env: + - name: RUNNING_IN_CI + value: "true" image: quay.io/multicloudlab/build-tool:v20210203-ad22dc7f6 name: "" securityContext: @@ -85,6 +94,9 @@ postsubmits: - entrypoint - make - build + env: + - name: RUNNING_IN_CI + value: "true" image: quay.io/multicloudlab/build-tool:v20210203-ad22dc7f6 name: "" securityContext: @@ -106,6 +118,9 @@ postsubmits: - entrypoint - make - images + env: + - name: RUNNING_IN_CI + value: "true" image: quay.io/multicloudlab/build-tool:v20210203-ad22dc7f6 name: "" securityContext: