Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
ci: Remove 2>&1 redirection.
Anders Kaseorg056b715765ba
diff --git a/.github/workflows/production-suite.yml b/.github/workflows/production-suite.ymlindex eb8d2b68f1e..f7fa4764996 100644--- a/.github/workflows/production-suite.yml+++ b/.github/workflows/production-suite.yml@@ -90,7 +90,7 @@ jobs:sudo sed -i '/^bind/s/bind.*/bind 0.0.0.0/' /etc/redis/redis.conf- name: Build production tarball- run: ./tools/ci/production-build 2>&1+ run: ./tools/ci/production-build- name: Upload production build artifacts for install jobsuses: actions/upload-artifact@v2@@ -176,23 +176,23 @@ jobs:sudo sed -i '/^bind/s/bind.*/bind 0.0.0.0/' /etc/redis/redis.conf- name: Production extract tarball- run: /tmp/production-extract-tarball 2>&1+ run: /tmp/production-extract-tarball- name: Install productionrun: |sudo service rabbitmq-server restart- sudo /tmp/production-install 2>&1+ sudo /tmp/production-install- name: Verify install- run: sudo /tmp/production-verify 2>&1+ run: sudo /tmp/production-verify- name: Upgrade postgresqlif: ${{ matrix.is_bionic }}- run: sudo /tmp/production-upgrade-pg 2>&1+ run: sudo /tmp/production-upgrade-pg- name: Verify install after upgrading postgresqlif: ${{ matrix.is_bionic }}- run: sudo /tmp/production-verify 2>&1+ run: sudo /tmp/production-verify- name: Report statusif: failure()diff --git a/.github/workflows/zulip-ci.yml b/.github/workflows/zulip-ci.ymlindex 0739869b78e..9c20221cd7b 100644--- a/.github/workflows/zulip-ci.yml+++ b/.github/workflows/zulip-ci.yml@@ -106,18 +106,16 @@ jobs:# Cleaning caches is mostly unnecessary in GitHub Actions, because# most builds don't get to write to the cache.- # scripts/lib/clean-unused-caches --verbose --threshold 0 2>&1+ # scripts/lib/clean-unused-caches --verbose --threshold 0- name: Run tools testrun: |source tools/ci/activate-venv- exec 2>&1./tools/test-tools- name: Run backend lintrun: |source tools/ci/activate-venv- exec 2>&1echo "Test suite is running under $(python --version)."./tools/lint --groups=backend --skip=gitlint,mypy # gitlint disabled because flaky@@ -125,19 +123,16 @@ jobs:if: ${{ matrix.include_frontend_tests }}run: |source tools/ci/activate-venv- exec 2>&1./tools/lint --groups=frontend --skip=gitlint # gitlint disabled because flaky- name: Run backend testsrun: |source tools/ci/activate-venv- exec 2>&1./tools/test-backend --coverage --include-webhooks --no-cov-cleanup --ban-console-output- name: Run mypyrun: |source tools/ci/activate-venv- exec 2>&1# We run mypy after the backend tests so we get output from the# backend tests, which tend to uncover more serious problems, first../tools/run-mypy --version@@ -146,7 +141,6 @@ jobs:- name: Run miscellaneous testsrun: |source tools/ci/activate-venv- exec 2>&1# Currently our compiled requirements files will differ for different python versions# so we will run test-locked-requirements only for Bionic.@@ -164,7 +158,6 @@ jobs:- name: Run documentation and api testsrun: |source tools/ci/activate-venv- exec 2>&1# In CI, we only test links we control in test-documentation to avoid flakes./tools/test-documentation --skip-external-links./tools/test-help-documentation --skip-external-links@@ -174,7 +167,6 @@ jobs:if: ${{ matrix.include_frontend_tests }}run: |source tools/ci/activate-venv- exec 2>&1# Run the node tests first, since they're fast and deterministic./tools/test-js-with-node --coverage@@ -182,7 +174,6 @@ jobs:if: ${{ matrix.include_frontend_tests }}run: |source tools/ci/activate-venv- exec 2>&1# Check that various schemas are consistent. (is fast)./tools/check-schemas@@ -190,7 +181,6 @@ jobs:if: ${{ matrix.include_frontend_tests }}run: |source tools/ci/activate-venv- exec 2>&1./manage.py makemessages --locale enPYTHONWARNINGS=ignore ./tools/check-capitalization --no-generatePYTHONWARNINGS=ignore ./tools/check-frontend-i18n --no-generate@@ -199,13 +189,11 @@ jobs:if: ${{ matrix.include_frontend_tests }}run: |source tools/ci/activate-venv- exec 2>&1./tools/test-js-with-puppeteer- name: Check for untracked filesrun: |source tools/ci/activate-venv- exec 2>&1# This final check looks for untracked files that may have been# created by test-backend or provision.untracked="$(git ls-files --exclude-standard --others)"@@ -218,7 +206,7 @@ jobs:if: ${{ matrix.is_bionic }}run: |. /srv/zulip-py3-venv/bin/activate && \- ./tools/test-locked-requirements 2>&1+ ./tools/test-locked-requirements- name: Upload coverage reportsdiff --git a/tools/ci/setup-backend b/tools/ci/setup-backendindex d99ea61f877..48777fe336f 100755--- a/tools/ci/setup-backend+++ b/tools/ci/setup-backend@@ -6,7 +6,7 @@ set -x# Provisioning may fail due to many issues but most of the times a network# connection issue is the reason. So we are going to retry entire provisioning# once again if that fixes our problem.-tools/provision "$@" 2>&1 || {+tools/provision "$@" || {ret=$?if [ "$ret" = 1 ]; thenecho "\`provision\`: Something went wrong with the provisioning, might be a network issue, Retrying to provision..."