Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add the unified artifacts manager #157

Merged
merged 7 commits into from
Oct 8, 2023
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
68 changes: 68 additions & 0 deletions pkg/artifacts/constants.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
// Copyright 2023 Greptime Team
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.

package artifacts

const (
// GreptimeChartIndexURL is the URL of the Greptime chart index.
GreptimeChartIndexURL = "https://raw.githubusercontent.com/GreptimeTeam/helm-charts/gh-pages/index.yaml"

// GreptimeChartReleaseDownloadURL is the URL of the Greptime charts that stored in the GitHub release.
GreptimeChartReleaseDownloadURL = "https://github.com/GreptimeTeam/helm-charts/releases/download"

// GreptimeCNCharts is the URL of the Greptime charts that stored in the S3 bucket of the CN region.
GreptimeCNCharts = "https://downloads.greptime.cn/releases/charts"

// GreptimeDBCNBinaries is the URL of the GreptimeDB binaries that stored in the S3 bucket of the CN region.
GreptimeDBCNBinaries = "https://downloads.greptime.cn/releases/greptimedb"

// LatestVersionTag is the tag of the latest version.
LatestVersionTag = "latest"

// EtcdOCIRegistry is the OCI registry of the etcd chart.
EtcdOCIRegistry = "oci://registry-1.docker.io/bitnamicharts/etcd"

// GreptimeGitHubOrg is the GitHub organization of Greptime.
GreptimeGitHubOrg = "GreptimeTeam"

// GreptimeDBGithubRepo is the GitHub repository of GreptimeDB.
GreptimeDBGithubRepo = "greptimedb"

// EtcdGitHubOrg is the GitHub organization of etcd.
EtcdGitHubOrg = "etcd-io"

// EtcdGithubRepo is the GitHub repository of etcd.
EtcdGithubRepo = "etcd"

// GreptimeBinName is the artifact name of greptime.
GreptimeBinName = "greptime"

// EtcdBinName is the artifact name of etcd.
EtcdBinName = "etcd"

// GreptimeDBChartName is the chart name of GreptimeDB.
GreptimeDBChartName = "greptimedb"

// GreptimeDBOperatorChartName is the chart name of GreptimeDB operator.
GreptimeDBOperatorChartName = "greptimedb-operator"

// EtcdChartName is the chart name of etcd.
EtcdChartName = "etcd"

// DefaultEtcdChartVersion is the default etcd chart version.
DefaultEtcdChartVersion = "9.2.0"

// DefaultEtcdBinVersion is the default etcd binary version.
DefaultEtcdBinVersion = "v3.5.7"
)
Loading
Loading