From 3d3ce2922d2dd24037876d1aa5a27f7fe1a859e0 Mon Sep 17 00:00:00 2001 From: Ionut Balutoiu Date: Tue, 22 Aug 2023 11:43:06 +0300 Subject: [PATCH] Silence `tr` stderr output This seems to be related to the distribution used by the GitHub `ubuntu-latest` runners, as I can't reproduce it locally on my Ubuntu 22.04 server. An useful discussion on this topic: https://stackoverflow.com/questions/48725875/is-there-a-workaround-for-this-broken-pipe-error Signed-off-by: Ionut Balutoiu --- .github/workflows/integration-tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/integration-tests.yml b/.github/workflows/integration-tests.yml index 9df7a729..3685bbd0 100644 --- a/.github/workflows/integration-tests.yml +++ b/.github/workflows/integration-tests.yml @@ -31,7 +31,7 @@ jobs: - name: Generate secrets run: | function randomStringGenerator() { - tr -dc "a-zA-Z0-9@#%^&*()_+?><~;" <~;" /dev/null | head -c 64 ; echo ''; } GARM_PASSWORD=$(randomStringGenerator)