owncloud-ci / core Goto Github PK
View Code? Open in Web Editor NEWownCloud Core for ownCloud CI
License: MIT License
ownCloud Core for ownCloud CI
License: MIT License
owncloud 10.1 (current master) requires PHP 7.1 but for this plugin there is no way to specify the PHP version, it always uses PHP 7.0
So installing master does not work
$ wget -qO- https://download.owncloud.org/community/owncloud-daily-master-qa.tar.bz2 | tar -xj -C /var/www/owncloud --strip 1
installing owncloud
$ wait-for-it mysql:3306
wait-for-it: waiting 15 seconds for mysql:3306
wait-for-it: mysql:3306 is available after 0 seconds
/var/www/owncloud /var/www/owncloud/apps/user_ldap
$ php ./occ maintenance:install -vvv --database=mysql --database-name=owncloud --database-table-prefix=oc_ --admin-user=admin --admin-pass=admin --data-dir=/var/www/owncloud/data --database-host=mysql:3306 --database-user=owncloud --database-pass=owncloud
This version of ownCloud requires at least PHP 7.1.0
You are currently running PHP 7.0.22-0ubuntu0.16.04.1. Please update your PHP version.
Currently when specifying VERSION
the tarball is expected to be found in:
https://download.owncloud.org/community
Look for it also in sub-directories like daily
and testing
Owncloud allows for providing various *.config.php
files in the config
folder that will be magically ๐ฎ merged into a final config.php file during the installation process.
Since this only is happening, during the installation process, it would be nice to allow for specifying arbitrary config files as plugin definition, that get copied to the owncloud/config folder before the install step is executed.
We could introduce a configs
keyword for this
We recently moved the testing app out of owncloud/core
- this requires it to be installed for testing.
This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.
These updates have all been created already. Click a checkbox below to force a retry/rebase of any.
latest/Dockerfile.amd64
owncloudci/php 7.4@sha256:0366bb9376abeab37befcc767240c8c2f959977eb86407998de1a5ca0db8070c
nodejs14/Dockerfile.amd64
owncloudci/php 7.4@sha256:0366bb9376abeab37befcc767240c8c2f959977eb86407998de1a5ca0db8070c
php82/Dockerfile.amd64
owncloudci/php 8.2@sha256:87720330cef33fc0d926bc6a338b4149602ccd17fb5a19d1c1c2dec314aec01a
latest/Dockerfile.amd64
owncloud-ci/retry v2.0.0
nodejs14/Dockerfile.amd64
owncloud-ci/retry v2.0.0
php82/Dockerfile.amd64
owncloud-ci/retry v2.0.0
We are trying to run a CI pipeline for data_exporter that will install ownCloud core 9.0.11 or 9.1.8 and then run the data export command(s) and check the output...
But when we use owncloud-ci/core
to do the install-server
step the install complains that version 9.* of ownCloud does not support PHP7.1
Can this docker image be made to support different PHP versions?
e.g. 5.6 7.0 7.1 7.2 7.3
@patrickjahns
The port check seems to be insufficient to assure that the oracle database container is up.
When doing the migration from jenkins to drone in core I tried to add this snippet for being sure it is up, but it resulted in an infinite loop.
SQLPLUS=/usr/lib/oracle/12.2/client64/bin/sqlplus
DATABASEUSER=autotest
DATABASENAME='XE'
for i in {1..48}
do
if "${SQLPLUS}" "${DATABASEUSER}/owncloud@(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(Host=$DATABASEHOST)(Port=1521))(CONNECT_DATA=(SID=XE)))" < /dev/null | grep 'Connected to'; then
break;
fi
sleep 5
done
After the adding of oracle driver in owncloud-ci/php running core tests didn't fail so I assumed it is was not necessary at all. But now adding oracle to test matrix in apps like workflow I am getting an error ORA-01033 ORACLE initialization or shutdown in progress.
drone clones the PR of the app to be tested, then this plugin downloads the server tarball and overwrites the app again.
Had the problem with the notifications app
For example, owncloud/owncloud-test-middleware#65
https://drone.owncloud.com/owncloud/owncloud-test-middleware/166/3/5
yarn is not available on your system, please install yarn (npm install -g yarn)
owncloudci/core
"knows" how to install oC10 core from a tarball or from a git clone. For the tarball, the tarball already has all PHP, JS etc. dependencies in the tarball. There is no "make/build" command(s) to do. When installing from a git clone, it has to do the "build" steps (PHP composer, JS yarn, npm etc.) For that, the dependency management tools need to be available.
Some months ago, the JS tools were removed from the owncloudci/php
images.
Today, this owncloudci/core
docker image was rebuilt. It inherits from owncloudci/php:7.3
and so now the latest
has been published without JS tools. That causes anything that needs to install from a git clone to fail.
owncloudci/core:latest
needs to get some JS tools. Probably the ones in owncloudci/core:nodejs14
are what we want!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.