Bug 45493 - Support App specific Test scripts
Support App specific Test scripts
Product: UCS
Classification: Unclassified
Component: App Center
UCS 4.2
Other Linux
: P5 normal (vote)
: UCS 4.2-2-errata
Assigned To: Dirk Wiesenthal
Felix Botner
Depends on:
  Show dependency treegraph
Reported: 2017-10-06 13:48 CEST by Dirk Wiesenthal
Modified: 2017-10-18 12:02 CEST (History)
0 users

See Also:
What kind of report is it?: Feature Request
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Ticket number:
Bug group (optional):
Max CVSS v3 score:


Note You need to log in before you can comment on or make changes to this bug.
Description Dirk Wiesenthal univentionstaff 2017-10-06 13:48:10 CEST
App Providers should be enabled to upload a .test file into their repository.

A new command
  univention-app dev-test myapp

should download and run it. The exit code of the script should be the exit code of the command.

If addtional arguments are given to "univention-app dev-test", they should be passed to the test script.
Comment 1 Dirk Wiesenthal univentionstaff 2017-10-06 13:53:19 CEST
Done in
  univention-appcenter 6.0.10-13A~

Provider Portal: TBD
Comment 2 Dirk Wiesenthal univentionstaff 2017-10-12 14:26:47 CEST
(In reply to Dirk Wiesenthal from comment #1)
> Provider Portal: TBD

Comment 3 Dirk Wiesenthal univentionstaff 2017-10-12 14:28:02 CEST
(Currently, you need to use the cli tool univention-appcenter-control upload ... /path/to/test - file needs to end on "test")
Comment 4 Felix Botner univentionstaff 2017-10-16 17:17:33 CEST
-> univention-app dev-test owncloud
Testing 4.1/owncloud=10.0.1-20170523
4.1/owncloud=10.0.1-20170523 is installed
Downloading "https://appcenter.software-univention.de/univention-repository/4.1/maintained/component/owncloud_20170510145711/test"...
No script downloaded.

can we put/get the script from appcenter-test only, i dont want this on the official server
Comment 5 Dirk Wiesenthal univentionstaff 2017-10-17 13:42:29 CEST
As discussed:
  univention-app dev-test myapp --appcenter-server=https://appcenter-test.software-univention.de

univention-appcenter 6.0.10-14A~
Comment 6 Felix Botner univentionstaff 2017-10-17 15:52:13 CEST
univention-app dev-test --appcenter-server https://appcenter-test.software-univention.de owncloud --binddn uid=Administrator,cn=users,$(ucr get ldap/base) --bindpwd univention

Comment 7 Arvid Requate univentionstaff 2017-10-18 12:02:48 CEST