From 5891245c4582f1be4de042c93c7970c7cbbefc42 Mon Sep 17 00:00:00 2001 From: Matthias Date: Fri, 3 Dec 2021 00:47:10 +0100 Subject: [PATCH] replace pwd --- .github/workflows/pr_checks.yaml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/pr_checks.yaml b/.github/workflows/pr_checks.yaml index 7cf01d7fb3..f02ef49f30 100644 --- a/.github/workflows/pr_checks.yaml +++ b/.github/workflows/pr_checks.yaml @@ -24,6 +24,7 @@ env: INVENTREE_STATIC_ROOT: ./static INVENTREE_DB_USER: inventree + INVENTREE_DB_PASSWORD: password jobs: @@ -207,7 +208,7 @@ jobs: env: INVENTREE_DB_ENGINE: django.db.backends.postgresql INVENTREE_DB_USER: ${{ env.INVENTREE_DB_USER }} - INVENTREE_DB_PASSWORD: password + INVENTREE_DB_PASSWORD: ${{ env.INVENTREE_DB_PASSWORD }} INVENTREE_DB_HOST: '127.0.0.1' INVENTREE_DB_PORT: 5432 INVENTREE_DEBUG: info @@ -218,7 +219,7 @@ jobs: image: postgres env: POSTGRES_USER: ${{ env.INVENTREE_DB_USER }} - POSTGRES_PASSWORD: password + POSTGRES_PASSWORD: ${{ env.INVENTREE_DB_PASSWORD }} ports: - 5432:5432 @@ -261,7 +262,7 @@ jobs: # Database backend configuration INVENTREE_DB_ENGINE: django.db.backends.mysql INVENTREE_DB_USER: root - INVENTREE_DB_PASSWORD: password + INVENTREE_DB_PASSWORD: ${{ env.INVENTREE_DB_PASSWORD }} INVENTREE_DB_HOST: '127.0.0.1' INVENTREE_DB_PORT: 3306 INVENTREE_DEBUG: info @@ -273,8 +274,8 @@ jobs: MYSQL_ALLOW_EMPTY_PASSWORD: yes MYSQL_DATABASE: ${{ env.INVENTREE_DB_NAME }} MYSQL_USER: ${{ env.INVENTREE_DB_USER }} - MYSQL_PASSWORD: password - MYSQL_ROOT_PASSWORD: password + MYSQL_PASSWORD: ${{ env.INVENTREE_DB_PASSWORD }} + MYSQL_ROOT_PASSWORD: ${{ env.INVENTREE_DB_PASSWORD }} options: --health-cmd="mysqladmin ping" --health-interval=5s --health-timeout=2s --health-retries=3 ports: - 3306:3306