Browse Source

build(gcb): Set CI=1 globally (#21500)

Since #21415 is landed, we can safely move the `CI=1` definition to the whole workflow
Burak Yigit Kaya 4 years ago
parent
commit
8c48e76fb4
1 changed files with 1 additions and 3 deletions
  1. 1 3
      docker/cloudbuild.yaml

+ 1 - 3
docker/cloudbuild.yaml

@@ -64,8 +64,6 @@ steps:
       - get-onpremise-repo
     entrypoint: 'bash'
     dir: onpremise
-    env:
-      - 'CI=1'
     args:
       - '-e'
       - '-c'
@@ -91,7 +89,6 @@ steps:
     entrypoint: 'bash'
     dir: onpremise
     env:
-      - 'CI=1'
       - 'SENTRY_PYTHON3=1'
     args:
       - '-e'
@@ -170,6 +167,7 @@ options:
   # We need more memory for Webpack builds & e2e onpremise tests
   machineType: 'N1_HIGHCPU_8'
   env:
+    - 'CI=1'
     - 'SENTRY_IMAGE=us.gcr.io/$PROJECT_ID/sentry:$COMMIT_SHA'
     - 'DOCKER_REPO=getsentry/sentry'
     - 'SENTRY_TEST_HOST=http://nginx'