Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release #708

Merged
merged 7 commits into from
Dec 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
1 change: 0 additions & 1 deletion .eslintignore
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,4 @@ dist-ssr
pnpm-lock.yaml
yarn.lock

legacy
scripts/types.js
19 changes: 0 additions & 19 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,26 +22,11 @@ jobs:
with:
node-version: 20

- name: Install yarn
run: npm install --global yarn

- name: Install pnpm
uses: pnpm/action-setup@v2
with:
version: latest

- name: Build old dashboard
working-directory: ./legacy
run: |
yarn install
yarn build
env:
REACT_APP_HUB_API_URL: "https://hubapi.zenml.io"
REACT_APP_BASE_API_URL: "/api/v1"
REACT_APP_MOCKAPI_RESPONSE: false
REACT_APP_USE_COOKIE: "true"
REACT_APP_VERSION: ${{ steps.get_version.outputs.VERSION }}

- name: Build new dashboard
run: |
pnpm install --frozen-lockfile
Expand All @@ -63,17 +48,13 @@ jobs:

- name: Create release archive
run: |
tar -zcf zenml-dashboard-legacy.tar.gz -C ./legacy/build --transform="s#\.\/##" .
sha256sum -b zenml-dashboard-legacy.tar.gz > zenml-dashboard-legacy.tar.gz.sha256
tar -zcf zenml-dashboard.tar.gz -C dist --transform="s#\.\/##" .
sha256sum -b zenml-dashboard.tar.gz > zenml-dashboard.tar.gz.sha256

- name: Release to GitHub
uses: softprops/action-gh-release@v1
with:
files: |
zenml-dashboard-legacy.tar.gz
zenml-dashboard-legacy.tar.gz.sha256
zenml-dashboard.tar.gz
zenml-dashboard.tar.gz.sha256
body_path: ./CHANGELOG.md
Expand Down
2 changes: 0 additions & 2 deletions .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,3 @@ dist-ssr

pnpm-lock.yaml
yarn.lock

legacy
8 changes: 0 additions & 8 deletions legacy/.babelrc

This file was deleted.

7 changes: 0 additions & 7 deletions legacy/.env

This file was deleted.

24 changes: 0 additions & 24 deletions legacy/.eslintrc.js

This file was deleted.

16 changes: 0 additions & 16 deletions legacy/.github/ISSUE_TEMPLATE/bug_report.md

This file was deleted.

11 changes: 0 additions & 11 deletions legacy/.github/ISSUE_TEMPLATE/config.yml

This file was deleted.

4 changes: 0 additions & 4 deletions legacy/.github/teams.yml

This file was deleted.

48 changes: 0 additions & 48 deletions legacy/.github/workflows/cy.yml

This file was deleted.

118 changes: 0 additions & 118 deletions legacy/.gitignore

This file was deleted.

3 changes: 0 additions & 3 deletions legacy/.husky/pre-commit

This file was deleted.

7 changes: 0 additions & 7 deletions legacy/.prettierrc.js

This file was deleted.

11 changes: 0 additions & 11 deletions legacy/.storybook/main.js

This file was deleted.

24 changes: 0 additions & 24 deletions legacy/.storybook/preview.js

This file was deleted.

4 changes: 0 additions & 4 deletions legacy/.vscode/settings.json

This file was deleted.

1 change: 0 additions & 1 deletion legacy/.yarnrc.yml

This file was deleted.

Loading
Loading