Skip to content
This repository was archived by the owner on Nov 23, 2026. It is now read-only.

Run CI against latest oC10 release - #5909

Merged
phil-davis merged 2 commits into
masterfrom
run-ci-against-oc10-latest-20211015
Oct 15, 2021
Merged

phil-davis merged 2 commits into
masterfrom
run-ci-against-oc10-latest-20211015

Conversation

@phil-davis

Copy link
Copy Markdown
Contributor

Description

  • run the pipelines that test with oC10 against oC10 "latest" release (which is currently 10.8.0)
  • remove the CORE_COMMITID logic - we do not need that any more
  • adjust test scenario webUIFavorites/favoritesFile.feature:74 so that it does not depend on the contents of https://github.com/owncloud/core/tree/master/core/skeleton or whatever "default skeleton" is delivered in a release tarball or daily master QA tarball. That allows the test scenario to pass in all the different oC10 backend "versions".
  • skip webUIFilesActionMenu/versions.feature:36 - that is a known flaky test, and we need to skip that to get reliable CI.
  • adjust the accept and decline share code in tests/acceptance/helpers/sharingHelper.js This is used by Given steps that set up test scenarios. The various server backends (oCIS, oC10.8 and upcoming oC10.9) provide slightly different things in the share-path of pending and accepted shares. These are Given steps and we want them to "just work". The code has been adjusted to just match the name of the resource at the end of the path. So if the path is presented as /parent/child or /Shares/child or just /child we can match the share and then take the accept or decline action. Note: the actual test of the web interface "button-clicking" accept/decline are not impacted by this.

Related Issue

How Has This Been Tested?

CI

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Technical debt
  • Tests

Checklist:

  • Code changes
  • Unit tests added
  • Acceptance tests added
  • Documentation ticket raised:

@phil-davis phil-davis self-assigned this Oct 15, 2021
@update-docs

update-docs Bot commented Oct 15, 2021

Copy link
Copy Markdown

Thanks for opening this pull request! The maintainers of this repository would appreciate it if you would create a changelog item based on your changes.

@phil-davis

Copy link
Copy Markdown
Contributor Author

See PR #5782 for a demonstration that this also passes against the daily-master-qa tarball.

If we want to ever run against daily-master-qa then we can either

  1. run a PR that changes latest to daily-master-qa in .drone.star, or
  2. add pipelines in the existing .drone.star that run against daily-master-qa in "drone cron" nightly/weekly/whatever frequency we want.

We could review and merge this PR. Then decide what we want to do about (1) or (2) or...

@phil-davis
phil-davis marked this pull request as ready for review October 15, 2021 10:16
@phil-davis
phil-davis requested a review from fschade as a code owner October 15, 2021 10:16
@ownclouders

Copy link
Copy Markdown
Contributor

Results for oCISSharingInternalUsers1 https://drone.owncloud.com/owncloud/web/19694/55/1
💥 The acceptance tests pipeline failed. The build has been cancelled.

@individual-it

Copy link
Copy Markdown
Member

looks like ocis never started and so the tests fails
grafik

@kulmann kulmann left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why the hardcoded servers array in all the different pipelines? There is a default for servers (in line 1067 of .drone.star on master). Looks to me like it would be sufficient to set latest as the default there.

@phil-davis
phil-davis requested a review from kulmann October 15, 2021 15:52
@phil-davis
phil-davis force-pushed the run-ci-against-oc10-latest-20211015 branch from 28f9ac0 to a91d0da Compare October 15, 2021 15:57
@phil-davis

Copy link
Copy Markdown
Contributor Author

@kulmann "Looks to me like it would be sufficient to set latest as the default there." - yes, true. I removed the duplication.

@sonarqubecloud

Copy link
Copy Markdown

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

@kulmann kulmann left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🥳

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Switch from commit-id to (dockerized) last official release of OC10 in CI

4 participants