Skip to content

feat(acceptance): add server-version input to allow custom ownCloud server version#68

Closed
DeepDiver1975 wants to merge 2 commits into
owncloud:mainfrom
DeepDiver1975:add-server-version-input-to-acceptance
Closed

feat(acceptance): add server-version input to allow custom ownCloud server version#68
DeepDiver1975 wants to merge 2 commits into
owncloud:mainfrom
DeepDiver1975:add-server-version-input-to-acceptance

Conversation

@DeepDiver1975
Copy link
Copy Markdown
Member

Summary

Adds a new optional input server-version (default: 'daily-master-qa') to acceptance.yml, passed as PLUGIN_VERSION to the owncloudci/core Docker image
in both the main and federated install steps.

Motivation

OC10-targeted apps (e.g. richdocuments@release-4.2.3 with max-version="10") cannot be enabled on the OC11 nightly that the workflow currently installs
unconditionally. There is no way for callers to override the server version.

How it works

The owncloudci/core image constructs owncloud-${PLUGIN_VERSION}.tar.bz2 and falls back through channels in order:

server-version value File downloaded Channel
daily-master-qa (default) owncloud-daily-master-qa.tar.bz2 daily/
10.16.2-qa owncloud-10.16.2-qa.tar.bz2 testing/

Backward compatibility

All existing callers that do not pass server-version continue to use daily-master-qa — no behaviour change.

Usage (OC10 backport branch)

acceptance-webui:
  uses: owncloud/reusable-workflows/.github/workflows/acceptance.yml@main
  with:
    app-name: richdocuments
    php-versions: '["7.4"]'
    do-webui-tests: true
    core-branch-for-test-code: '10.16'
    server-version: '10.16.2-qa'

🤖 Generated with [Claude Code](https://claude.ai/claude-code)

DeepDiver1975 and others added 2 commits May 19, 2026 13:05
…erver version

Adds a new optional input server-version (default: 'daily-master-qa')
that is passed as PLUGIN_VERSION to the owncloudci/core Docker image in
both the main and federated install steps.

The owncloudci/core image constructs the download URL as:
  owncloud-${PLUGIN_VERSION}.tar.bz2
and falls back through daily/ → testing/ → stable/ channels, so:
  daily-master-qa  → owncloud-daily-master-qa.tar.bz2 (OC11 nightly, from daily/)
  10.16.2-qa       → owncloud-10.16.2-qa.tar.bz2 (OC10 QA build, from testing/)

All existing callers are unaffected since daily-master-qa remains the default.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Signed-off-by: Thomas Müller <1005065+DeepDiver1975@users.noreply.github.com>
Adds optional app-ref input to acceptance.yml (defaults to repo default branch)
so callers can pin a specific tag, branch, or SHA for the app checkout.

Adds two example jobs to test.yml:
- acceptance-api-oc10: tests against OC10 (server-version: 10.16.2-qa,
  app-ref: v0.6.1 which is the last OC10-compatible impersonate release)
- acceptance-api-explicit-default: confirms server-version wiring by
  passing the default value (daily-master-qa) explicitly

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Signed-off-by: Thomas Müller <1005065+DeepDiver1975@users.noreply.github.com>
@DeepDiver1975
Copy link
Copy Markdown
Member Author

this is not going to work at the moment -> close

@DeepDiver1975 DeepDiver1975 deleted the add-server-version-input-to-acceptance branch May 20, 2026 10:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant