From 60b86d58f7003548eda63a580b63622e7941ccf9 Mon Sep 17 00:00:00 2001
From: catch <catch@35733.no-reply.drupal.org>
Date: Mon, 18 Sep 2023 09:24:41 +0100
Subject: [PATCH] Issue #3387916 by fjgarlin, Spokje: Each GitLab job exposes
 user email

(cherry picked from commit 9bc5e07aa78762ca5f98a02ca8c9b1736d602c9b)
---
 .gitlab-ci.yml          | 1 -
 .gitlab-ci/pipeline.yml | 3 ---
 2 files changed, 4 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index d73fc6af1588..661c3c1b36f9 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -221,7 +221,6 @@ stages:
     paths:
       - vendor/
   script:
-      - export
       - composer validate
       - composer install
 
diff --git a/.gitlab-ci/pipeline.yml b/.gitlab-ci/pipeline.yml
index 7b908820f36f..518723eb254a 100644
--- a/.gitlab-ci/pipeline.yml
+++ b/.gitlab-ci/pipeline.yml
@@ -141,7 +141,6 @@ stages:
       [[ $_TARGET_DB == mysql* ]] && export SIMPLETEST_DB=mysql://$MYSQL_USER:$MYSQL_PASSWORD@database/$MYSQL_DATABASE?module=mysql
       [[ $_TARGET_DB == mariadb* ]] && export SIMPLETEST_DB=mysql://$MYSQL_USER:$MYSQL_PASSWORD@database/$MYSQL_DATABASE?module=mysql
       [[ $_TARGET_DB == pgsql* ]] && export SIMPLETEST_DB=pgsql://$POSTGRES_USER:$POSTGRES_PASSWORD@database/$POSTGRES_DB?module=pgsql
-    - export
     - mkdir -p ./sites/simpletest ./sites/default/files ./build/logs/junit /var/www/.composer
     - chown -R www-data:www-data ./sites ./build/logs/junit ./vendor /var/www/
     - sudo -u www-data git config --global --add safe.directory $CI_PROJECT_DIR
@@ -173,7 +172,6 @@ stages:
     paths:
       - vendor/
   script:
-      - export
       - composer validate
       - composer install
 
@@ -264,7 +262,6 @@ stages:
       [[ $_TARGET_DB == mysql* ]] && export DRUPAL_TEST_DB_URL=mysql://$MYSQL_USER:$MYSQL_PASSWORD@database/$MYSQL_DATABASE?module=mysql
       [[ $_TARGET_DB == mariadb* ]] && export DRUPAL_TEST_DB_URL=mysql://$MYSQL_USER:$MYSQL_PASSWORD@database/$MYSQL_DATABASE?module=mysql
       [[ $_TARGET_DB == pgsql* ]] && export DRUPAL_TEST_DB_URL=pgsql://$POSTGRES_USER:$POSTGRES_PASSWORD@database/$POSTGRES_DB?module=pgsql
-    - export
     - cp ./core/.env.example ./core/.env
     # dotenv-safe/config does not support environment variables
     # @see https://github.com/rolodato/dotenv-safe/issues/126
-- 
GitLab