-
Notifications
You must be signed in to change notification settings - Fork 181
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #387 from intuitem/fix/remove-remove-useless-secre…
…t-v2 use test credential for Postgres
- Loading branch information
Showing
4 changed files
with
4 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,7 +21,7 @@ jobs: | |
image: postgres:14.1 | ||
env: | ||
POSTGRES_USER: postgres | ||
POSTGRES_PASSWORD: ${{ secrets.POSTGRES_PASSWORD }} | ||
POSTGRES_PASSWORD: postgres # test credential | ||
POSTGRES_DB: postgres | ||
ports: ["5432:5432"] | ||
options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5 | ||
|
@@ -68,12 +68,11 @@ jobs: | |
working-directory: ${{ env.backend-directory }} | ||
run: | | ||
touch .env | ||
echo DJANGO_SECRET_KEY=${{ secrets.DJANGO_SECRET_KEY }} >> .env | ||
echo [email protected] >> .env | ||
echo DJANGO_SUPERUSER_PASSWORD=1234 >> .env | ||
echo POSTGRES_NAME=postgres >> .env | ||
echo POSTGRES_USER=postgres >> .env | ||
echo POSTGRES_PASSWORD=${{ secrets.POSTGRES_PASSWORD }} >> .env | ||
echo POSTGRES_PASSWORD=postgres >> .env | ||
echo DB_HOST=localhost >> .env | ||
echo CISO_ASSISTANT_SUPERUSER_EMAIL='' >> .env | ||
echo CISO_ASSISTANT_URL=http://localhost:4173 >> .env | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -60,7 +60,6 @@ jobs: | |
working-directory: ${{ env.backend-directory }} | ||
run: | | ||
touch .env | ||
echo DJANGO_SECRET_KEY=${{ secrets.DJANGO_SECRET_KEY }} >> .env | ||
echo [email protected] >> .env | ||
echo DJANGO_SUPERUSER_PASSWORD=1234 >> .env | ||
echo POSTGRES_NAME=postgres >> .env | ||
|
@@ -114,7 +113,6 @@ jobs: | |
working-directory: ${{ env.backend-directory }} | ||
run: | | ||
touch .env | ||
echo DJANGO_SECRET_KEY=${{ secrets.DJANGO_SECRET_KEY }} >> .env | ||
export $(grep -v '^#' .env | xargs) | ||
- name: Config the Docker app | ||
run: | | ||
|