-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into unSkipImportExportTest
- Loading branch information
Showing
3,725 changed files
with
103,520 additions
and
45,317 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
There are no files selected for viewing
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
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
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
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
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
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
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 |
---|---|---|
|
@@ -2,7 +2,6 @@ | |
|
||
JOB: | ||
- kibana-intake | ||
- x-pack-intake | ||
- kibana-firefoxSmoke | ||
- kibana-ciGroup1 | ||
- kibana-ciGroup2 | ||
|
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
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
Validating CODEOWNERS rules …
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
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 |
---|---|---|
|
@@ -9,38 +9,29 @@ on: | |
jobs: | ||
backport: | ||
name: Backport PR | ||
if: github.event.pull_request.merged == true && contains(github.event.pull_request.labels.*.name, 'auto-backport') | ||
if: | | ||
github.event.pull_request.merged == true | ||
&& contains(github.event.pull_request.labels.*.name, 'auto-backport') | ||
&& ( | ||
(github.event.action == 'labeled' && github.event.label.name == 'auto-backport') | ||
|| (github.event.action == 'closed') | ||
) | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: 'Get backport config' | ||
run: | | ||
curl 'https://raw.githubusercontent.com/elastic/kibana/master/.backportrc.json' > .backportrc.json | ||
- name: Use Node.js 14.x | ||
uses: actions/setup-node@v1 | ||
- name: Checkout Actions | ||
uses: actions/checkout@v2 | ||
with: | ||
node-version: 14.x | ||
|
||
- name: Install backport CLI | ||
run: npm install -g [email protected] | ||
repository: 'elastic/kibana-github-actions' | ||
ref: main | ||
path: ./actions | ||
|
||
- name: Backport PR | ||
run: | | ||
git config --global user.name "kibanamachine" | ||
git config --global user.email "[email protected]" | ||
backport --fork true --username kibanamachine --accessToken "${{ secrets.KIBANAMACHINE_TOKEN }}" --ci --pr "$PR_NUMBER" --labels backport --assignee "$PR_OWNER" | tee 'output.log' | ||
env: | ||
PR_NUMBER: ${{ github.event.pull_request.number }} | ||
PR_OWNER: ${{ github.event.pull_request.user.login }} | ||
- name: Install Actions | ||
run: npm install --production --prefix ./actions | ||
|
||
- name: Report backport status | ||
run: | | ||
COMMENT="Backport result | ||
\`\`\` | ||
$(cat output.log) | ||
\`\`\`" | ||
GITHUB_TOKEN="${{ secrets.KIBANAMACHINE_TOKEN }}" gh api -X POST repos/elastic/kibana/issues/$PR_NUMBER/comments -F body="$COMMENT" | ||
env: | ||
PR_NUMBER: ${{ github.event.pull_request.number }} | ||
- name: Run Backport | ||
uses: ./actions/backport | ||
with: | ||
branch: master | ||
github_token: ${{secrets.KIBANAMACHINE_TOKEN}} | ||
commit_user: kibanamachine | ||
commit_email: [email protected] |
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
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
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
Oops, something went wrong.