Skip to content

Commit

Permalink
[7.10] Upgrade puppeteer and chromium (#467)
Browse files Browse the repository at this point in the history
Signed-off-by: Joshua Li <[email protected]>
  • Loading branch information
joshuali925 authored Sep 14, 2022
1 parent 9177740 commit 3e0d379
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/kibana-reports-test-and-build-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,14 @@ jobs:
with:
node-version: "10.23.1"

# bootstrap first to workaround errors caused by removing puppeteer-core from x-pack
- name: Kibana Plugin Bootstrap
uses: nick-invision/retry@v1
with:
timeout_minutes: 30
max_attempts: 3
command: cd ../kibana; yarn kbn bootstrap

- name: Move Kibana Reports to Plugins Dir
run: mv kibana-reports ../kibana/plugins/${{ env.PLUGIN_NAME }}

Expand All @@ -36,6 +44,11 @@ jobs:
unzip chromium-linux-x64.zip
rm chromium-linux-x64.zip
# reporting uses newer version of puppeteer-core than x-pack, removing it to avoid conflicts
- name: Remove x-pack puppeteer-core dependency
run: |
sed -i '/"puppeteer-core": "/d' ../kibana/x-pack/package.json
- name: Kibana Plugin Bootstrap
uses: nick-invision/retry@v1
with:
Expand Down

0 comments on commit 3e0d379

Please sign in to comment.