mirror of
https://github.com/grafana/grafana.git
synced 2026-08-26 21:37:31 -05:00
CI: move grabpl package command to pkg/build (#55651)
* add grabpl package * update .drone.yml * resolve lint errors
This commit is contained in:
@@ -0,0 +1,2 @@
|
||||
// Package validation provides functions and types for validating Grafana releases in both the pre-release and post-release phases.
|
||||
package validation
|
||||
@@ -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