Giter Site home page Giter Site logo

core's People

Contributors

deepdiver1975 avatar patrickjahns avatar phil-davis avatar renovate[bot] avatar tboerger avatar wkloucek avatar xoxys avatar

Watchers

 avatar

Forkers

deepdiver1975

core's Issues

cannot specify PHP version

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.

Ability to specify *.config.php files to be taken into account when installing

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

latest cannot install core from Git

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!

Allow different PHP versions

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

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

Open

These updates have all been created already. Click a checkbox below to force a retry/rebase of any.

Detected dependencies

dockerfile
latest/Dockerfile.amd64
  • owncloudci/php 7.4@sha256:91b3a11276aae4269568b13b0b57abcbebf76e45a85cd05ec1b9eb6c7008eb5b
nodejs14/Dockerfile.amd64
  • owncloudci/php 7.4@sha256:91b3a11276aae4269568b13b0b57abcbebf76e45a85cd05ec1b9eb6c7008eb5b
php82/Dockerfile.amd64
  • owncloudci/php 8.2@sha256:7aaca83cb2801ce7cef791e5684d8bed469251ceacb3e5fd1b79c5668685b440
regex
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

  • Check this box to trigger a request for Renovate to run again on this repository

Waiting for oracle database is not waiting enough

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.

cc @patrickjahns

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.