mirror of
https://github.com/elastic/kibana.git
synced 2025-04-25 02:09:32 -04:00
## Summary Creates a CLI script to rewrite buildkite agent targeting rules to the ones we need to use with the Elastic-wide buildkite agents. This version tries to map all fittable fields from https://github.com/elastic/kibana-buildkite/blob/main/agents.json to0df8430357/docs/gobld/providers.mdx (L96)
Based on: #171317 (demonstrated here:ca0f455456
) Part of: https://github.com/elastic/kibana-operations/issues/15
10 lines
462 B
JavaScript
10 lines
462 B
JavaScript
/*
|
|
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
|
|
* or more contributor license agreements. Licensed under the Elastic License
|
|
* 2.0 and the Server Side Public License, v 1; you may not use this file except
|
|
* in compliance with, at your election, the Elastic License 2.0 or the Server
|
|
* Side Public License, v 1.
|
|
*/
|
|
|
|
require('../src/setup_node_env');
|
|
require('../src/dev/buildkite_migration/rewrite_buildkite_agent_rules');
|