Skip to content

Commit

Permalink
remove mincache and move to amd64, arm64 only RPM/DEB builds
Browse files Browse the repository at this point in the history
  • Loading branch information
harshavardhana committed Oct 23, 2024
1 parent c9088d3 commit 9815892
Showing 1 changed file with 4 additions and 16 deletions.
20 changes: 4 additions & 16 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -115,15 +115,13 @@ type downloadsJSON struct {
}

var rpmArchMap = map[string]string{
"amd64": "x86_64",
"ppc64le": "ppc64le",
"arm64": "aarch64",
"amd64": "x86_64",
"arm64": "aarch64",
}

var debArchMap = map[string]string{
"amd64": "amd64",
"arm64": "arm64",
"ppc64le": "ppc64el",
"amd64": "amd64",
"arm64": "arm64",
}

func generateEnterpriseDownloadsJSON(semVerTag string) enterpriseDownloadsJSON {
Expand All @@ -146,7 +144,6 @@ func generateEnterpriseDownloadsJSON(semVerTag string) enterpriseDownloadsJSON {
d.Subscriptions[subscription].Linux["MinIO KMS"] = map[string]downloadJSON{}
d.Subscriptions[subscription].Linux["MinIO Catalog"] = map[string]downloadJSON{}
d.Subscriptions[subscription].Linux["MinIO Firewall"] = map[string]downloadJSON{}
d.Subscriptions[subscription].Linux["MinIO Cache"] = map[string]downloadJSON{}
d.Subscriptions[subscription].Kubernetes["MinIO Enterprise Object Store"] = map[string]downloadJSON{}
}

Expand All @@ -173,15 +170,6 @@ PS> C:\minio.exe server F:\Data --console-address ":9001"`, arch),
tar xvf console.tar.gz
kubectl apply -k console`,
}
d.Subscriptions[subscription].Linux["MinIO Cache"][arch] = downloadJSON{
Bin: &dlInfo{
Download: fmt.Sprintf("https://dl.min.io/enterprise/mincache/release/linux-%s/mincache", arch),
Text: fmt.Sprintf(`wget https://dl.min.io/enterprise/mincache/release/linux-%s/mincache
chmod +x mincache
./mincache serve --config config.yaml`, arch),
Checksum: fmt.Sprintf("https://dl.min.io/enterprise/mincache/release/linux-%s/mincache.sha256sum", arch),
},
}
d.Subscriptions[subscription].Linux["MinIO Firewall"][arch] = downloadJSON{
Bin: &dlInfo{
Download: fmt.Sprintf("https://dl.min.io/enterprise/minwall/release/linux-%s/minwall", arch),
Expand Down

0 comments on commit 9815892

Please sign in to comment.