-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
run core acceptance tests on LDAP using drone #173
Conversation
Codecov Report
@@ Coverage Diff @@
## master #173 +/- ##
=========================================
Coverage 26.29% 26.29%
Complexity 1318 1318
=========================================
Files 47 47
Lines 4487 4487
=========================================
Hits 1180 1180
Misses 3307 3307 Continue to review full report at Codecov.
|
b15c593
to
e13dab7
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like "a good thing"
Once the code is merged in master then I guess some of the "arturneumann" specific stuff can be changed to directly use the core code from master.
.drone.yml
Outdated
- cd /var/www/owncloud/apps/user_ldap | ||
- make | ||
- cd /var/www/owncloud/ | ||
- php occ a:l |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Everyone seems to use shorthand for app:list
app:enable
...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Regarding install - can you switch to using https://github.com/owncloud-ci/core
It allows for using a branch/tarball
lib/Command/SetConfig.php
Outdated
@@ -60,6 +60,7 @@ protected function execute(InputInterface $input, OutputInterface $output) { | |||
$availableConfigs = $helper->getServerConfigurationPrefixes(); | |||
$configID = $input->getArgument('configID'); | |||
if(!in_array($configID, $availableConfigs)) { | |||
var_dump($availableConfigs); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
bonus debugging code
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
will have to be cleaned up before merging, would like to keep it while [WIP]
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Debug line is now gone 👍
.drone.yml
Outdated
|
||
pipeline: | ||
ldap: | ||
image: dinkel/openldap |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What made you use this ldap container - compared to osixia/openldap
which we use in other infrastructure projects?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah didn't find these before :'(
f730c5a
to
be8e56f
Compare
@phil-davis @patrickjahns I feel this is ready to go. Any more comments/change requests or should we merge? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
What's the status on the core side? If we have the required changes in master/stable10 please update the It looks fine for the first iteration - I'd like to also port the tests suites from .travis to drone at some point |
be8e56f
to
62b8038
Compare
thank you for reminding to change the source. cannot sync users
I will look into it |
works fine on stable10 but on master there is an issue see owncloud/core#30369 |
Restart CI - master fix PR is in. |
Restarted builds - when green we can merge |
CI will not become green because it using the daily builds |
owncloud/core#30367 fixes the issue, CI should be green tomorrow |
62b8038
to
04a4083
Compare
04a4083
to
bc78a2a
Compare
run core UI tests that are marked with
@TestAlsoOnExternalUserBackend
users/groups will not be created on the fly but pulled in from an ldif file