Skip to content

Commit 9e81880

Browse files
Update listener file after startup
1 parent 0b565da commit 9e81880

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/test-oracle.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
shell: bash
2828
run: |
2929
docker network create rt
30-
docker run --network rt --name oracle -e ORACLE_PWD=password -d container-registry.oracle.com/database/free:23.9.0.0-lite bash -c "echo 'USE_SID_AS_SERVICE_LISTENER = on' >> /opt/oracle/product/23ai/dbhomeFree/network/admin/listener.ora && /opt/oracle/runOracle_lite.sh"
30+
docker run --network rt --name oracle -e ORACLE_PWD=password -d container-registry.oracle.com/database/free:23.9.0.0-lite
3131
echo "Waiting for Oracle database to be ready..."
3232
timeout 300 bash -c '
3333
until docker logs oracle | grep -q -i "DATABASE IS READY TO USE"; do
@@ -36,6 +36,7 @@ jobs:
3636
done
3737
'
3838
echo "Oracle is ready! Proceeding with tests."
39+
docker exec oracle bash -c "echo 'USE_SID_AS_SERVICE_LISTENER = on' >> /opt/oracle/product/23ai/dbhomeFree/network/admin/listener.ora"
3940
docker build -t rt-base-oracle -f Dockerfile-oracle .
4041
docker run -d -v $GITHUB_WORKSPACE:/rt --name rt --env RT_TEST_DB_HOST=oracle --env RT_TEST_RT_HOST=172.16.0.0/255.240.0.0 --network rt --name rt rt-base-oracle
4142
docker exec rt bash -c "cd /rt && ./configure.ac --with-db-type=Oracle --with-my-user-group --enable-layout=inplace --enable-developer --enable-externalauth --enable-gpg --enable-smime && mkdir -p /rt/var && make testdeps"

0 commit comments

Comments
 (0)