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

chore: bump frontend to 2.0.5 #73

Closed
wants to merge 8 commits into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 19 additions & 7 deletions frontend/rockcraft.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Dockerfile: https://github.com/kubeflow/pipelines/blob/2.0.3/frontend/Dockerfile
# Dockerfile: https://github.com/kubeflow/pipelines/blob/2.2.0/frontend/Dockerfile
name: frontend
base: ubuntu@22.04
version: '2.0.3'
version: "2.2.0"
summary: Kubeflow Pipelines Management Frontend
description: |
This rock runs a frontend development server.
Expand Down Expand Up @@ -32,12 +32,18 @@ parts:
frontend:
plugin: npm
source: https://github.com/kubeflow/pipelines.git
source-tag: 2.0.3
source-tag: 2.2.0
build-snaps:
- node/14/stable
- node/18/stable
build-packages:
- jq
override-build: |
# Change working directory to pipelines/frontend
cd frontend
# The following should be removed once the rock is built from a version with the fix for
# https://github.com/kubeflow/pipelines/issues/10770
jq '.dependencies."@craco/craco"="^7.0.0"' package.json > package.tmp && mv package.tmp package.json
npm i --package-lock-only
npm ci && npm run postinstall
npm run build
# Create a client directory in root and copy the build directory into it
Expand All @@ -48,12 +54,18 @@ parts:
backend:
plugin: npm
source: https://github.com/kubeflow/pipelines.git
source-tag: 2.0.3
source-tag: 2.2.0
build-snaps:
- node/14/stable
- node/18/stable
build-packages:
- jq
override-build: |
# Change working directory to pipelines/frontend
cd ./frontend
# The following should be removed once the rock is built from a version with the fix for
# https://github.com/kubeflow/pipelines/issues/10770
jq '.dependencies."@craco/craco"="^7.0.0"' package.json > package.tmp && mv package.tmp package.json
npm i --package-lock-only
mkdir -p ./server/dist
export BUILD_VERSION=$(git describe --abbrev=0 --tags)
export BUILD_COMMIT=$(git rev-parse HEAD)
Expand All @@ -75,4 +87,4 @@ parts:
install-node:
plugin: nil
override-build: |
curl -s "https://nodejs.org/dist/v14.21.3/node-v14.21.3-linux-x64.tar.gz" | tar --strip-components=1 -xzf - -C "${CRAFT_PART_INSTALL}"
curl -s "https://nodejs.org/dist/v18.18.2/node-v18.18.2-linux-x64.tar.gz" | tar --strip-components=1 -xzf - -C "${CRAFT_PART_INSTALL}"
Loading