Skip to content
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
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion cmd/pro/login.go
Original file line number Diff line number Diff line change
Expand Up @@ -362,7 +362,7 @@ func login(

var fallbackProvider = `name: devsy-pro
version: v0.0.0
icon: https://devsy.sh/assets/devsy.svg
icon: https://dl.devsy.sh/assets/devsy.svg
description: Devsy Pro
options:
DEVSY_CONFIG:
Expand Down
2 changes: 1 addition & 1 deletion hack/pro/provider.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: devsy-pro
version: ##VERSION##
icon: https://devsy.sh/assets/devsy.svg
icon: https://dl.devsy.sh/assets/devsy.svg
description: Devsy Pro
options:
DEVSY_CONFIG:
Expand Down
5 changes: 4 additions & 1 deletion pkg/config/repo.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,11 @@ const (
// WebsiteBaseURL is the project website used for asset URLs.
WebsiteBaseURL = "https://" + RepoName + ".sh"

// DownloadBaseURL is the object storage host serving release artifacts and image assets.
DownloadBaseURL = "https://dl." + RepoName + ".sh"

// WebsiteAssetsURL is the base URL for icon/image assets.
WebsiteAssetsURL = WebsiteBaseURL + "/assets"
WebsiteAssetsURL = DownloadBaseURL + "/assets"

// AgentDownloadBaseURL is the prefix under which versioned agent binaries are published.
AgentDownloadBaseURL = GitHubReleasesURL + "/download/"
Expand Down
5 changes: 3 additions & 2 deletions pkg/ide/ideparse/parse.go
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ var AllowedIDEs = []AllowedIDE{
Name: config.IDECodeServer,
DisplayName: "code-server",
Options: codeserver.Options,
Icon: "https://raw.githubusercontent.com/coder/code-server/main/src/browser/media/favicon.svg",
Icon: config.WebsiteAssetsURL + "/code-server.svg",
Group: config.IDEGroupPrimary,
},
{
Expand Down Expand Up @@ -228,7 +228,8 @@ var AllowedIDEs = []AllowedIDE{
Name: config.IDEBob,
DisplayName: "IBM Bob",
Options: vscode.Options,
Icon: "https://devsy.sh/assets/bob.svg",
Icon: config.WebsiteAssetsURL + "/bob.svg",
IconDark: config.WebsiteAssetsURL + "/bob_dark.svg",
Group: config.IDEGroupPrimary,
},
}
Expand Down
2 changes: 1 addition & 1 deletion providers/docker/provider.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: docker
version: v1.0.0
icon: https://devsy.sh/assets/docker.svg
icon: https://dl.devsy.sh/assets/docker.svg
home: https://github.com/devsy-org/devsy
description: |-
Devsy on Docker
Expand Down
2 changes: 1 addition & 1 deletion providers/kubernetes/provider.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: kubernetes
version: v1.0.0
icon: https://devsy.sh/assets/kubernetes.svg
icon: https://dl.devsy.sh/assets/kubernetes.svg
home: https://github.com/devsy-org/devsy
description: |-
Devsy on Kubernetes
Expand Down
2 changes: 1 addition & 1 deletion providers/podman/provider.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: podman
version: v1.0.0
icon: https://devsy.sh/assets/podman.svg
icon: https://dl.devsy.sh/assets/podman.svg
home: https://github.com/devsy-org/devsy
description: |-
Devsy on Podman
Expand Down
2 changes: 1 addition & 1 deletion providers/pro/provider.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: devsy-pro
version: v1.0.0
icon: https://devsy.sh/assets/devsy.svg
icon: https://dl.devsy.sh/assets/devsy.svg
home: https://github.com/devsy-org/devsy
description: Devsy Pro
options:
Expand Down
Loading