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

KOGITO-9488 CI: Update status for each image built #1602

Merged
merged 2 commits into from
Jul 18, 2023

Conversation

radtriste
Copy link
Contributor

Many thanks for submitting your Pull Request ❤️!

Please make sure your PR meets the following requirements:

  • You have read the contributors guide
  • Pull Request title is properly formatted: [KOGITO|RHPAM-XYZ] Subject
  • Pull Request contains link to the JIRA issue
  • Pull Request contains description of the issue
  • Pull Request does not include fixes for issues other than the main ticket
  • Your feature/bug fix has a testcase that verifies it
  • You've tested the new feature/bug fix in an actual OpenShift cluster
  • You've added a RELEASE_NOTES.md entry regarding this change
How to retest this PR or trigger a specific build:
  • (Re)run Jenkins tests
    Please add comment: Jenkins [test|retest] this

  • Prod tests
    Please add comment: Jenkins (re)run [prod|Prod|PROD]

How to backport a pull request to a different branch?

In order to automatically create a backporting pull request please add one or more labels having the following format backport-<branch-name>, where <branch-name> is the name of the branch where the pull request must be backported to (e.g., backport-7.67.x to backport the original PR to the 7.67.x branch).

NOTE: backporting is an action aiming to move a change (usually a commit) from a branch (usually the main one) to another one, which is generally referring to a still maintained release branch. Keeping it simple: it is about to move a specific change or a set of them from one branch to another.

Once the original pull request is successfully merged, the automated action will create one backporting pull request per each label (with the previous format) that has been added.

If something goes wrong, the author will be notified and at this point a manual backporting is needed.

NOTE: this automated backporting is triggered whenever a pull request on main branch is labeled or closed, but both conditions must be satisfied to get the new PR created.

@kie-ci1

This comment was marked as outdated.

@kie-ci1

This comment was marked as outdated.

@radtriste radtriste force-pushed the test-update-status branch 3 times, most recently from 2315560 to 397d69e Compare June 22, 2023 14:14
@kie-ci1

This comment was marked as outdated.

.ci/jenkins/Jenkinsfile Outdated Show resolved Hide resolved
@radtriste
Copy link
Contributor Author

jenkins retest this

@kie-ci1

This comment was marked as outdated.

@radtriste
Copy link
Contributor Author

@kie-ci1

This comment was marked as outdated.

@kie-ci1

This comment was marked as outdated.

@kie-ci1

This comment was marked as outdated.

@radtriste
Copy link
Contributor Author

jenkins retest this

@kie-ci1

This comment was marked as outdated.

@kie-ci1

This comment was marked as outdated.

@kie-ci1

This comment was marked as outdated.

@kie-ci1

This comment was marked as outdated.

@kie-ci1

This comment was marked as outdated.

@radtriste radtriste force-pushed the test-update-status branch 2 times, most recently from 21379d8 to f51ce38 Compare June 27, 2023 12:21
@kie-ci1

This comment was marked as outdated.

@kie-ci1

This comment was marked as outdated.

@radtriste
Copy link
Contributor Author

Example output:
image

@radtriste radtriste changed the title Test update status KOGITO-9488 CI: Update status for each image built Jun 27, 2023
@spolti
Copy link
Member

spolti commented Jun 27, 2023

Very nice @radtriste

@radtriste radtriste added the on hold ✋ PR is waiting for external issues label Jun 27, 2023
@kie-ci1

This comment was marked as outdated.

@kie-ci1

This comment was marked as outdated.

@radtriste
Copy link
Contributor Author

jenkins retest this

@radtriste radtriste marked this pull request as ready for review July 17, 2023 13:00
@radtriste radtriste removed the on hold ✋ PR is waiting for external issues label Jul 17, 2023
@kie-ci1

This comment was marked as outdated.

@radtriste
Copy link
Contributor Author

jenkins retest this

@kie-ci1
Copy link

kie-ci1 commented Jul 17, 2023

PR job #1001 was: UNSTABLE
Possible explanation: This should be test failures

Please look here: https://eng-jenkins-csb-business-automation.apps.ocp-c1.prod.psi.redhat.com/job/KIE/job/kogito/job/main/job/pullrequest/job/kogito-images/1001/display/redirect
See console log:

Console Logs [Pipeline] }
[Pipeline] // stage
[Pipeline] }
Build KIE » kogito » main » pullrequest » kogito-images.build-image PR #1602 - kogito-task-console: https://github.com/kiegroup/kogito-images/pull/1602 completed: SUCCESS
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
Build KIE » kogito » main » pullrequest » kogito-images.build-image PR #1602 - kogito-swf-devmode: https://github.com/kiegroup/kogito-images/pull/1602 completed: UNSTABLE
[Pipeline] unstable
WARNING: Tests on kogito-swf-devmode seems to have failed
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
Build KIE » kogito » main » pullrequest » kogito-images.build-image PR #1602 - kogito-s2i-builder: https://github.com/kiegroup/kogito-images/pull/1602 completed: SUCCESS
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] // parallel
[Pipeline] }
[Pipeline] // script
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Declarative: Post Actions)
[Pipeline] script
[Pipeline] {
[Pipeline] echo
[INFO] Clean workspace
[Pipeline] cleanWs
[WS-CLEANUP] Deleting project workspace...
[WS-CLEANUP] Deferred wipeout is used...
[WS-CLEANUP] done
[Pipeline] echo
[INFO] Workspace cleaned
[Pipeline] echo
[INFO] Cleanup Maven artifacts
[Pipeline] sh
+ rm -rf /home/jenkins/.m2/repository
[Pipeline] echo
[INFO] .m2/repository cleaned
[Pipeline] }
[Pipeline] // script
[Pipeline] script
[Pipeline] {
[Pipeline] sh
+ wget --no-check-certificate -qO - https://eng-jenkins-csb-business-automation.apps.ocp-c1.prod.psi.redhat.com/job/KIE/job/kogito/job/main/job/pullrequest/job/kogito-images/1001/api/json
[Pipeline] readJSON
[Pipeline] sh

@radtriste
Copy link
Contributor Author

Test failure is not related. This one can be merged.

@radtriste radtriste merged commit 5dd65be into apache:main Jul 18, 2023
@radtriste radtriste deleted the test-update-status branch July 18, 2023 11:13
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.

5 participants