You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
devops/routes/build_project.go

24 lines
482 B

package routes
import (
"zestack.dev/slim"
)
type BuildConfig struct {
Branch string `json:"branch" yaml:"branch"`
Steps []StepConfig `json:"steps" yaml:"steps"`
}
type StepConfig struct {
Name string `json:"name" yaml:"name"`
Run string `json:"run" yaml:"run"`
Env map[string]string `json:"env" yaml:"env"`
}
type VCSConfig struct {
Branch string `json:"branch" yaml:"branch"`
}
func buildProject(c slim.Context) error {
return nil
}