This repository has been archived by the owner on Jan 23, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 68
apm-ui: use the new kibana project layout #769
Merged
Merged
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
18 changes: 15 additions & 3 deletions
18
scripts/kibana/validate-ts-interfaces-against-apm-server-sample-docs/scripts/clone-kibana.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,21 @@ | ||
#!/usr/bin/env bash | ||
set -e | ||
|
||
OWNER=${1:-elastic} | ||
BRANCH=${2:-master} | ||
|
||
echo "Cloning Kibana: $OWNER:$BRANCH" | ||
echo "Cloning Kibana: ${OWNER}:${BRANCH}" | ||
|
||
cd ./tmp | ||
git clone --depth 1 -b $BRANCH https://github.com/$OWNER/kibana.git | ||
mv ./kibana/x-pack/legacy/plugins/apm/typings/es_schemas ./apm-ui-interfaces | ||
git clone --quiet --depth 1 -b "${BRANCH}" "https://github.com/${OWNER}/kibana.git" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I originally made this git clone a little more complicated than it has to be. What I wanted was a partial checkout of just a specific path (to make it faster). I didn't find any simple ways to do that. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. But you don't have to change this. Just thought I'd mention it. |
||
|
||
### In 7.7 files moved around. | ||
### The below section keeps backward compatibility. | ||
oldLocation=./kibana/x-pack/legacy/plugins/apm/typings/es_schemas | ||
newLocation=./kibana/x-pack/plugins/apm/typings/es_schemas | ||
location=${oldLocation} | ||
if [ -d "${newLocation}" ] ; then | ||
location=${newLocation} | ||
fi | ||
mv "${location}" ./apm-ui-interfaces | ||
rm -rf kibana |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fix a lint defect