Skip to content

Commit 6cf9940

Browse files
committed
Merge branch 'bye-bye-feature-flag' of github.com:spong/kibana into bye-bye-feature-flag
2 parents 18d089b + fe0992c commit 6cf9940

1,306 files changed

Lines changed: 10479 additions & 4625 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.buildkite/scripts/steps/artifacts/publish.sh

Lines changed: 35 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -54,39 +54,51 @@ echo "--- Pull latest Release Manager CLI"
5454
docker pull docker.elastic.co/infra/release-manager:latest
5555

5656
echo "--- Publish artifacts"
57-
if [[ "$BUILDKITE_BRANCH" == "$KIBANA_BASE_BRANCH" ]]; then
57+
if [[ "$BUILDKITE_BRANCH" == "$KIBANA_BASE_BRANCH" ]] || [[ "${DRY_RUN:-}" =~ ^(1|true)$ ]]; then
5858
export VAULT_ROLE_ID="$(get_vault_role_id)"
5959
export VAULT_SECRET_ID="$(get_vault_secret_id)"
6060
export VAULT_ADDR="https://secrets.elastic.co:8200"
6161

6262
download_artifact beats_manifest.json /tmp --build "${KIBANA_BUILD_ID:-$BUILDKITE_BUILD_ID}"
6363
export BEATS_MANIFEST_URL=$(jq -r .manifest_url /tmp/beats_manifest.json)
6464

65-
PUBLISH_CMD=$(cat << EOF
66-
docker run --rm \
67-
--name release-manager \
68-
-e VAULT_ADDR \
69-
-e VAULT_ROLE_ID \
70-
-e VAULT_SECRET_ID \
71-
--mount type=bind,readonly=false,src="$PWD/target",target=/artifacts/target \
72-
docker.elastic.co/infra/release-manager:latest \
73-
cli collect \
74-
--project kibana \
75-
--branch "$KIBANA_BASE_BRANCH" \
76-
--commit "$GIT_COMMIT" \
77-
--workflow "$WORKFLOW" \
78-
--version "$BASE_VERSION" \
79-
--qualifier "$VERSION_QUALIFIER" \
80-
--dependency "beats:$BEATS_MANIFEST_URL" \
81-
--artifact-set main
82-
EOF
83-
)
8465
if [[ "${DRY_RUN:-}" =~ ^(1|true)$ ]]; then
85-
PUBLISH_CMD+=(" --dry-run")
66+
docker run --rm \
67+
--name release-manager \
68+
-e VAULT_ADDR \
69+
-e VAULT_ROLE_ID \
70+
-e VAULT_SECRET_ID \
71+
--mount type=bind,readonly=false,src="$PWD/target",target=/artifacts/target \
72+
docker.elastic.co/infra/release-manager:latest \
73+
cli collect \
74+
--project kibana \
75+
--branch "$KIBANA_BASE_BRANCH" \
76+
--commit "$GIT_COMMIT" \
77+
--workflow "$WORKFLOW" \
78+
--version "$BASE_VERSION" \
79+
--qualifier "$VERSION_QUALIFIER" \
80+
--dependency "beats:$BEATS_MANIFEST_URL" \
81+
--artifact-set main \
82+
--dry-run
83+
else
84+
docker run --rm \
85+
--name release-manager \
86+
-e VAULT_ADDR \
87+
-e VAULT_ROLE_ID \
88+
-e VAULT_SECRET_ID \
89+
--mount type=bind,readonly=false,src="$PWD/target",target=/artifacts/target \
90+
docker.elastic.co/infra/release-manager:latest \
91+
cli collect \
92+
--project kibana \
93+
--branch "$KIBANA_BASE_BRANCH" \
94+
--commit "$GIT_COMMIT" \
95+
--workflow "$WORKFLOW" \
96+
--version "$BASE_VERSION" \
97+
--qualifier "$VERSION_QUALIFIER" \
98+
--dependency "beats:$BEATS_MANIFEST_URL" \
99+
--artifact-set main
86100
fi
87101

88-
"${PUBLISH_CMD[@]}"
89-
90102
KIBANA_SUMMARY=$(curl -s "$KIBANA_MANIFEST_LATEST" | jq -re '.summary_url')
91103

92104
cat << EOF | buildkite-agent annotate --style "info" --context artifacts-summary

api_docs/actions.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/actions
88
title: "actions"
99
image: https://source.unsplash.com/400x175/?github
1010
description: API docs for the actions plugin
11-
date: 2024-07-15
11+
date: 2024-07-16
1212
tags: ['contributor', 'dev', 'apidocs', 'kibana', 'actions']
1313
---
1414
import actionsObj from './actions.devdocs.json';

api_docs/advanced_settings.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/advancedSettings
88
title: "advancedSettings"
99
image: https://source.unsplash.com/400x175/?github
1010
description: API docs for the advancedSettings plugin
11-
date: 2024-07-15
11+
date: 2024-07-16
1212
tags: ['contributor', 'dev', 'apidocs', 'kibana', 'advancedSettings']
1313
---
1414
import advancedSettingsObj from './advanced_settings.devdocs.json';

api_docs/ai_assistant_management_selection.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/aiAssistantManagementSelection
88
title: "aiAssistantManagementSelection"
99
image: https://source.unsplash.com/400x175/?github
1010
description: API docs for the aiAssistantManagementSelection plugin
11-
date: 2024-07-15
11+
date: 2024-07-16
1212
tags: ['contributor', 'dev', 'apidocs', 'kibana', 'aiAssistantManagementSelection']
1313
---
1414
import aiAssistantManagementSelectionObj from './ai_assistant_management_selection.devdocs.json';

api_docs/aiops.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/aiops
88
title: "aiops"
99
image: https://source.unsplash.com/400x175/?github
1010
description: API docs for the aiops plugin
11-
date: 2024-07-15
11+
date: 2024-07-16
1212
tags: ['contributor', 'dev', 'apidocs', 'kibana', 'aiops']
1313
---
1414
import aiopsObj from './aiops.devdocs.json';

api_docs/alerting.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/alerting
88
title: "alerting"
99
image: https://source.unsplash.com/400x175/?github
1010
description: API docs for the alerting plugin
11-
date: 2024-07-15
11+
date: 2024-07-16
1212
tags: ['contributor', 'dev', 'apidocs', 'kibana', 'alerting']
1313
---
1414
import alertingObj from './alerting.devdocs.json';

api_docs/apm.devdocs.json

Lines changed: 5 additions & 1 deletion
Large diffs are not rendered by default.

api_docs/apm.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/apm
88
title: "apm"
99
image: https://source.unsplash.com/400x175/?github
1010
description: API docs for the apm plugin
11-
date: 2024-07-15
11+
date: 2024-07-16
1212
tags: ['contributor', 'dev', 'apidocs', 'kibana', 'apm']
1313
---
1414
import apmObj from './apm.devdocs.json';

api_docs/apm_data_access.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/apmDataAccess
88
title: "apmDataAccess"
99
image: https://source.unsplash.com/400x175/?github
1010
description: API docs for the apmDataAccess plugin
11-
date: 2024-07-15
11+
date: 2024-07-16
1212
tags: ['contributor', 'dev', 'apidocs', 'kibana', 'apmDataAccess']
1313
---
1414
import apmDataAccessObj from './apm_data_access.devdocs.json';

api_docs/assets_data_access.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/assetsDataAccess
88
title: "assetsDataAccess"
99
image: https://source.unsplash.com/400x175/?github
1010
description: API docs for the assetsDataAccess plugin
11-
date: 2024-07-15
11+
date: 2024-07-16
1212
tags: ['contributor', 'dev', 'apidocs', 'kibana', 'assetsDataAccess']
1313
---
1414
import assetsDataAccessObj from './assets_data_access.devdocs.json';

0 commit comments

Comments
 (0)