mirror of
https://github.com/neondatabase/neon.git
synced 2026-01-16 18:02:56 +00:00
We are going to calculate md5 sum dynamically
This commit is contained in:
7
.github/workflows/cloud-regress.yml
vendored
7
.github/workflows/cloud-regress.yml
vendored
@@ -65,6 +65,13 @@ jobs:
|
||||
for fname in sql/*.sql expected/*.out; do
|
||||
sed -i.bak s/NEON_PASSWORD_PLACEHOLDER/"'${{ steps.pwgen.outputs.DBPASS }}'"/ "${fname}"
|
||||
done
|
||||
for ph in $(grep NEON_MD5_PLACEHOLDER expected/password.out | awk '{print $3;}' | sort | uniq); do
|
||||
USER=$(echo ${ph} | cut -c 22-)
|
||||
MD5=md5$(echo -n "${{ steps.pwgen.outputs.DBPASS }}${USER}" | md5sum | awk '{print $1;}')
|
||||
sed -i.bak "s/${ph}/$MD5/" expected/password.out
|
||||
done
|
||||
|
||||
|
||||
|
||||
- name: Download Neon artifact
|
||||
uses: ./.github/actions/download
|
||||
|
||||
Reference in New Issue
Block a user