]> source.dussan.org Git - nextcloud-server.git/commitdiff
fix(CI): Update oracle image and config
authorJoas Schilling <coding@schilljs.com>
Thu, 1 Jun 2023 22:44:42 +0000 (00:44 +0200)
committerJohn Molakvoæ <skjnldsv@users.noreply.github.com>
Thu, 8 Jun 2023 14:20:49 +0000 (16:20 +0200)
Signed-off-by: Joas Schilling <coding@schilljs.com>
.github/workflows/oci.yml

index 6578697f4efe4f3d79841cd52af621dbc2ad8d1d..e818a9660d96f2dfc710e054f7710849754d60e9 100644 (file)
@@ -21,10 +21,25 @@ jobs:
 
     services:
       oracle:
-        image: deepdiver/docker-oracle-xe-11g # 'wnameless/oracle-xe-11g-r2'
+        image: ghcr.io/gvenzl/oracle-xe:11
+
+        # Provide passwords and other environment variables to container
+        env:
+          ORACLE_RANDOM_PASSWORD: true
+          APP_USER: autotest
+          APP_USER_PASSWORD: owncloud
+
+        # Forward Oracle port
         ports:
           - 1521:1521/tcp
 
+        # Provide healthcheck script options for startup
+        options: >-
+          --health-cmd healthcheck.sh
+          --health-interval 10s
+          --health-timeout 5s
+          --health-retries 10
+
     steps:
       - name: Checkout server
         uses: actions/checkout@v3
@@ -35,7 +50,7 @@ jobs:
         uses: shivammathur/setup-php@v2
         with:
           php-version: ${{ matrix.php-versions }}
-          extensions: ctype, curl, dom, fileinfo, gd, imagick, intl, json, mbstring, oci8, openssl, pdo_sqlite, posix, sqlite, xml, zip
+          extensions: ctype, curl, dom, fileinfo, gd, imagick, intl, json, mbstring, oci8, openssl, pcntl, pdo_sqlite, posix, sqlite, xml, zip
           tools: phpunit:9
           coverage: none
           ini-file: development