Skip to content

Commit 3992a91

Browse files
author
chenyunliang520
committed
Update GAUSSDB_TEST_DSN
1 parent 674aa4f commit 3992a91

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.github/workflows/tests-ssl.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -160,8 +160,7 @@ jobs:
160160
- name: Fix SSL cert permissions
161161
run: |
162162
sudo chown -R $(whoami):$(whoami) ${{ github.workspace }}/certs
163-
sudo chmod 600 ${{ github.workspace }}/certs/*.crt
164-
sudo chmod 600 ${{ github.workspace }}/certs/*.key
163+
sudo chmod 600 ${{ github.workspace }}/certs/*
165164
166165
- name: Set permissions inside container
167166
run: |
@@ -228,7 +227,7 @@ jobs:
228227
env:
229228
PYTHONPATH: ./gaussdb:./gaussdb_pool
230229
GAUSSDB_IMPL: python
231-
GAUSSDB_TEST_DSN: "host=127.0.0.1 port=5432 dbname=test user=root password=Passwd@123 sslmode=verify-ca sslrootcert=${{ github.workspace }}/certs/ca.crt "
230+
GAUSSDB_TEST_DSN: "host=127.0.0.1 port=5432 dbname=test user=root password=Passwd@123 sslmode=verify-ca sslrootcert=${{ github.workspace }}/certs/ca.crt sslcert=${{ github.workspace }}/certs/client.crt sslkey=${{ github.workspace }}/certs/client.key"
232231
run: |
233232
export PGSSLDEBUG=1
234233
source venv/bin/activate

0 commit comments

Comments
 (0)