diff --git a/.backportrc.json b/.backportrc.json index 24e08d4768d9a..f89e758afe8a6 100644 --- a/.backportrc.json +++ b/.backportrc.json @@ -1,7 +1,7 @@ { "upstream": "elastic/kibana", "targetBranchChoices": [ - { "name": "master", "checked": true }, + { "name": "main", "checked": true }, "8.0", "7.16", "7.15", @@ -33,7 +33,7 @@ ], "targetPRLabels": ["backport"], "branchLabelMapping": { - "^v8.1.0$": "master", + "^v8.1.0$": "main", "^v(\\d+).(\\d+).\\d+$": "$1.$2" }, "autoMerge": true, diff --git a/.buildkite/pipelines/on_merge.yml b/.buildkite/pipelines/on_merge.yml index 2aba49bfa6460..efe522f592ecd 100644 --- a/.buildkite/pipelines/on_merge.yml +++ b/.buildkite/pipelines/on_merge.yml @@ -10,8 +10,6 @@ steps: - command: .buildkite/scripts/steps/on_merge_build_and_metrics.sh label: Default Build and Metrics - env: - BAZEL_CACHE_MODE: read-write agents: queue: c2-8 timeout_in_minutes: 60 diff --git a/.buildkite/scripts/steps/es_snapshots/build.sh b/.buildkite/scripts/steps/es_snapshots/build.sh index 975d5944da883..c11f041836413 100755 --- a/.buildkite/scripts/steps/es_snapshots/build.sh +++ b/.buildkite/scripts/steps/es_snapshots/build.sh @@ -14,6 +14,10 @@ mkdir -p "$destination" mkdir -p elasticsearch && cd elasticsearch export ELASTICSEARCH_BRANCH="${ELASTICSEARCH_BRANCH:-$BUILDKITE_BRANCH}" +# Until ES renames their master branch to main... +if [[ "$ELASTICSEARCH_BRANCH" == "main" ]]; then + export ELASTICSEARCH_BRANCH="master" +fi if [[ ! -d .git ]]; then git init diff --git a/.ci/packer_cache.sh b/.ci/packer_cache.sh index 723008d8618d7..fc5a52f1ac991 100755 --- a/.ci/packer_cache.sh +++ b/.ci/packer_cache.sh @@ -7,5 +7,5 @@ if [[ "$(which docker)" != "" && "$(command uname -m)" != "aarch64" ]]; then docker pull "maven:3.6.3-openjdk-8-slim" fi -./.ci/packer_cache_for_branch.sh master +./.ci/packer_cache_for_branch.sh main ./.ci/packer_cache_for_branch.sh 7.16 diff --git a/.ci/packer_cache_for_branch.sh b/.ci/packer_cache_for_branch.sh index ee220537de340..78548f4667a9f 100755 --- a/.ci/packer_cache_for_branch.sh +++ b/.ci/packer_cache_for_branch.sh @@ -7,7 +7,7 @@ checkoutDir="$(pwd)" function cleanup() { - if [[ "$branch" != "master" ]]; then + if [[ "$branch" != "main" ]]; then rm --preserve-root -rf "$checkoutDir" fi @@ -16,7 +16,7 @@ function cleanup() trap 'cleanup' 0 -if [[ "$branch" != "master" ]]; then +if [[ "$branch" != "main" ]]; then checkoutDir="/tmp/kibana-$branch" git clone https://github.com/elastic/kibana.git --branch "$branch" --depth 1 "$checkoutDir" cd "$checkoutDir" diff --git a/.github/ISSUE_TEMPLATE/v8_breaking_change.md b/.github/ISSUE_TEMPLATE/v8_breaking_change.md index 9361cf7a52b65..8ef570947dd41 100644 --- a/.github/ISSUE_TEMPLATE/v8_breaking_change.md +++ b/.github/ISSUE_TEMPLATE/v8_breaking_change.md @@ -37,7 +37,7 @@ changes to Upgrade Assistant itself, please tag Team:Elasticsearch UI. **Are there any edge cases?** -**[For Kibana deprecations] Can the change be registered with the [Kibana deprecation service](https://github.com/elastic/kibana/blob/master/docs/development/core/server/kibana-plugin-core-server.deprecationsservicesetup.md)?** +**[For Kibana deprecations] Can the change be registered with the [Kibana deprecation service](https://github.com/elastic/kibana/blob/main/docs/development/core/server/kibana-plugin-core-server.deprecationsservicesetup.md)?**