Skip to content
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

[full-ci][tests-only]Run ocis tests without testing-app #4560

Merged
merged 2 commits into from
Sep 27, 2022

Conversation

amrita-shrestha
Copy link
Contributor

@amrita-shrestha amrita-shrestha commented Sep 12, 2022

Description

This PR removes the cloning of the testing app , as it's not really needed here

@amrita-shrestha amrita-shrestha force-pushed the runOcisWithoutTestingAppCache branch 4 times, most recently from 6a3b6c9 to d78008f Compare September 13, 2022 05:16
@SwikritiT SwikritiT force-pushed the runOcisWithoutTestingAppCache branch from 1665225 to 03c481a Compare September 20, 2022 10:57
@SwikritiT SwikritiT self-assigned this Sep 20, 2022
@SwikritiT SwikritiT force-pushed the runOcisWithoutTestingAppCache branch from a876b69 to 3ee5c33 Compare September 21, 2022 05:27
@SwikritiT SwikritiT changed the title [do-not-merge][full-ci][tests-only]Run ocis tests without testing-app [full-ci][tests-only]Run ocis tests without testing-app Sep 21, 2022
@SwikritiT SwikritiT marked this pull request as ready for review September 21, 2022 08:35
@SwikritiT SwikritiT force-pushed the runOcisWithoutTestingAppCache branch from 3ee5c33 to 61d6c5b Compare September 21, 2022 08:57
@@ -671,7 +671,6 @@ def localApiTests(ctx, storage, suite, accounts_hash_difficulty = 4):
restoreBuildArtifactCache(ctx, "ocis-binary-amd64", "ocis/bin") +
ocisServer(storage, accounts_hash_difficulty) +
restoreBuildArtifactCache(ctx, "testrunner", dirs["core"]) +
restoreBuildArtifactCache(ctx, "testing_app", dirs["testing_app"]) +
Copy link
Contributor

Choose a reason for hiding this comment

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

Can we remove SKELETON_DIR at line 684?

@@ -761,7 +760,6 @@ def coreApiTests(ctx, part_number = 1, number_of_parts = 1, storage = "ocis", ac
restoreBuildArtifactCache(ctx, "ocis-binary-amd64", "ocis/bin") +
ocisServer(storage, accounts_hash_difficulty) +
restoreBuildArtifactCache(ctx, "testrunner", dirs["core"]) +
restoreBuildArtifactCache(ctx, "testing_app", dirs["testing_app"]) +
Copy link
Contributor

Choose a reason for hiding this comment

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

Can we remove SKELETON_DIR at line 773?

@@ -879,7 +877,6 @@ def uiTestPipeline(ctx, filterTags, early_fail, runPart = 1, numberOfParts = 1,
ocisServer(storage, accounts_hash_difficulty) +
waitForSeleniumService() +
waitForMiddlewareService() +
restoreBuildArtifactCache(ctx, "testing_app", dirs["testing_app"]) +
Copy link
Contributor

Choose a reason for hiding this comment

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

Can we remove TESTING_DATA_DIR at line 889?

Copy link
Contributor

Choose a reason for hiding this comment

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

Also, cloneCoreRepos() has git clone of https://github.com/owncloud/testing.git
Can that be removed?

@phil-davis phil-davis self-requested a review September 21, 2022 09:25
@saw-jan
Copy link
Member

saw-jan commented Sep 21, 2022

NOTE: We need testing app for parallel deployment tests (but the pipelines are currently skipped)

CC @SwikritiT @phil-davis

@SwikritiT SwikritiT force-pushed the runOcisWithoutTestingAppCache branch from 5595539 to 8454781 Compare September 23, 2022 06:22
@SwikritiT
Copy link
Contributor

I've not removed the cloning of the testing app as it is need for parallel deployment

.drone.star Outdated Show resolved Hide resolved
@SwikritiT SwikritiT force-pushed the runOcisWithoutTestingAppCache branch from 8454781 to 447d8c5 Compare September 26, 2022 03:52
@SwikritiT SwikritiT force-pushed the runOcisWithoutTestingAppCache branch from 447d8c5 to 08826a6 Compare September 27, 2022 03:28
@SwikritiT SwikritiT force-pushed the runOcisWithoutTestingAppCache branch from 08826a6 to a9c2203 Compare September 27, 2022 10:08
@sonarqubecloud
Copy link

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

@SwikritiT SwikritiT merged commit a67e354 into master Sep 27, 2022
@delete-merged-branch delete-merged-branch bot deleted the runOcisWithoutTestingAppCache branch September 27, 2022 11:00
ownclouders pushed a commit that referenced this pull request Sep 27, 2022
Author: Amrita <[email protected]>
Date:   Tue Sep 27 16:45:43 2022 +0545

    [full-ci][tests-only]Run ocis tests without testing-app (#4560)

    * Run ocis tests without testing-app

    * add failing tests in expected to fail

    Co-authored-by: Swikriti Tripathi <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants