Skip to content

Commit

Permalink
Merge pull request #567 from metrico/view-as-submodule
Browse files Browse the repository at this point in the history
view as submodule
  • Loading branch information
akvlad committed Sep 5, 2024
2 parents 0a2cfa9 + 503be2d commit 38535d2
Show file tree
Hide file tree
Showing 33 changed files with 27 additions and 491 deletions.
9 changes: 9 additions & 0 deletions .github/actions/get-view/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
name: pull view action
runs:
using: "composite"
steps:
- run: |
mkdir view && cd view && \
wget https://github.com/metrico/qryn-view/releases/download/$TAG/dist.zip && \
unzip -o dist.zip && rm dist.zip
shell: bash
12 changes: 12 additions & 0 deletions .github/workflows/build_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,10 @@ jobs:
if: ${{ steps.checksecrets.outputs.secretspresent }}
with:
node-version: 18
- name: build qryn-view
uses: ./.github/actions/get-view
env:
TAG: v3.3.2
- name: Publish to NPM
if: ${{ steps.checksecrets.outputs.secretspresent }}
continue-on-error: true
Expand Down Expand Up @@ -65,6 +69,10 @@ jobs:
fi
env:
SECRET: ${{ secrets.DOCKERHUB_TOKEN }}
- name: build qryn-view
uses: ./.github/actions/get-view
env:
TAG: v3.3.2
- name: Set up Docker QEMU
if: ${{ steps.checkdocker.outputs.secretspresent }}
uses: docker/setup-qemu-action@v3.0.0
Expand Down Expand Up @@ -136,6 +144,10 @@ jobs:
fi
env:
SECRET: ${{ secrets.DOCKERHUB_TOKEN }}
- name: build qryn-view
uses: ./.github/actions/get-view
env:
TAG: v3.3.2
- name: Set up Docker QEMU
if: ${{ steps.checkdocker.outputs.secretspresent }}
uses: docker/setup-qemu-action@v3.0.0
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/node-clickhouse.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,12 @@ jobs:
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- name: build qryn-view
uses: ./.github/actions/get-view
env:
TAG: v3.3.2
- name: check if qryn-view pulled
run: pushd view && ls | grep assets && popd
- run: npm install
- run: npm run postinstall
- run: git submodule init
Expand Down
1 change: 0 additions & 1 deletion view/assets/AddOutlined-uQBKZQpc.js

This file was deleted.

1 change: 0 additions & 1 deletion view/assets/App-CfSzliXK.js

This file was deleted.

1 change: 0 additions & 1 deletion view/assets/DataSources-DlyxrvND.js

This file was deleted.

1 change: 0 additions & 1 deletion view/assets/DeleteOutlineOutlined-wSqFpREd.js

This file was deleted.

Loading

0 comments on commit 38535d2

Please sign in to comment.