apm-agent-java icon indicating copy to clipboard operation
apm-agent-java copied to clipboard

ci: docs changeset against the previous commit

Open v1v opened this issue 3 years ago • 3 comments

What does this PR do?

Override the default behaviour when comparing the current change set with the previous one.

Avoid aborting any ongoing builds if a new commit is pushed and it does only contain docs changes.

Why

Give a higher precedence to the GIT_PREVIOUS_COMMIT env variable, then if there are a subsequent commits within the same Pull Request, it will compare the both commits rather than the whole changeset between the PR and the main.

Ideally, this should help with running faster builds by detecting what to run smarter.

v1v avatar Sep 12 '22 13:09 v1v

:green_heart: Build Succeeded

the below badges are clickable and redirect to their specific view in the CI or DOCS Pipeline View Test View Changes Artifacts preview preview

Expand to view the summary

Build stats

  • Start Time: 2022-11-02T11:39:26.090+0000

  • Duration: 38 min 33 sec

Test stats :test_tube:

Test Results
Failed 0
Passed 2516
Skipped 31
Total 2547

:green_heart: Flaky test report

Tests succeeded.

:robot: GitHub comments

Expand to view the GitHub comments

To re-run your PR in the CI, just comment with:

  • /test : Re-trigger the build.

  • run benchmark tests : Run the benchmark tests.

  • run jdk compatibility tests : Run the JDK Compatibility tests.

  • run integration tests : Run the Agent Integration tests.

  • run end-to-end tests : Run the APM-ITs.

  • run windows tests : Build & tests on windows.

  • run elasticsearch-ci/docs : Re-trigger the docs validation. (use unformatted text in the comment!)

apmmachine avatar Sep 12 '22 13:09 apmmachine

/test

github-actions[bot] avatar Sep 20 '22 16:09 github-actions[bot]

I've just realised the from transformation is not working as expected, so I'm debugging what's going on, sorry for the spam!

v1v avatar Sep 21 '22 16:09 v1v

I'll close this for now as we are evaluating other CI options in the mid term, for now, we won't put much effort on this for avoiding the corner cases if no detecting changes when needed correctly

v1v avatar Nov 09 '22 16:11 v1v