CI: move grabpl package command to pkg/build (#55651)

* add grabpl package

* update .drone.yml

* resolve lint errors
This commit is contained in:
Kevin Minehart
2022-09-23 11:49:07 -05:00
committed by GitHub
parent f3a307778a
commit 2fadeeff4c
14 changed files with 1467 additions and 11 deletions

View 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
}