You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by ma...@apache.org on 2024/04/23 23:47:47 UTC
(superset) branch fix_docs2 created (now a68b42cdfe)
This is an automated email from the ASF dual-hosted git repository.
maximebeauchemin pushed a change to branch fix_docs2
in repository https://gitbox.apache.org/repos/asf/superset.git
at a68b42cdfe fixin'
This branch includes the following new commits:
new 2dbb802021 fix(ci): docs fail because missing Java
new a68b42cdfe fixin'
The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
(superset) 02/02: fixin'
Posted by ma...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
maximebeauchemin pushed a commit to branch fix_docs2
in repository https://gitbox.apache.org/repos/asf/superset.git
commit a68b42cdfe5fda8b04ebc4ee20fb7e3671d73207
Author: Maxime Beauchemin <ma...@gmail.com>
AuthorDate: Tue Apr 23 16:47:27 2024 -0700
fixin'
---
.github/workflows/superset-docs-deploy.yml | 2 +-
docs/static/img/erd.svg | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/.github/workflows/superset-docs-deploy.yml b/.github/workflows/superset-docs-deploy.yml
index eb3729f8d9..169a80878e 100644
--- a/.github/workflows/superset-docs-deploy.yml
+++ b/.github/workflows/superset-docs-deploy.yml
@@ -51,7 +51,7 @@ jobs:
run: |
python scripts/erd/erd.py
curl -L http://sourceforge.net/projects/plantuml/files/1.2023.7/plantuml.1.2023.7.jar/download > ~/plantuml.jar
- java -jar ~/plantuml.jar -v -tsvg -r -o "${{ github.workspace }}/docs/static/img/erd.svg" "${{ github.workspace }}/scripts/erd/erd.puml"
+ java -jar ~/plantuml.jar -v -tsvg -r -o "${{ github.workspace }}/docs/static/img/" "${{ github.workspace }}/scripts/erd/erd.puml"
- name: yarn install
run: |
yarn install --check-cache
diff --git a/docs/static/img/erd.svg b/docs/static/img/erd.svg
index 3e4703e721..2e022a5887 100644
--- a/docs/static/img/erd.svg
+++ b/docs/static/img/erd.svg
@@ -1 +1 @@
-<?xml version="1.0" encoding="us-ascii" standalone="no"?><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" contentStyleType="text/css" height="2997px" preserveAspectRatio="none" style="width:6553px;height:2997px;background:#003153;" version="1.1" viewBox="0 0 6553 2997" width="6553px" zoomAndPan="magnify"><defs/><g><rect fill="#003153" height="2997" style="stroke:none;stroke-width:1.0;" width="6553" x="0" y="0"/><text fill="#D9D3D0" font-family="Verdana" [...]
+<?xml version="1.0" encoding="us-ascii" standalone="no"?><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" contentStyleType="text/css" height="3114px" preserveAspectRatio="none" style="width:4670px;height:3114px;background:#003153;" version="1.1" viewBox="0 0 4670 3114" width="4670px" zoomAndPan="magnify"><defs/><g><rect fill="#003153" height="3114" style="stroke:none;stroke-width:1.0;" width="4670" x="0" y="0"/><text fill="#D9D3D0" font-family="Verdana" [...]
(superset) 01/02: fix(ci): docs fail because missing Java
Posted by ma...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
maximebeauchemin pushed a commit to branch fix_docs2
in repository https://gitbox.apache.org/repos/asf/superset.git
commit 2dbb8020212764085fe75b1732457668a0f40168
Author: Maxime Beauchemin <ma...@gmail.com>
AuthorDate: Tue Apr 23 16:44:17 2024 -0700
fix(ci): docs fail because missing Java
---
.github/workflows/superset-docs-deploy.yml | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/.github/workflows/superset-docs-deploy.yml b/.github/workflows/superset-docs-deploy.yml
index 5563ce60b5..eb3729f8d9 100644
--- a/.github/workflows/superset-docs-deploy.yml
+++ b/.github/workflows/superset-docs-deploy.yml
@@ -7,6 +7,8 @@ on:
branches:
- "master"
+ workflow_dispatch: {}
+
jobs:
config:
runs-on: "ubuntu-latest"
@@ -41,9 +43,13 @@ jobs:
node-version: '18'
- name: Setup Python
uses: ./.github/actions/setup-backend/
+ - uses: actions/setup-java@v4
+ with:
+ distribution: 'zulu'
+ java-version: '21'
- name: Compute Entity Relationship diagram (ERD)
run: |
- python scripts/erd.py
+ python scripts/erd/erd.py
curl -L http://sourceforge.net/projects/plantuml/files/1.2023.7/plantuml.1.2023.7.jar/download > ~/plantuml.jar
java -jar ~/plantuml.jar -v -tsvg -r -o "${{ github.workspace }}/docs/static/img/erd.svg" "${{ github.workspace }}/scripts/erd/erd.puml"
- name: yarn install