1) Checking actions/checkout@v4 working or not.

2) Added edb job scheduler command for EPAS 16 only.
This commit is contained in:
Akshay Joshi 2024-03-12 14:45:44 +05:30
parent 496acf5598
commit 6d8c4bdb82
2 changed files with 8 additions and 2 deletions

View File

@ -17,7 +17,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Upgrade yarn
run: |

View File

@ -37,7 +37,7 @@ jobs:
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Setup the EDB APT repo on Linux
if: ${{ matrix.os == 'ubuntu-22.04' }}
@ -78,6 +78,12 @@ jobs:
icacls "C:\EPAS\${{ matrix.pgver }}\tablespaces" /grant "NETWORK SERVICE":(OI)(CI)F /T
shell: cmd
- name: Add edb_job_scheduler into config file.
if: ${{ matrix.os == 'ubuntu-22.04' && matrix.pgver == 16 }}
run: |
sudo sed -i "s/shared_preload_libraries = '/shared_preload_libraries = '\$libdir\/edb_job_scheduler,/g" /etc/edb-as/${{ matrix.pgver }}/main/postgresql.conf
sudo echo "edb_job_scheduler.database_list = 'test_dbms_job_scheduler'" >> /etc/edb-as/${{ matrix.pgver }}/main/postgresql.conf
- name: Start PostgreSQL on Linux
if: ${{ matrix.os == 'ubuntu-22.04' }}
run: |