owncloud / smashbox-testing

Smashbox testing running on DroneCI
MIT License
1 stars 3 forks source link

Use PHP 7.4 to run owncloud 10 #20

Closed phil-davis closed 3 years ago

phil-davis commented 3 years ago

1) PHP 7.2 support was dropped in oc10 master last week - so usse owncloud/base:20.04 which has a later version of PHP https://drone.owncloud.com/owncloud/smashbox-testing/1618/1/6

This version of ownCloud requires at least PHP 7.3.0
You are currently running PHP 7.2.24-0ubuntu0.18.04.6. Please update your PHP version.

2) Test 2.9 and 2.10, which have daily builds in https://download.owncloud.com/desktop/ownCloud/daily https://drone.owncloud.com/owncloud/smashbox-testing/1621/1/8

OWNCLOUD_REPO_URL=https://download.owncloud.com/desktop/ownCloud/daily/2.8/linux/Ubuntu_18.04
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0Warning: apt-key output should not be parsed (stdout is not a terminal)

100   119  100   119    0     0    782      0 --:--:-- --:--:-- --:--:--   782
gpg: no valid OpenPGP data found.

https://download.owncloud.com/desktop/ownCloud/daily does not have any 2.8 folder any more.

phil-davis commented 3 years ago

Note: https://drone.owncloud.com/owncloud/smashbox-testing/1622/1/8

OWNCLOUD_REPO_URL=https://download.owncloud.com/desktop/ownCloud/daily/2.9/linux/Ubuntu_18.04

The download is coming from the Ubuntu 18.04 folder. It still passes (the client runs on 18.04 and the server runs on Ubuntu 20.04 in different test steps, which is actually fine, and can easily happen in real life). Maybe we want to run the client on Ubuntu 20.04? But that seems to be specified somewhere in owncloud/smashbox and could be adjusted as a separate issue.

TheOneRing commented 3 years ago

Yes fixing the hardcoded OWNCLOUD_REPO_URL sounds like a good idea. For simplicity I however plan to switch to the app image once we are able to provide a stable latest url of the app image.