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 <ibalutoiu@cloudbasesolutions.com>
This commit is contained in:
parent
8900de7a1b
commit
3d3ce2922d
1 changed files with 1 additions and 1 deletions
2
.github/workflows/integration-tests.yml
vendored
2
.github/workflows/integration-tests.yml
vendored
|
|
@ -31,7 +31,7 @@ jobs:
|
|||
- name: Generate secrets
|
||||
run: |
|
||||
function randomStringGenerator() {
|
||||
tr -dc "a-zA-Z0-9@#%^&*()_+?><~;" </dev/urandom | head -c 64 ; echo '';
|
||||
tr -dc "a-zA-Z0-9@#%^&*()_+?><~;" </dev/urandom 2>/dev/null | head -c 64 ; echo '';
|
||||
}
|
||||
|
||||
GARM_PASSWORD=$(randomStringGenerator)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue