From 1ef1260d2154fed436d2929e1e32437303478c65 Mon Sep 17 00:00:00 2001 From: Jiri Tomasek Date: Thu, 3 Aug 2023 16:53:19 +0200 Subject: [PATCH 1/2] Enhance release job in build-extension workflow to ensure having Helm --- .github/workflows/build-extension.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build-extension.yml b/.github/workflows/build-extension.yml index 939e8c8..abc9140 100644 --- a/.github/workflows/build-extension.yml +++ b/.github/workflows/build-extension.yml @@ -90,6 +90,11 @@ jobs: git config user.name "$GITHUB_ACTOR" git config user.email "$GITHUB_ACTOR@users.noreply.github.com" + - name: Setup Helm + uses: azure/setup-helm@v3 + with: + version: v3.8.0 + - name: Download build artifact uses: actions/download-artifact@v3 with: @@ -97,7 +102,6 @@ jobs: - name: Update index.html run: | - command -v helm > /dev/null 2>&1 || die "helm command not found" 2 helm plugin list | grep -q repo-html || helm plugin install https://github.com/halkeye/helm-repo-html helm repo-html -t index.tpl From 1d4b7b63b8f80621223bbaa544ed562c25e7ae8d Mon Sep 17 00:00:00 2001 From: Jiri Tomasek Date: Thu, 3 Aug 2023 17:39:56 +0200 Subject: [PATCH 2/2] KubeVirt updates - Updated KubeVirt extension README with actual information - Update KubeVirt package name, description and icon - Updated the plugin metadata --- pkg/kubevirt/README.md | 7 +++++-- pkg/kubevirt/assets/images/kubevirt-icon-color.svg | 1 - pkg/kubevirt/index.ts | 4 ++-- pkg/kubevirt/package.json | 5 +++-- 4 files changed, 10 insertions(+), 7 deletions(-) delete mode 100644 pkg/kubevirt/assets/images/kubevirt-icon-color.svg diff --git a/pkg/kubevirt/README.md b/pkg/kubevirt/README.md index ba068ea..c69a993 100644 --- a/pkg/kubevirt/README.md +++ b/pkg/kubevirt/README.md @@ -1,3 +1,6 @@ -## This is a subtitle +# SUSE Edge: KubeVirt extension for Rancher Dashboard", -This is a placeholder for the KubeVirt extension description. +An Edge focused extension for Rancher Dashboard allowing you to monitor and interact virtual machine based workloads. + +For more information on SUSE Edge see https://suse-edge.github.io/ +For more information on Kubevirt see https://kubevirt.io/ diff --git a/pkg/kubevirt/assets/images/kubevirt-icon-color.svg b/pkg/kubevirt/assets/images/kubevirt-icon-color.svg deleted file mode 100644 index 00d9ace..0000000 --- a/pkg/kubevirt/assets/images/kubevirt-icon-color.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/pkg/kubevirt/index.ts b/pkg/kubevirt/index.ts index 44a810f..ff21f1c 100644 --- a/pkg/kubevirt/index.ts +++ b/pkg/kubevirt/index.ts @@ -11,12 +11,12 @@ export default function (plugin: IPlugin) { importTypes(plugin); // Provide plugin metadata from package.json - const { version, description } = require('./package.json'); + const { version, description, icon } = require('./package.json'); plugin.metadata = { name: 'KubeVirt', version, description, - icon: require('./assets/images/kubevirt-icon-color.svg'), + icon, }; plugin.addProduct(require('./product')); diff --git a/pkg/kubevirt/package.json b/pkg/kubevirt/package.json index bdc19ec..1e53234 100644 --- a/pkg/kubevirt/package.json +++ b/pkg/kubevirt/package.json @@ -1,6 +1,7 @@ { - "name": "suse-edge-kubevirt-extension", - "description": "KubeVirt Rancher Dashboard extension", + "name": "kubevirt", + "description": "SUSE Edge: KubeVirt extension for Rancher Dashboard", + "icon": "https://github.com/cncf/artwork/blob/master/projects/kubevirt/icon/color/kubevirt-icon-color.svg", "version": "0.1.1", "license": "Apache-2.0", "private": false,