From 6d8c4bdb82cb4bff21944b2f1dfcea63c1b07ce8 Mon Sep 17 00:00:00 2001 From: Akshay Joshi Date: Tue, 12 Mar 2024 14:45:44 +0530 Subject: [PATCH] 1) Checking actions/checkout@v4 working or not. 2) Added edb job scheduler command for EPAS 16 only. --- .github/workflows/check-javascript-style.yml | 2 +- .github/workflows/run-python-tests-epas.yml | 8 +++++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/check-javascript-style.yml b/.github/workflows/check-javascript-style.yml index 04e752242..eebc29e11 100644 --- a/.github/workflows/check-javascript-style.yml +++ b/.github/workflows/check-javascript-style.yml @@ -17,7 +17,7 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Upgrade yarn run: | diff --git a/.github/workflows/run-python-tests-epas.yml b/.github/workflows/run-python-tests-epas.yml index 8e526c712..a91522741 100644 --- a/.github/workflows/run-python-tests-epas.yml +++ b/.github/workflows/run-python-tests-epas.yml @@ -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: |