]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Revert "no bug - Do not create qa data if not running qa tests" (#1358)
authordklawren <dklawren@users.noreply.github.com>
Wed, 3 Jul 2019 20:56:00 +0000 (16:56 -0400)
committerGitHub <noreply@github.com>
Wed, 3 Jul 2019 20:56:00 +0000 (16:56 -0400)
This reverts commit 0985893416bff1050a639dd09e22fb8aec307a47.

.circleci/config.yml
scripts/entrypoint.pl

index 1492610ae1d76e2d156deb271fbd69559bbc8e88..e683f9842070dd1f20a9817762aa042336c70ccc 100644 (file)
@@ -53,7 +53,6 @@ defaults:
         <<: *bmo_env
         BZ_QA_CONF_FILE: /app/.circleci/selenium_test.conf
         BZ_QA_ANSWERS_FILE:  /app/.circleci/checksetup_answers.txt
-        BZ_QA_CONFIG: 1
     - <<: *mysql_image
       environment: *mysql_env
     - <<: *selenium_firefox_image
@@ -174,8 +173,7 @@ jobs:
       - <<: *bmo_slim_image
         environment: *bmo_env
     steps:
-      - run: |
-          mkdir -p /app && cd /tmp/_circleci_local_build_repo && git ls-files -z | xargs -s 2091853 -0 tar -c | tar -x -C /app && cp -a /tmp/_circleci_local_build_repo/.git /app
+      - checkout
       - attach_workspace:
           at: /app/build_info
       - run: |
index b3b166644bdedebc7f34c1ff9baefe706a758ca4..e9700df15df713083787920cd93c614adfb020c0 100755 (executable)
@@ -142,12 +142,9 @@ sub cmd_load_test_data {
     '--param',     'use_mailer_queue=0'
   );
 
-  if ($ENV{BZ_QA_CONFIG}) {
-    chdir '/app/qa/config';
-    say 'chdir(/app/qa/config)';
-    run('perl', 'generate_test_data.pl');
-    chdir '/app';
-  }
+  chdir '/app/qa/config';
+  say 'chdir(/app/qa/config)';
+  run('perl', 'generate_test_data.pl');
 }
 
 sub cmd_test_webservices {