]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 1885764: Don't try to build changelogs for BMO in CircleCI (#112)
authorDave Miller <justdave@bugzilla.org>
Sun, 17 Mar 2024 04:33:33 +0000 (00:33 -0400)
committerGitHub <noreply@github.com>
Sun, 17 Mar 2024 04:33:33 +0000 (00:33 -0400)
.circleci/config.yml

index 7d7f363a7e9c6554348bbf268a9e3b41a4f1d475..ed911d6f6e1001077c6daae70551137f930d2487 100644 (file)
@@ -49,27 +49,27 @@ jobs:
           docker compose -f docker-compose.test.yml run --name version_json --entrypoint true bmo.test
           docker cp version_json:/app/version.json build_info/version.json
           docker rm version_json
-      - run:
-          name: build push data
-          command: |
-            docker compose -f docker-compose.test.yml run --name push_data bmo.test push_data
-            docker cp push_data:/app/build_info/blog.push.txt build_info/blog.push.txt
-            docker cp push_data:/app/build_info/bug.push.txt build_info/bug.push.txt
-            docker cp push_data:/app/build_info/email.push.txt build_info/email.push.txt
-            docker cp push_data:/app/build_info/tag.txt build_info/tag.txt
-            docker cp push_data:/app/build_info/wiki.push.txt build_info/wiki.push.txt
-            docker rm push_data
-      - run:
-          name: only publish if tag exists
-          command: |
-            git fetch --tags
-            tag="$(cat build_info/tag.txt)"
-            if git tag | fgrep -q "$tag"; then
-              echo "tag $tag exists!"
-            else
-              echo "tag $tag does not exist"
-              echo yes > build_info/publish.txt
-            fi
+#      - run:
+#          name: build push data
+#          command: |
+#            docker compose -f docker-compose.test.yml run --name push_data bmo.test push_data
+#            docker cp push_data:/app/build_info/blog.push.txt build_info/blog.push.txt
+#            docker cp push_data:/app/build_info/bug.push.txt build_info/bug.push.txt
+#            docker cp push_data:/app/build_info/email.push.txt build_info/email.push.txt
+#            docker cp push_data:/app/build_info/tag.txt build_info/tag.txt
+#            docker cp push_data:/app/build_info/wiki.push.txt build_info/wiki.push.txt
+#            docker rm push_data
+#      - run:
+#          name: only publish if tag exists
+#          command: |
+#            git fetch --tags
+#            tag="$(cat build_info/tag.txt)"
+#            if git tag | fgrep -q "$tag"; then
+#              echo "tag $tag exists!"
+#            else
+#              echo "tag $tag does not exist"
+#              echo yes > build_info/publish.txt
+#            fi
       - run:
           name: check if only version changed
           command: |
@@ -86,9 +86,9 @@ jobs:
               exit 0
             fi
             echo yes > build_info/only_version_changed.txt
-      - persist_to_workspace:
-          root: /tmp/bzbuild/build_info
-          paths: ["*.txt"]
+#      - persist_to_workspace:
+#          root: /tmp/bzbuild/build_info
+#          paths: ["*.txt"]
       - store_artifacts:
           path: /tmp/bzbuild/build_info
       - *store_log