tests: Report specific smoke test status to GitHub#2082
tests: Report specific smoke test status to GitHub#2082mxinden merged 6 commits intocoreos:masterfrom
Conversation
1f0527d to
37037ff
Compare
|
@cpanato Could you review this? |
37037ff to
d3e1166
Compare
|
retest this please |
6c50bcd to
93536e6
Compare
|
@mxinden when you click in the |
1ebf015 to
af46844
Compare
|
@sym3tri In the status field of this PR you can see the detailed Jenkins status feedback. Does this look good to you? |
e47459d to
50b31d0
Compare
Instead of reporting overall status to Github, this patch introduces more detailed status reports: 1. `basic-tests` includes all basic tests in the first stage of our pipeline. This status will be required to be green. In case it is red, a merge of the PR is disabled. 2. `gui-tests` represents the result of the GUI tests stage. It is not mendatory for merge. It will only run when the `run-gui-tests` label is set. 3. `smoke-tests/<test-name>` is going to be reported per smoke test. None of these status reports are mandatory for merge. These tests are only run when the `run-smoke-tests` label is set. 4. `continuous-integration/jenkins/pr-merge` is the overall status of the entire pipeline. This is not mandatory. I am looking into deactivating this in total, but haven't found a solution yet.
According to the Jenkins documentation `stash` should only be used for small amounts of data [1]. To prevent `java.io.IOException: Failed to extract repository.tar.gz` this patch reduces the stash scope to the npm_modules, the installer binary and the smoke test binary. The remaining repository files are loaded via standard git checkouts. [1] https://jenkins.io/doc/pipeline/steps/workflow-basic-steps/#code-stash-code-stash-some-files-to-be-used-later-in-the-build
50b31d0 to
8bd13bb
Compare
|
retest this please |
cpanato
left a comment
There was a problem hiding this comment.
LGTM. I just have one concern to do the checkout in all blocks.
|
@cpanato What is the concern? In case you are worried about the delay introduced by this change: The last test execution of this PR was 45 minutes. Last master execution was 48 minutes. |
|
@mxinden more in terms of doing the checkout every time during the build. but this will be fixed when we implement the new builder :) |
No description provided.