owncloud-archive / acceptance-testing

User stories and virtual machine configurations
9 stars 5 forks source link

Readme extended, make big uploads working, more test passed #18

Closed Gomez closed 11 years ago

Gomez commented 11 years ago

I worked with @DeepDiver1975 on get Jenkins & Acceptance-testing running.

DeepDiver1975 commented 11 years ago

Looks good from my point of view. @butonic @jakobsack you guys want to have a look too? THX

jakobsack commented 11 years ago

Hi, this pull request can NOT be merged for the following reasons:

  1. It changes the apache cookbook which is a simple copy of http://community.opscode.com/cookbooks/apache2/source ! Another solution is needed, the ownCloud recipe could ship its own apache config
  2. It disables the apps2 repository. I think it is important to check if the apps2 repository "works" (without adding extra tests) because most people will download it right away, furthermore the provisioning API is needed which resides in apps2.
DeepDiver1975 commented 11 years ago

@jakobsack

  1. Can you please point us to any kind of documentation on how to ship our own apache config?
  2. Good catch on the provisioning API - I didn't think of that. We basically disabled the apps repo because the firstrunwizard is popping up on the first login and causes all tests to fail. Can we disable the firstrunwizard app with the provisioning api?

THX

jakobsack commented 11 years ago

@DeepDiver1975

  1. You can enable/disable sites using the "apache_site" command from the apache recipe. Probably it's something like

    apache_site "default" do
       enable false
    end
    apache_site "owncloud" do
       enable true
    end

    Of course you have to create a config called "owncloud" for this, use a nomal "template"-Block for this. Instead of disabling the apache default site you could prevent the apache recipe from enabling the default site by setting node['apache']['default_site_enabled'] to false in Vagrantfile

  2. Once the provisioning api has been enabled you could add the following block:

    # Disabling firstrunwizard
    execute "Disabling firstrunwizard" do
       command "curl -X DELETE -u admin:admin " +
               " localhost/ocs/v1.php/cloud/apps/firstrunwizard"
    end

    See apps/provisioning_api/appinfo/routes.php and apps/provisioning_api/libs/apps.php for more details

Note that I did not test these proposals!

DeepDiver1975 commented 11 years ago

@jakobsack Awesome! THX

DeepDiver1975 commented 11 years ago

@Gomez do you have time to incorporate Jakob's suggestions? THX

Gomez commented 11 years ago

@DeepDiver1975 I will try, but cant do anything this week :(

DeepDiver1975 commented 11 years ago

No Prob - thx

Am Dienstag, dem 19.02.2013 um 10:35 schrieb Steffen Lindner:

@DeepDiver1975 I will try, but cant do anything this week :(


Reply to this email directly or view it on GitHub: https://github.com/owncloud/acceptance-testing/pull/18#issuecomment-13763996

Gomez commented 11 years ago

cherrypicked the usefull stuff