From 3f710767f6d3db652ca430523f59298dd8f84de2 Mon Sep 17 00:00:00 2001 From: Dave Miller Date: Sun, 17 Mar 2024 00:33:33 -0400 Subject: [PATCH] Bug 1885764: Don't try to build changelogs for BMO in CircleCI (#112) --- .circleci/config.yml | 48 ++++++++++++++++++++++---------------------- 1 file changed, 24 insertions(+), 24 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 7d7f363a7..ed911d6f6 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -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 -- 2.47.3