mirror of
https://github.com/grafana/grafana.git
synced 2025-08-02 17:22:18 +08:00
CI: move grabpl package
command to pkg/build
(#55651)
* add grabpl package * update .drone.yml * resolve lint errors
This commit is contained in:
27
pkg/build/validation/validation.go
Normal file
27
pkg/build/validation/validation.go
Normal file
@ -0,0 +1,27 @@
|
||||
package validation
|
||||
|
||||
import (
|
||||
"context"
|
||||
)
|
||||
|
||||
type ArtifactType int
|
||||
|
||||
const (
|
||||
ArtifactTypeDockerHub ArtifactType = iota
|
||||
ArtifactTypeGCSObject
|
||||
)
|
||||
|
||||
type Artifact struct {
|
||||
Type ArtifactType
|
||||
URL string
|
||||
}
|
||||
|
||||
// ReleaseArtifacts generates a list of release artifacts
|
||||
func ReleaseArtifacts(version string) ([]Artifact, error) {
|
||||
return nil, nil
|
||||
}
|
||||
|
||||
// VerifyRelease tests that a that, given the information, a release will completed wholly and successfully.
|
||||
func VerifyRelease(ctx context.Context, version string) (bool, error) {
|
||||
return false, nil
|
||||
}
|
Reference in New Issue
Block a user