Skip to content
This repository was archived by the owner on Feb 6, 2025. It is now read-only.

Add option for skipping cleanup to e2e test pipeline #1219

Merged
merged 2 commits into from
Jul 10, 2020

Conversation

pablochacin
Copy link
Contributor

@pablochacin pablochacin commented Jul 1, 2020

Why is this PR needed?

To ease debugging failures in the tests

Fixes https://github.com/SUSE/avant-garde/issues/1755

What does this PR do?

Add option for skipping the cleanup of a job in case of failure and resume it later for completing the cleanup.

Anything else a reviewer needs to know?

This PR was tested running the e2e test with the PR branch

Merge restrictions

(Please do not edit this)

We are in v4-maintenance phase, so we will restrict what can be merged to prevent unexpected surprises:

What can be merged (merge criteria):
    2 approvals:
        1 developer: code is fine
        1 QA: QA is fine
    there is a PR for updating documentation (or a statement that this is not needed)

@pablochacin pablochacin force-pushed the pause-failed-e2e-test branch 3 times, most recently from ac4b04e to d61b75e Compare July 1, 2020 18:29
@dirkmueller dirkmueller changed the title [WIPAdd skip cleanup option to e2e test pipeline [WIP] Add skip cleanup option to e2e test pipeline Jul 2, 2020
@pablochacin pablochacin force-pushed the pause-failed-e2e-test branch from d61b75e to cae58ec Compare July 2, 2020 07:58
@pablochacin pablochacin marked this pull request as draft July 2, 2020 11:46
@pablochacin pablochacin force-pushed the pause-failed-e2e-test branch 19 times, most recently from 7901344 to d9a0206 Compare July 6, 2020 14:33
@pablochacin pablochacin changed the title [WIP] Add skip cleanup option to e2e test pipeline Add option for skipping cleanup to e2e test pipeline Jul 6, 2020
@pablochacin pablochacin force-pushed the pause-failed-e2e-test branch from d9a0206 to a4c7b2d Compare July 6, 2020 17:04
@pablochacin pablochacin marked this pull request as ready for review July 8, 2020 08:01
Itxaka
Itxaka previously approved these changes Jul 8, 2020
JanZerebecki
JanZerebecki previously approved these changes Jul 8, 2020
@pablochacin pablochacin dismissed stale reviews from JanZerebecki and Itxaka via b592317 July 9, 2020 08:31
Pablo Chacin added 2 commits July 9, 2020 10:38
If job fails and cluster retantion is requested, wait for a
confirmation or until a maximun retention period before
cleanup.

Signed-off-by: Pablo Chacin <pchacin@suse.com>
Add parameters for retaining the cluster in case of
failure in the test.

Remove timeout from job to prevent job to be cancelled
while waiting the retention period.

Enable concurrent executions to allow running the job while
a previous build is waiting the retention period.

Signed-off-by: Pablo Chacin <pchacin@suse.com>
@pablochacin pablochacin force-pushed the pause-failed-e2e-test branch from b592317 to 193a64c Compare July 9, 2020 08:39
@pablochacin pablochacin merged commit 6880fe8 into SUSE:master Jul 10, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants