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

[CI] Use NX #202983

Closed
wants to merge 51 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
51 commits
Select commit Hold shift + click to select a range
78bd0c6
add nx, reformat package.jsons
delanni Sep 18, 2024
431ee11
Replace install steps with non-bazel calls
delanni Sep 25, 2024
6d49da3
[CI] Auto-commit changed files from 'node scripts/lint_ts_projects --…
kibanamachine Sep 25, 2024
ea7d8b1
skip quick check
delanni Sep 25, 2024
6f36cbd
further changes in yarn lock wtf
delanni Sep 25, 2024
a1ed9d3
Merge branch 'main' into bazel-removal-poc
delanni Sep 25, 2024
7221df3
[CI] Auto-commit changed files from 'node scripts/lint_ts_projects --…
kibanamachine Sep 25, 2024
b034c4d
Merge branch 'main' into bazel-removal-poc
delanni Sep 27, 2024
15fbbef
further changes in yarn lock wtf 3
delanni Sep 27, 2024
9c713a2
use a proxy command to build the 3 target projects, slim down impleme…
delanni Oct 1, 2024
7c151e5
remove bazel evocation bit
delanni Oct 2, 2024
27f22d4
fix types
delanni Oct 2, 2024
4449ae7
[CI] Auto-commit changed files from 'node scripts/lint_ts_projects --…
kibanamachine Oct 2, 2024
8923e90
remove most of the bazel references
delanni Oct 4, 2024
ea226d3
[CI] Auto-commit changed files from 'node scripts/eslint --no-cache -…
kibanamachine Oct 4, 2024
76fcad1
fix some types, for plugin build
delanni Oct 4, 2024
9b1b321
fix eslint errors
delanni Oct 8, 2024
1d660ff
Merge branch 'main' into bazel-removal-poc
delanni Oct 8, 2024
fbed7ad
yarn deduplicate and install
delanni Oct 8, 2024
37b3455
fix docs links
delanni Oct 8, 2024
29ff7d9
fix plugin build integration test
delanni Oct 9, 2024
3f25bb9
check why webpack-cli is not available
delanni Oct 9, 2024
5887601
re-add old version of @bable/types
delanni Oct 9, 2024
2dfbd63
Revert "check why webpack-cli is not available"
delanni Oct 9, 2024
bc7b5dd
use the correct cwd for webpack-cli
delanni Oct 9, 2024
2d02f21
another attempt to only run integration tests
delanni Oct 10, 2024
c65af77
undo package.json / yarn.lock changes
delanni Oct 10, 2024
8fc4212
try manually pointing to webpack-cli
delanni Oct 10, 2024
13c5f9c
try to debug why webpack-cli is suddenly not available
delanni Oct 10, 2024
bc3c2df
set cwd for build_package
delanni Oct 10, 2024
286b446
force reinstall
delanni Oct 11, 2024
2250dde
tweak build package
delanni Oct 11, 2024
0e17f11
Revert "force reinstall"
delanni Oct 11, 2024
c9ebfed
adjust build_package script to run from root
delanni Oct 11, 2024
33be554
Revert "another attempt to only run integration tests"
delanni Oct 11, 2024
3aeb027
directly invoke webpack-cli
delanni Oct 11, 2024
d280ffc
add missing dependency compare-versions
delanni Oct 11, 2024
421bd20
draft solution for yarn kbn watch
delanni Oct 11, 2024
5ccbd94
Merge branch 'main' into bazel-removal-poc
delanni Oct 11, 2024
4def98e
add jsdoc types for watchPackage
delanni Oct 11, 2024
7afd166
fix webpack build for plugins
delanni Oct 14, 2024
c61fad7
simplify/deduplicate current package building logic
delanni Oct 15, 2024
36f0346
remove more references to bazel
delanni Oct 15, 2024
e66b83f
revert package.json reformatting - they should not pollute this PR
delanni Oct 16, 2024
b90341e
undo a few more changes: shouldn't remove legacy docs, should not inv…
delanni Oct 16, 2024
cfd2add
remove residual build.jsons - these were temporarily holding data fro…
delanni Oct 16, 2024
d301a85
Merge branch 'main' into bazel-removal-poc
delanni Oct 16, 2024
d97dd54
pass along --dist to build tasks when needed
delanni Oct 16, 2024
277eddb
re-create NX bootstrap
delanni Dec 4, 2024
f95700b
add basic type error fixes
delanni Dec 4, 2024
e3ecdb8
use elastic-images-qa to test with an nx image
delanni Dec 4, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 0 additions & 26 deletions .bazelignore

This file was deleted.

1 change: 0 additions & 1 deletion .bazeliskversion

This file was deleted.

17 changes: 0 additions & 17 deletions .bazelrc

This file was deleted.

143 changes: 0 additions & 143 deletions .bazelrc.common

This file was deleted.

1 change: 0 additions & 1 deletion .bazelversion

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ spec:
spec:
env:
SLACK_NOTIFICATIONS_CHANNEL: '#kibana-performance-alerts'
BAZEL_CACHE_MODE: none
ELASTIC_SLACK_NOTIFICATIONS_ENABLED: 'true'
allow_rebuilds: true
branch_configuration: main
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ spec:
spec:
env:
SLACK_NOTIFICATIONS_CHANNEL: '#kibana-performance-alerts'
BAZEL_CACHE_MODE: none
ELASTIC_SLACK_NOTIFICATIONS_ENABLED: 'true'
allow_rebuilds: true
branch_configuration: main
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ spec:
spec:
env:
SLACK_NOTIFICATIONS_CHANNEL: '#kibana-performance-alerts'
BAZEL_CACHE_MODE: none
ELASTIC_SLACK_NOTIFICATIONS_ENABLED: 'true'
allow_rebuilds: true
branch_configuration: main
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ spec:
spec:
env:
SLACK_NOTIFICATIONS_CHANNEL: '#kibana-performance-alerts'
BAZEL_CACHE_MODE: none
ELASTIC_SLACK_NOTIFICATIONS_ENABLED: 'true'
allow_rebuilds: true
branch_configuration: main
Expand Down
4 changes: 2 additions & 2 deletions .buildkite/pipeline-utils/agent_images.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@ type AgentImageConfig = BuildkiteCommandStep['agents'];
const DEFAULT_AGENT_IMAGE_CONFIG: AgentImageConfig = {
provider: 'gcp',
image: 'family/kibana-ubuntu-2004',
imageProject: 'elastic-images-prod',
imageProject: 'elastic-images-qa',
};

const FIPS_AGENT_IMAGE_CONFIG: AgentImageConfig = {
provider: 'gcp',
image: 'family/kibana-fips-ubuntu-2004',
imageProject: 'elastic-images-prod',
imageProject: 'elastic-images-qa',
};

const GITHUB_PR_LABELS = process.env.GITHUB_PR_LABELS ?? '';
Expand Down
20 changes: 10 additions & 10 deletions .buildkite/pipelines/artifacts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ steps:
label: Build Kibana Artifacts
agents:
image: family/kibana-ubuntu-2004
imageProject: elastic-images-prod
imageProject: elastic-images-qa
provider: gcp
machineType: c2-standard-16
timeout_in_minutes: 120
Expand All @@ -18,7 +18,7 @@ steps:
label: Artifact Testing
agents:
image: family/kibana-ubuntu-2004
imageProject: elastic-images-prod
imageProject: elastic-images-qa
provider: gcp
enableNestedVirtualization: true
localSsds: 1
Expand All @@ -34,7 +34,7 @@ steps:
label: Artifact Testing
agents:
image: family/kibana-ubuntu-2004
imageProject: elastic-images-prod
imageProject: elastic-images-qa
provider: gcp
enableNestedVirtualization: true
localSsds: 1
Expand All @@ -50,7 +50,7 @@ steps:
label: Artifact Testing
agents:
image: family/kibana-ubuntu-2004
imageProject: elastic-images-prod
imageProject: elastic-images-qa
provider: gcp
enableNestedVirtualization: true
localSsds: 1
Expand All @@ -66,7 +66,7 @@ steps:
label: 'Docker Context Verification'
agents:
image: family/kibana-ubuntu-2004
imageProject: elastic-images-prod
imageProject: elastic-images-qa
provider: gcp
localSsds: 1
localSsdInterface: nvme
Expand All @@ -81,7 +81,7 @@ steps:
label: 'Docker Context Verification'
agents:
image: family/kibana-ubuntu-2004
imageProject: elastic-images-prod
imageProject: elastic-images-qa
provider: gcp
localSsds: 1
localSsdInterface: nvme
Expand All @@ -96,7 +96,7 @@ steps:
label: 'Docker Context Verification'
agents:
image: family/kibana-ubuntu-2004
imageProject: elastic-images-prod
imageProject: elastic-images-qa
provider: gcp
machineType: n2-standard-2
timeout_in_minutes: 30
Expand All @@ -109,7 +109,7 @@ steps:
label: 'Docker Context Verification'
agents:
image: family/kibana-ubuntu-2004
imageProject: elastic-images-prod
imageProject: elastic-images-qa
provider: gcp
localSsds: 1
localSsdInterface: nvme
Expand All @@ -127,7 +127,7 @@ steps:
- exit_status: -1
agents:
image: family/kibana-ubuntu-2004
imageProject: elastic-images-prod
imageProject: elastic-images-qa
provider: gcp
localSsds: 1
localSsdInterface: nvme
Expand All @@ -154,7 +154,7 @@ steps:
label: 'Publish Kibana Artifacts'
agents:
image: family/kibana-ubuntu-2004
imageProject: elastic-images-prod
imageProject: elastic-images-qa
provider: gcp
localSsds: 1
localSsdInterface: nvme
Expand Down
2 changes: 1 addition & 1 deletion .buildkite/pipelines/artifacts_container_image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ steps:
label: Build serverless container images
agents:
image: family/kibana-ubuntu-2004
imageProject: elastic-images-prod
imageProject: elastic-images-qa
provider: gcp
machineType: n2-standard-16
timeout_in_minutes: 60
2 changes: 1 addition & 1 deletion .buildkite/pipelines/artifacts_trigger.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ steps:
label: Trigger artifacts build
agents:
image: family/kibana-ubuntu-2004
imageProject: elastic-images-prod
imageProject: elastic-images-qa
provider: gcp
machineType: n2-standard-2
timeout_in_minutes: 10
43 changes: 0 additions & 43 deletions .buildkite/pipelines/bazel_cache.yml

This file was deleted.

Loading