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

[x-pack/build] exclude plugins/*/target when copying source to build #99009

Merged
merged 2 commits into from
May 3, 2021

Conversation

spalger
Copy link
Contributor

@spalger spalger commented May 1, 2021

Part of #99005

Currently we are including the plugins/*/target/types directory in the distributable when it exists, which is only when node scripts/build_ts_refs is executed (so it doesn't end up in our final distributable, or in the builds made in PRs). These directories do exist in the distributables created as part of the baseline jobs though, which was leading to file-length-check failures once #96111 was merged. With this change the baseline job and PR job should create the same distributable. Fixing the rest of #99005 will help us ensure that by reporting the changed files on all PRs so that something like this will be more obvious in the future.

@spalger spalger force-pushed the reproduce-failure--96111 branch 2 times, most recently from d74a0d9 to fe08155 Compare May 3, 2021 14:49
@spalger spalger changed the title reproduce build issue caused by 96111 [x-pack/build] don't ship plugins/*/target/types May 3, 2021
@spalger spalger added release_note:skip Skip the PR/issue when compiling release notes Team:Operations Team label for Operations Team v7.13.0 v7.14.0 v8.0.0 labels May 3, 2021
@spalger
Copy link
Contributor Author

spalger commented May 3, 2021

Reproducing this using the baseline Jenkinsfile and #96111 merged was an important part of verifying this works, that Jenkins build can be seen here: https://kibana-ci.elastic.co/job/elastic+kibana+pipeline-pull-request/123860/

@spalger spalger changed the title [x-pack/build] don't ship plugins/*/target/types [x-pack/build] exclude plugins/*/target when copying source to build May 3, 2021
@kibanamachine
Copy link
Contributor

💚 Build Succeeded

Metrics [docs]

✅ unchanged

History

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

@spalger spalger marked this pull request as ready for review May 3, 2021 18:33
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-operations (Team:Operations)

@spalger spalger requested a review from a team May 3, 2021 18:34
@spalger spalger added the auto-backport Deprecated - use backport:version if exact versions are needed label May 3, 2021
@spalger spalger merged commit a5c7f6c into elastic:master May 3, 2021
@spalger spalger deleted the reproduce-failure--96111 branch May 3, 2021 19:34
kibanamachine pushed a commit to kibanamachine/kibana that referenced this pull request May 3, 2021
…lastic#99009)

Co-authored-by: spalger <spalger@users.noreply.github.com>
kibanamachine pushed a commit to kibanamachine/kibana that referenced this pull request May 3, 2021
…lastic#99009)

Co-authored-by: spalger <spalger@users.noreply.github.com>
@kibanamachine
Copy link
Contributor

💚 Backport successful

Status Branch Result
7.13
7.x

The backport PRs will be merged automatically after passing CI.

kibanamachine added a commit that referenced this pull request May 3, 2021
…99009) (#99107)

Co-authored-by: spalger <spalger@users.noreply.github.com>

Co-authored-by: Spencer <email@spalger.com>
Co-authored-by: spalger <spalger@users.noreply.github.com>
kibanamachine added a commit that referenced this pull request May 3, 2021
…99009) (#99108)

Co-authored-by: spalger <spalger@users.noreply.github.com>

Co-authored-by: Spencer <email@spalger.com>
Co-authored-by: spalger <spalger@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auto-backport Deprecated - use backport:version if exact versions are needed release_note:skip Skip the PR/issue when compiling release notes Team:Operations Team label for Operations Team v7.13.0 v7.14.0 v8.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants