summaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2023-06-02 00:44:42 +0200
committerJohn Molakvoæ <skjnldsv@protonmail.com>2023-06-08 13:06:41 +0200
commit55ef2a093b231f2d476bd1e66358bc29f9da6984 (patch)
tree3a954bca518386d2af1b13a4fc4699a723240a1a /.github
parent52d39183c5fe6082baa9d3474adfb894e5c33e60 (diff)
downloadnextcloud-server-55ef2a093b231f2d476bd1e66358bc29f9da6984.tar.gz
nextcloud-server-55ef2a093b231f2d476bd1e66358bc29f9da6984.zip
fix(CI): Update oracle image and config
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to '.github')
-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