Skip to content

Commit

Permalink
Update to the latest version of Rancher Dashboard
Browse files Browse the repository at this point in the history
This updates the Rancher Desktop dependencies so that it directs to the new location for Dashboard builds: `https://github.com/rancher-sandbox/rancher-desktop-dashboard/`

Signed-off-by: Phillip Rak <[email protected]>
  • Loading branch information
rak-phillip committed Feb 4, 2025
1 parent 071ed7e commit ae89acd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pkg/rancher-desktop/assets/dependencies.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ dockerCompose: 2.32.4
golangci-lint: 1.63.4
trivy: 0.59.0
steve: 0.1.0-beta9
rancherDashboard: desktop-v2.7.0.beta.1
rancherDashboard: desktop-v0.1.1-alpha.3
dockerProvidedCredentialHelpers: 0.8.2
ECRCredentialHelper: 0.9.0
mobyOpenAPISpec: "1.47"
Expand Down
4 changes: 2 additions & 2 deletions scripts/dependencies/tools.ts
Original file line number Diff line number Diff line change
Expand Up @@ -334,11 +334,11 @@ export class Steve implements Dependency, GitHubDependency {
export class RancherDashboard implements Dependency, GitHubDependency {
name = 'rancherDashboard';
githubOwner = 'rancher-sandbox';
githubRepo = 'dashboard';
githubRepo = 'rancher-desktop-dashboard';
versionRegex = /^desktop-v([0-9]+\.[0-9]+\.[0-9]+)\.([0-9a-zA-Z]+(\.[0-9a-zA-Z]+)+)$/;

async download(context: DownloadContext): Promise<void> {
const baseURL = `https://github.com/rancher-sandbox/dashboard/releases/download/${ context.versions.rancherDashboard }`;
const baseURL = `https://github.com/rancher-sandbox/${ this.githubRepo }/releases/download/${ context.versions.rancherDashboard }`;
const executableName = 'rancher-dashboard-desktop-embed';
const url = `${ baseURL }/${ executableName }.tar.gz`;
const destPath = path.join(context.resourcesDir, 'rancher-dashboard.tgz');
Expand Down

0 comments on commit ae89acd

Please sign in to comment.