mirror of
https://github.com/buckit-io/buckit.git
synced 2026-09-12 05:49:02 +00:00
15d5f02df7
Automated release pipeline triggered by tag push (RELEASE.YYYY-MM-DDTHH-MM-SSZ): - Multi-platform builds: linux/amd64, linux/arm64, windows/amd64, darwin/arm64 - Minisign binary signing with Buckit keypair - Linux packages (.deb, .rpm, .apk) via pkger - Multi-arch Docker images pushed to ghcr.io and Docker Hub - GitHub Release with all artifacts and auto-generated release notes - Self-update support via GitHub Pages sha256sum pointers - mc admin update works for all platforms (linux, windows, darwin) Code changes: - cmd/update.go: accept 'buckit.' prefix, new pubkey, GitHub Releases URL derivation, platform-aware binary URL construction - cmd/build-constants.go: point default release URL at GitHub Pages - cmd/admin-handlers.go: use getBinaryURL() helper - Dockerfile: rewrite with ubi9/ubi-micro base (no MinIO inheritance) - Remove legacy Dockerfiles (release, hotfix, old_cpu) Docs: - docs/release-process.md: operator guide - docs/release-process-plan.md: implementation plan - docs/self-update-migration.md: self-update technical details
70 lines
2.2 KiB
Go
70 lines
2.2 KiB
Go
// Copyright (c) 2015-2022 MinIO, Inc.
|
||
//
|
||
// This file is part of MinIO Object Storage stack
|
||
//
|
||
// This program is free software: you can redistribute it and/or modify
|
||
// it under the terms of the GNU Affero General Public License as published by
|
||
// the Free Software Foundation, either version 3 of the License, or
|
||
// (at your option) any later version.
|
||
//
|
||
// This program is distributed in the hope that it will be useful
|
||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||
// GNU Affero General Public License for more details.
|
||
//
|
||
// You should have received a copy of the GNU Affero General Public License
|
||
// along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||
|
||
package cmd
|
||
|
||
import "runtime"
|
||
|
||
// DO NOT EDIT THIS FILE DIRECTLY. These are build-time constants
|
||
// set through ‘buildscripts/gen-ldflags.go’.
|
||
var (
|
||
// GOPATH - GOPATH value at the time of build.
|
||
GOPATH = ""
|
||
|
||
// GOROOT - GOROOT value at the time of build.
|
||
GOROOT = ""
|
||
|
||
// Version - version time.RFC3339.
|
||
Version = "DEVELOPMENT.GOGET"
|
||
|
||
// ReleaseTag - release tag in TAG.%Y-%m-%dT%H-%M-%SZ.
|
||
ReleaseTag = "DEVELOPMENT.GOGET"
|
||
|
||
// CommitID - latest commit id.
|
||
CommitID = "DEVELOPMENT.GOGET"
|
||
|
||
// ShortCommitID - first 12 characters from CommitID.
|
||
ShortCommitID = "DEVELOPMENT.GOGET"
|
||
|
||
// CopyrightYear - dynamic value of the copyright end year
|
||
CopyrightYear = "0000"
|
||
|
||
// MinioReleaseTagTimeLayout - release tag time layout.
|
||
MinioReleaseTagTimeLayout = "2006-01-02T15-04-05Z"
|
||
|
||
// MinioOSARCH - OS and ARCH.
|
||
minioOSARCH = runtime.GOOS + "-" + runtime.GOARCH
|
||
|
||
// MinioReleaseBaseURL - release url without os and arch.
|
||
MinioReleaseBaseURL = "https://buckit-io.github.io/buckit/server/buckit/release/"
|
||
|
||
// MinioReleaseURL - release URL.
|
||
MinioReleaseURL = MinioReleaseBaseURL + minioOSARCH + SlashSeparator
|
||
|
||
// MinioStoreName - MinIO store name.
|
||
MinioStoreName = "Buckit"
|
||
|
||
// MinioUAName - MinIO user agent name.
|
||
MinioUAName = "Buckit"
|
||
|
||
// MinioBannerName - MinIO banner name for startup message.
|
||
MinioBannerName = "Buckit Object Storage Server"
|
||
|
||
// MinioLicense - MinIO server license.
|
||
MinioLicense = "GNU AGPLv3 - https://www.gnu.org/licenses/agpl-3.0.html"
|
||
)
|