Skip to content

Commit

Permalink
Merge pull request #8147 from rak-phillip/chore/update-rancher-dashboard
Browse files Browse the repository at this point in the history
Update to the latest version of Rancher Dashboard
  • Loading branch information
jandubois authored Feb 7, 2025
2 parents 8e1994f + 51ebd03 commit d0cef42
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions e2e/extensions.e2e.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -360,12 +360,12 @@ test.describe.serial('Extensions', () => {
});
});
test('can fetch from external sources', async() => {
const url = 'http://127.0.0.1:6120/LICENSES'; // dashboard
const url = 'http://127.0.0.1:6120/c/local/explorer/node'; // dashboard

await retry(async() => {
const result = evalInView(`ddClient.extension.vm.service.get("${ url }")`);

await expect(result).resolves.toContain('Copyright');
await expect(result).resolves.toContain('<title>Rancher</title>');
});
});
});
Expand Down
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.1
steve: 0.1.0-beta9
rancherDashboard: desktop-v2.7.0.beta.1
rancherDashboard: desktop-v2.11.0.rd2
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 d0cef42

Please sign in to comment.