mirror of
https://github.com/thegeeklab/drone-yaml.git
synced 2024-11-22 01:50:40 +00:00
only lint docker pipelines
This commit is contained in:
parent
7441be0ed5
commit
e6f1eaff9d
@ -6,6 +6,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||||||
|
|
||||||
## [Unreleased]
|
## [Unreleased]
|
||||||
|
|
||||||
|
## [1.0.9] - 2019-05-20
|
||||||
|
### Added
|
||||||
|
- Only lint resources of kind pipeline and of type docker, by [@bradrydzewski](https://github.com/bradrydzewski).
|
||||||
|
|
||||||
## [1.0.8] - 2019-04-13
|
## [1.0.8] - 2019-04-13
|
||||||
### Added
|
### Added
|
||||||
- Support Cron job name in When clause, by [@bradrydzewski](https://github.com/bradrydzewski).
|
- Support Cron job name in When clause, by [@bradrydzewski](https://github.com/bradrydzewski).
|
||||||
|
@ -56,9 +56,11 @@ func checkPipelines(manifest *yaml.Manifest, trusted bool) error {
|
|||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
err = checkPipeline(v, trusted)
|
if v.Kind == "pipeline" && (v.Type == "" || v.Type == "docker") {
|
||||||
if err != nil {
|
err = checkPipeline(v, trusted)
|
||||||
return err
|
if err != nil {
|
||||||
|
return err
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user