summaryrefslogtreecommitdiffstats
path: root/.github/workflows
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2023-06-02 00:44:42 +0200
committerJoas Schilling <coding@schilljs.com>2023-06-02 00:44:42 +0200
commite786411da8a5ffbee02ab390e3f88690beaaad7d (patch)
tree62009c9ef6e0c323ead4b8f40fb2cce7d2112bed /.github/workflows
parent5f8fefcfc21f4b793f93c72495d7eb9f3b902e1b (diff)
downloadnextcloud-server-e786411da8a5ffbee02ab390e3f88690beaaad7d.tar.gz
nextcloud-server-e786411da8a5ffbee02ab390e3f88690beaaad7d.zip
fix(CI): Update oracle image and config
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/oci.yml19
1 files changed, 17 insertions, 2 deletions
diff --git a/.github/workflows/oci.yml b/.github/workflows/oci.yml
index 67fe9d80663..580824036a6 100644
--- a/.github/workflows/oci.yml
+++ b/.github/workflows/oci.yml
@@ -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