更换包名

master v1.2.4
liuzhiguo 6 months ago
parent 01fb17858c
commit c344feaa73

@ -37,9 +37,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [1.1.0] - 2019-05-30
### Fixed
- Support for yaml merge keys, by [@bradrydzewski](https://github.com/bradrydzewski).
- Improve how colon characters are escaped, by [@bradrydzewski](https://github.com/bradrydzewski). Issue [#45](https://github.com/drone/drone-yaml/issues/45).
- Improve how pipe and caret characters are escaped, by [@bradrydzewski](https://github.com/bradrydzewski). Issue [#44](https://github.com/drone/drone-yaml/issues/44).
- Error when empty document or missing kind attribute, by [@bradrydzewski](https://github.com/bradrydzewski). Issue [#42](https://github.com/drone/drone-yaml/issues/42).
- Improve how colon characters are escaped, by [@bradrydzewski](https://github.com/bradrydzewski). Issue [#45](https://git.awesome-for.me/liuzhiguo/drone-yaml/issues/45).
- Improve how pipe and caret characters are escaped, by [@bradrydzewski](https://github.com/bradrydzewski). Issue [#44](https://git.awesome-for.me/liuzhiguo/drone-yaml/issues/44).
- Error when empty document or missing kind attribute, by [@bradrydzewski](https://github.com/bradrydzewski). Issue [#42](https://git.awesome-for.me/liuzhiguo/drone-yaml/issues/42).
## [1.0.9] - 2019-05-20
### Added

@ -16,7 +16,7 @@ Drone Non-Commercial License
Contributor: Drone.IO, Inc.
Source Code: https://github.com/drone/drone-yaml
Source Code: https://git.awesome-for.me/liuzhiguo/drone-yaml
This license lets you use and share this software for free,
with a trial-length time limit on commercial use. Specifically:

@ -1,4 +1,4 @@
Package yaml provides a parser, linter, formatter and compiler for the [drone](https://github.com/drone/drone) configuration file format.
Package yaml provides a parser, linter, formatter and compiler for the [drone](https://git.awesome-for.me/liuzhiguo/drone) configuration file format.
Lint the yaml file:

@ -1,19 +1,24 @@
module github.com/drone/drone-yaml
module git.awesome-for.me/liuzhiguo/drone-yaml
go 1.20
require (
github.com/alecthomas/template v0.0.0-20160405071501-a0175ee3bccc // indirect
github.com/alecthomas/units v0.0.0-20151022065526-2efee857e7cf // indirect
github.com/bmatcuk/doublestar v1.1.1
git.awesome-for.me/liuzhiguo/drone-runtime v1.1.1
github.com/bmatcuk/doublestar v1.3.4
github.com/buildkite/yaml v2.1.0+incompatible
github.com/docker/distribution v2.7.1+incompatible
github.com/docker/go-units v0.3.3
github.com/drone/drone-runtime v1.0.7-0.20190729202838-87c84080f4a1
github.com/docker/distribution v2.8.3+incompatible
github.com/docker/go-units v0.5.0
github.com/ghodss/yaml v1.0.0
github.com/google/go-cmp v0.2.0
github.com/kr/pretty v0.1.0 // indirect
github.com/sergi/go-diff v1.0.0
github.com/stretchr/testify v1.3.0 // indirect
github.com/google/go-cmp v0.6.0
github.com/sergi/go-diff v1.3.1
github.com/vinzenz/yaml v0.0.0-20170920082545-91409cdd725d
gopkg.in/alecthomas/kingpin.v2 v2.2.6
gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127 // indirect
)
require (
github.com/alecthomas/template v0.0.0-20190718012654-fb15b899a751 // indirect
github.com/alecthomas/units v0.0.0-20211218093645-b94a6e3cc137 // indirect
github.com/distribution/reference v0.5.0 // indirect
github.com/opencontainers/go-digest v1.0.0 // indirect
gopkg.in/yaml.v2 v2.4.0 // indirect
)

128
go.sum

@ -1,117 +1,47 @@
docker.io/go-docker v1.0.0 h1:VdXS/aNYQxyA9wdLD5z8Q8Ro688/hG8HzKxYVEVbE6s=
docker.io/go-docker v1.0.0/go.mod h1:7tiAn5a0LFmjbPDbyTPOaTTOuG1ZRNXdPA6RvKY+fpY=
github.com/Microsoft/go-winio v0.4.11/go.mod h1:VhR8bwka0BXejwEJY73c50VrPtXAaKcyvVC4A4RozmA=
github.com/alecthomas/template v0.0.0-20160405071501-a0175ee3bccc h1:cAKDfWh5VpdgMhJosfJnn5/FoN2SRZ4p7fJNX58YPaU=
github.com/alecthomas/template v0.0.0-20160405071501-a0175ee3bccc/go.mod h1:LOuyumcjzFXgccqObfd/Ljyb9UuFJ6TxHnclSeseNhc=
github.com/alecthomas/units v0.0.0-20151022065526-2efee857e7cf h1:qet1QNfXsQxTZqLG4oE62mJzwPIB8+Tee4RNCL9ulrY=
github.com/alecthomas/units v0.0.0-20151022065526-2efee857e7cf/go.mod h1:ybxpYRFXyAe+OPACYpWeL0wqObRcbAqCMya13uyzqw0=
github.com/bmatcuk/doublestar v1.1.1 h1:YroD6BJCZBYx06yYFEWvUuKVWQn3vLLQAVmDmvTSaiQ=
github.com/bmatcuk/doublestar v1.1.1/go.mod h1:UD6OnuiIn0yFxxA2le/rnRU1G4RaI4UvFv1sNto9p6w=
git.awesome-for.me/liuzhiguo/drone-runtime v1.1.1 h1:lOrNqBe8YdXE/iHSB7zitM1n0adLf4+m/3/JueiyQvo=
git.awesome-for.me/liuzhiguo/drone-runtime v1.1.1/go.mod h1:jav/R/Sufv4m3NwgdroBPSNXOroRB8GWHT94VIKesrM=
github.com/alecthomas/template v0.0.0-20190718012654-fb15b899a751 h1:JYp7IbQjafoB+tBA3gMyHYHrpOtNuDiK/uB5uXxq5wM=
github.com/alecthomas/template v0.0.0-20190718012654-fb15b899a751/go.mod h1:LOuyumcjzFXgccqObfd/Ljyb9UuFJ6TxHnclSeseNhc=
github.com/alecthomas/units v0.0.0-20211218093645-b94a6e3cc137 h1:s6gZFSlWYmbqAuRjVTiNNhvNRfY2Wxp9nhfyel4rklc=
github.com/alecthomas/units v0.0.0-20211218093645-b94a6e3cc137/go.mod h1:OMCwj8VM1Kc9e19TLln2VL61YJF0x1XFtfdL4JdbSyE=
github.com/bmatcuk/doublestar v1.3.4 h1:gPypJ5xD31uhX6Tf54sDPUOBXTqKH4c9aPY66CyQrS0=
github.com/bmatcuk/doublestar v1.3.4/go.mod h1:wiQtGV+rzVYxB7WIlirSN++5HPtPlXEo9MEoZQC/PmE=
github.com/buildkite/yaml v2.1.0+incompatible h1:xirI+ql5GzfikVNDmt+yeiXpf/v1Gt03qXTtT5WXdr8=
github.com/buildkite/yaml v2.1.0+incompatible/go.mod h1:UoU8vbcwu1+vjZq01+KrpSeLBgQQIjL/H7Y6KwikUrI=
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/docker/distribution v0.0.0-20170726174610-edc3ab29cdff/go.mod h1:J2gT2udsDAN96Uj4KfcMRqY0/ypR+oyYUYmja8H+y+w=
github.com/docker/distribution v2.7.1+incompatible h1:a5mlkVzth6W5A4fOsS3D2EO5BUmsJpcB+cRlLU7cSug=
github.com/docker/distribution v2.7.1+incompatible/go.mod h1:J2gT2udsDAN96Uj4KfcMRqY0/ypR+oyYUYmja8H+y+w=
github.com/docker/go-connections v0.3.0 h1:3lOnM9cSzgGwx8VfK/NGOW5fLQ0GjIlCkaktF+n1M6o=
github.com/docker/go-connections v0.3.0/go.mod h1:Gbd7IOopHjR8Iph03tsViu4nIes5XhDvyHbTtUxmeec=
github.com/docker/go-units v0.3.3 h1:Xk8S3Xj5sLGlG5g67hJmYMmUgXv5N4PhkjJHHqrwnTk=
github.com/docker/go-units v0.3.3/go.mod h1:fgPhTUdO+D/Jk86RDLlptpiXQzgHJF7gydDDbaIK4Dk=
github.com/drone/drone-runtime v1.0.5 h1:fEdUvKd5+l8BQaPXntjUtSIVLvGWo3Blgb/zrXLKJoM=
github.com/drone/drone-runtime v1.0.5/go.mod h1:+osgwGADc/nyl40J0fdsf8Z09bgcBZXvXXnLOY48zYs=
github.com/drone/drone-runtime v1.0.7-0.20190729070836-38f28a11afe8 h1:lcS2z7+ZySmVM+XJJjBZZPTcn6IB1BSfLWtDGyco3xo=
github.com/drone/drone-runtime v1.0.7-0.20190729070836-38f28a11afe8/go.mod h1:+osgwGADc/nyl40J0fdsf8Z09bgcBZXvXXnLOY48zYs=
github.com/drone/drone-runtime v1.0.7-0.20190729202838-87c84080f4a1 h1:9xaZM1rM1/0FqFEijgnFcvWd0vRqOw+iO1YR7pBgPCw=
github.com/drone/drone-runtime v1.0.7-0.20190729202838-87c84080f4a1/go.mod h1:+osgwGADc/nyl40J0fdsf8Z09bgcBZXvXXnLOY48zYs=
github.com/drone/signal v1.0.0 h1:NrnM2M/4yAuU/tXs6RP1a1ZfxnaHwYkd0kJurA1p6uI=
github.com/drone/signal v1.0.0/go.mod h1:S8t92eFT0g4WUgEc/LxG+LCuiskpMNsG0ajAMGnyZpc=
github.com/distribution/reference v0.5.0 h1:/FUIFXtfc/x2gpa5/VGfiGLuOIdYa1t65IKK2OFGvA0=
github.com/distribution/reference v0.5.0/go.mod h1:BbU0aIcezP1/5jX/8MP0YiH4SdvB5Y4f/wlDRiLyi3E=
github.com/docker/distribution v2.8.3+incompatible h1:AtKxIZ36LoNK51+Z6RpzLpddBirtxJnzDrHLEKxTAYk=
github.com/docker/distribution v2.8.3+incompatible/go.mod h1:J2gT2udsDAN96Uj4KfcMRqY0/ypR+oyYUYmja8H+y+w=
github.com/docker/go-units v0.5.0 h1:69rxXcBk27SvSaaxTtLh/8llcHD8vYHT7WSdRZ/jvr4=
github.com/docker/go-units v0.5.0/go.mod h1:fgPhTUdO+D/Jk86RDLlptpiXQzgHJF7gydDDbaIK4Dk=
github.com/ghodss/yaml v1.0.0 h1:wQHKEahhL6wmXdzwWG11gIVCkOv05bNOh+Rxn0yngAk=
github.com/ghodss/yaml v1.0.0/go.mod h1:4dBDuWmgqj2HViK6kFavaiC9ZROes6MMH2rRYeMEF04=
github.com/gogo/protobuf v0.0.0-20170307180453-100ba4e88506 h1:zDlw+wgyXdfkRuvFCdEDUiPLmZp2cvf/dWHazY0a5VM=
github.com/gogo/protobuf v0.0.0-20170307180453-100ba4e88506/go.mod h1:r8qH/GZQm5c6nD/R0oafs1akxWv10x8SbQlK7atdtwQ=
github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b h1:VKtxabqXZkF25pY9ekfRL6a582T4P37/31XEstQ5p58=
github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b/go.mod h1:SBH7ygxi8pfUlaOkMMuAQtPIUF8ecWP5IEl/CR7VP2Q=
github.com/golang/mock v1.1.1/go.mod h1:oTYuIxOrZwtPieC+H1uAHpcLFnEyAGVDL/k47Jfbm0A=
github.com/golang/protobuf v1.2.0 h1:P3YflyNX/ehuJFLhxviNdFxQPkGK5cDcApsge1SqnvM=
github.com/golang/protobuf v1.2.0/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U=
github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c h1:964Od4U6p2jUkFxvCydnIczKteheJEzHRToSGK3Bnlw=
github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c/go.mod h1:lNA+9X1NB3Zf8V7Ke586lFgjr2dZNuvo3lPJSGZ5JPQ=
github.com/google/go-cmp v0.2.0 h1:+dTQ8DZQJz0Mb/HjFlkptS1FeQ4cWSnN941F8aEG4SQ=
github.com/google/go-cmp v0.2.0/go.mod h1:oXzfMopK8JAjlY9xF4vHSVASa0yLyX7SntLO5aqRK0M=
github.com/google/gofuzz v0.0.0-20170612174753-24818f796faf h1:+RRA9JqSOZFfKrOeqr2z77+8R2RKyh8PG66dcu1V0ck=
github.com/google/gofuzz v0.0.0-20170612174753-24818f796faf/go.mod h1:HP5RmnzzSNb993RKQDq4+1A4ia9nllfqcQFTQJedwGI=
github.com/googleapis/gnostic v0.2.0 h1:l6N3VoaVzTncYYW+9yOz2LJJammFZGBO13sqgEhpy9g=
github.com/googleapis/gnostic v0.2.0/go.mod h1:sJBsCZ4ayReDTBIg8b9dl28c5xFWyhBTVRp3pOg5EKY=
github.com/gregjones/httpcache v0.0.0-20181110185634-c63ab54fda8f h1:ShTPMJQes6tubcjzGMODIVG5hlrCeImaBnZzKF2N8SM=
github.com/gregjones/httpcache v0.0.0-20181110185634-c63ab54fda8f/go.mod h1:FecbI9+v66THATjSRHfNgh1IVFe/9kFxbXtjV0ctIMA=
github.com/hashicorp/golang-lru v0.5.0 h1:CL2msUPvZTLb5O648aiLNJw3hnBxN2+1Jq8rCOH9wdo=
github.com/hashicorp/golang-lru v0.5.0/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ4Ao+sR/qLZy8=
github.com/imdario/mergo v0.3.6 h1:xTNEAn+kxVO7dTZGu0CegyqKZmoWFI0rF8UxjlB2d28=
github.com/imdario/mergo v0.3.6/go.mod h1:2EnlNZ0deacrJVfApfmtdGgDfMuh/nq6Ok1EcJh5FfA=
github.com/json-iterator/go v1.1.5 h1:gL2yXlmiIo4+t+y32d4WGwOjKGYcGOuyrg46vadswDE=
github.com/json-iterator/go v1.1.5/go.mod h1:+SdeFBvtyEkXs7REEP0seUULqWtbJapLOCVDaaPEHmU=
github.com/google/go-cmp v0.6.0 h1:ofyhxvXcZhMsU5ulbFiLKl/XBFqE1GSq7atu8tAmTRI=
github.com/google/go-cmp v0.6.0/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY=
github.com/kr/pretty v0.1.0 h1:L/CwN0zerZDmRFUapSPitk6f+Q3+0za1rQkzVuMiMFI=
github.com/kr/pretty v0.1.0/go.mod h1:dAy3ld7l9f0ibDNOQOHHMYYIIbhfbHSm3C4ZsoJORNo=
github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ=
github.com/kr/text v0.1.0 h1:45sCR5RtlFHMR4UwH9sdQ5TC8v0qDQCHnXt+kaKSTVE=
github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI=
github.com/mattn/go-isatty v0.0.4 h1:bnP0vzxcAdeI1zdubAl5PjU6zsERjGZb7raWodagDYs=
github.com/mattn/go-isatty v0.0.4/go.mod h1:M+lRXTBqGeGNdLjl/ufCoiOlB5xdOkqRJdNxMWT7Zi4=
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd h1:TRLaZ9cD/w8PVh93nsPXa1VrQ6jlwL5oN8l14QlcNfg=
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd/go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q=
github.com/modern-go/reflect2 v0.0.0-20180701023420-4b7aa43c6742 h1:Esafd1046DLDQ0W1YjYsBW+p8U2u7vzgW2SQVmlNazg=
github.com/modern-go/reflect2 v0.0.0-20180701023420-4b7aa43c6742/go.mod h1:bx2lNnkwVCuqBIxFjflWJWanXIb3RllmbCylyMrvgv0=
github.com/natessilva/dag v0.0.0-20180124060714-7194b8dcc5c4 h1:dnMxwus89s86tI8rcGVp2HwZzlz7c5o92VOy7dSckBQ=
github.com/natessilva/dag v0.0.0-20180124060714-7194b8dcc5c4/go.mod h1:cojhOHk1gbMeklOyDP2oKKLftefXoJreOQGOrXk+Z38=
github.com/opencontainers/go-digest v1.0.0-rc1 h1:WzifXhOVOEOuFYOJAW6aQqW0TooG2iki3E3Ii+WN7gQ=
github.com/opencontainers/go-digest v1.0.0-rc1/go.mod h1:cMLVZDEM3+U2I4VmLI6N8jQYUd2OVphdqWwCJHrFt2s=
github.com/opencontainers/image-spec v1.0.1 h1:JMemWkRwHx4Zj+fVxWoMCFm/8sYGGrUVojFA6h/TRcI=
github.com/opencontainers/image-spec v1.0.1/go.mod h1:BtxoFyWECRxE4U/7sNtV5W15zMzWCbyJoFRP3s7yZA0=
github.com/petar/GoLLRB v0.0.0-20130427215148-53be0d36a84c/go.mod h1:HUpKUBZnpzkdx0kD/+Yfuft+uD3zHGtXF/XJB14TUr4=
github.com/peterbourgon/diskv v2.0.1+incompatible h1:UBdAOUP5p4RWqPBg048CAvpKN+vxiaj6gdUUzhl4XmI=
github.com/peterbourgon/diskv v2.0.1+incompatible/go.mod h1:uqqh8zWWbv1HBMNONnaR/tNboyR3/BZd58JJSHlUSCU=
github.com/pkg/errors v0.8.0 h1:WdK/asTD0HN+q6hsWO3/vpuAkAr+tw6aNJNDFFf0+qw=
github.com/pkg/errors v0.8.0/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0=
github.com/opencontainers/go-digest v1.0.0 h1:apOUWs51W5PlhuyGyz9FCeeBIOUDA/6nW8Oi/yOhh5U=
github.com/opencontainers/go-digest v1.0.0/go.mod h1:0JzlMkj0TRzQZfJkVvzbP0HBR3IKzErnv2BNG4W4MAM=
github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
github.com/sergi/go-diff v1.0.0 h1:Kpca3qRNrduNnOQeazBd0ysaKrUJiIuISHxogkT9RPQ=
github.com/sergi/go-diff v1.0.0/go.mod h1:0CfEIISq7TuYL3j771MWULgwwjU+GofnZX9QAmXWZgo=
github.com/spf13/pflag v1.0.3 h1:zPAT6CGy6wXeQ7NtTnaTerfKOsV6V6F8agHXFiazDkg=
github.com/spf13/pflag v1.0.3/go.mod h1:DYY7MBk1bdzusC3SYhjObp+wFpr4gzcvqqNjLnInEg4=
github.com/sergi/go-diff v1.3.1 h1:xkr+Oxo4BOQKmkn/B9eMK0g5Kg/983T9DqqPHwYqD+8=
github.com/sergi/go-diff v1.3.1/go.mod h1:aMJSSKb2lpPvRNec0+w3fl7LP9IOFzdc9Pa4NFbPK1I=
github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI=
github.com/stretchr/testify v1.4.0 h1:2E4SXV/wtOkTonXsotYi4li6zVWxYlZuYNCXe9XRJyk=
github.com/stretchr/testify v1.4.0/go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81PSLYec5m4=
github.com/vinzenz/yaml v0.0.0-20170920082545-91409cdd725d h1:3wDi6J5APMqaHBVPuVd7RmHD2gRTfqbdcVSpCNoUWtk=
github.com/vinzenz/yaml v0.0.0-20170920082545-91409cdd725d/go.mod h1:mb5taDqMnJiZNRQ3+02W2IFG+oEz1+dTuCXkp4jpkfo=
golang.org/x/crypto v0.0.0-20181203042331-505ab145d0a9 h1:mKdxBk7AujPs8kU4m80U72y/zjbZ3UcXC7dClwKbUI0=
golang.org/x/crypto v0.0.0-20181203042331-505ab145d0a9/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4=
golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
golang.org/x/net v0.0.0-20181005035420-146acd28ed58 h1:otZG8yDCO4LVps5+9bxOeNiCvgmOyt96J3roHTYs7oE=
golang.org/x/net v0.0.0-20181005035420-146acd28ed58/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
golang.org/x/oauth2 v0.0.0-20181203162652-d668ce993890 h1:uESlIz09WIHT2I+pasSXcpLYqYK8wHcdCetU3VuMBJE=
golang.org/x/oauth2 v0.0.0-20181203162652-d668ce993890/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U=
golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f h1:wMNYb4v58l5UBM7MYRLPG6ZhfOqbKu7X5eyFl8ZhKvA=
golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
golang.org/x/sys v0.0.0-20181005133103-4497e2df6f9e h1:EfdBzeKbFSvOjoIqSZcfS8wp0FBLokGBEs9lz1OtSg0=
golang.org/x/sys v0.0.0-20181005133103-4497e2df6f9e/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
golang.org/x/text v0.3.0 h1:g61tztE5qeGQ89tm6NTjjM9VPIm088od1l6aSorWRWg=
golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
golang.org/x/time v0.0.0-20181108054448-85acf8d2951c h1:fqgJT0MGcGpPgpWU7VRdRjuArfcOvC4AoJmILihzhDg=
golang.org/x/time v0.0.0-20181108054448-85acf8d2951c/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ=
google.golang.org/appengine v1.3.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4=
gopkg.in/alecthomas/kingpin.v2 v2.2.6 h1:jMFz6MfLP0/4fUyZle81rXUoxOBFi19VUFKVDOQfozc=
gopkg.in/alecthomas/kingpin.v2 v2.2.6/go.mod h1:FMv+mEhP44yOT+4EoQTLFTRgOQ1FBLkstjWtayDeSgw=
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
gopkg.in/inf.v0 v0.9.1 h1:73M5CoZyi3ZLMOyDlQh031Cx6N9NDJ2Vvfl76EDAgDc=
gopkg.in/inf.v0 v0.9.1/go.mod h1:cWUDdTG/fYaXco+Dcufb5Vnc6Gp2YChqWtbxRZE0mXw=
gopkg.in/yaml.v2 v2.2.2 h1:ZCJp+EgiOT7lHqUV2J862kp8Qj64Jo6az82+3Td9dZw=
gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 h1:YR8cESwS4TdDjEe65xsg0ogRM/Nc3DYOhEAlW+xobZo=
gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI=
k8s.io/api v0.0.0-20181130031204-d04500c8c3dd h1:5aHsneN62ehs/tdtS9tWZlhVk68V7yms/Qw7nsGmvCA=
k8s.io/api v0.0.0-20181130031204-d04500c8c3dd/go.mod h1:iuAfoD4hCxJ8Onx9kaTIt30j7jUFS00AXQi6QMi99vA=
k8s.io/apimachinery v0.0.0-20181201231028-18a5ff3097b4 h1:JbAkABSztlJL76bNqKsGGBXf9++ZHClITsuRKrZ8wfw=
k8s.io/apimachinery v0.0.0-20181201231028-18a5ff3097b4/go.mod h1:ccL7Eh7zubPUSh9A3USN90/OzHNSVN6zxzde07TDCL0=
k8s.io/client-go v9.0.0+incompatible h1:2kqW3X2xQ9SbFvWZjGEHBLlWc1LG9JIJNXWkuqwdZ3A=
k8s.io/client-go v9.0.0+incompatible/go.mod h1:7vJpHMYJwNQCWgzmNV+VYUl1zCObLyodBc8nIyt8L5s=
k8s.io/klog v0.1.0 h1:I5HMfc/DtuVaGR1KPwUrTc476K8NCqNBldC7H4dYEzk=
k8s.io/klog v0.1.0/go.mod h1:Gq+BEi5rUBO/HRz0bTSXDUcqjScdoY3a9IHpCEIOOfk=
sigs.k8s.io/yaml v1.1.0 h1:4A07+ZFc2wgJwo8YNlQpr1rVlgUDlxXHhPJciaPY5gs=
sigs.k8s.io/yaml v1.1.0/go.mod h1:UJmg0vDUVViEyp3mgSv9WPwZCDxu4rQW1olrI1uml+o=
gopkg.in/yaml.v2 v2.4.0 h1:D8xgwECY7CYvx+Y2n4sBz93Jn9JRvxdiyyo8CTfuKaY=
gopkg.in/yaml.v2 v2.4.0/go.mod h1:RDklbk79AGWmwhnvt/jBztapEOGDOx6ZbXqjP6csGnQ=

@ -25,14 +25,14 @@ import (
"os"
"strings"
"github.com/drone/drone-runtime/engine"
"github.com/drone/drone-yaml/yaml"
"github.com/drone/drone-yaml/yaml/compiler"
"github.com/drone/drone-yaml/yaml/compiler/transform"
"github.com/drone/drone-yaml/yaml/converter"
"github.com/drone/drone-yaml/yaml/linter"
"github.com/drone/drone-yaml/yaml/pretty"
"github.com/drone/drone-yaml/yaml/signer"
"git.awesome-for.me/liuzhiguo/drone-runtime/engine"
"git.awesome-for.me/liuzhiguo/drone-yaml/yaml"
"git.awesome-for.me/liuzhiguo/drone-yaml/yaml/compiler"
"git.awesome-for.me/liuzhiguo/drone-yaml/yaml/compiler/transform"
"git.awesome-for.me/liuzhiguo/drone-yaml/yaml/converter"
"git.awesome-for.me/liuzhiguo/drone-yaml/yaml/linter"
"git.awesome-for.me/liuzhiguo/drone-yaml/yaml/pretty"
"git.awesome-for.me/liuzhiguo/drone-yaml/yaml/signer"
"gopkg.in/alecthomas/kingpin.v2"
)

@ -17,9 +17,9 @@ package compiler
import (
"strconv"
"github.com/drone/drone-runtime/engine"
"github.com/drone/drone-yaml/yaml"
"github.com/drone/drone-yaml/yaml/compiler/internal/rand"
"git.awesome-for.me/liuzhiguo/drone-runtime/engine"
"git.awesome-for.me/liuzhiguo/drone-yaml/yaml"
"git.awesome-for.me/liuzhiguo/drone-yaml/yaml/compiler/internal/rand"
)
// default name of the clone step.

@ -7,8 +7,8 @@ package compiler
import (
"testing"
"github.com/drone/drone-runtime/engine"
"github.com/drone/drone-yaml/yaml"
"git.awesome-for.me/liuzhiguo/drone-runtime/engine"
"git.awesome-for.me/liuzhiguo/drone-yaml/yaml"
)
func TestCloneImage(t *testing.T) {

@ -15,10 +15,10 @@
package compiler
import (
"github.com/drone/drone-runtime/engine"
"github.com/drone/drone-yaml/yaml"
"github.com/drone/drone-yaml/yaml/compiler/image"
"github.com/drone/drone-yaml/yaml/compiler/internal/rand"
"git.awesome-for.me/liuzhiguo/drone-runtime/engine"
"git.awesome-for.me/liuzhiguo/drone-yaml/yaml"
"git.awesome-for.me/liuzhiguo/drone-yaml/yaml/compiler/image"
"git.awesome-for.me/liuzhiguo/drone-yaml/yaml/compiler/internal/rand"
)
// A Compiler compiles the pipeline configuration to an

@ -17,8 +17,8 @@ package compiler
import (
"strings"
"github.com/drone/drone-runtime/engine"
"github.com/drone/drone-yaml/yaml"
"git.awesome-for.me/liuzhiguo/drone-runtime/engine"
"git.awesome-for.me/liuzhiguo/drone-yaml/yaml"
)
func toIgnoreErr(from *yaml.Container) bool {

@ -7,8 +7,8 @@ package compiler
import (
"testing"
"github.com/drone/drone-runtime/engine"
"github.com/drone/drone-yaml/yaml"
"git.awesome-for.me/liuzhiguo/drone-runtime/engine"
"git.awesome-for.me/liuzhiguo/drone-yaml/yaml"
"github.com/google/go-cmp/cmp"
)

@ -15,8 +15,8 @@
package compiler
import (
"github.com/drone/drone-yaml/yaml"
"github.com/drone/drone-yaml/yaml/compiler/image"
"git.awesome-for.me/liuzhiguo/drone-yaml/yaml"
"git.awesome-for.me/liuzhiguo/drone-yaml/yaml/compiler/image"
)
// DindFunc is a helper function that returns true

@ -7,7 +7,7 @@ package compiler
import (
"testing"
"github.com/drone/drone-yaml/yaml"
"git.awesome-for.me/liuzhiguo/drone-yaml/yaml"
)
func TestDind(t *testing.T) {

@ -19,9 +19,9 @@ import (
"fmt"
"strings"
"github.com/drone/drone-runtime/engine"
"github.com/drone/drone-yaml/yaml"
"github.com/drone/drone-yaml/yaml/compiler/internal/rand"
"git.awesome-for.me/liuzhiguo/drone-runtime/engine"
"git.awesome-for.me/liuzhiguo/drone-yaml/yaml"
"git.awesome-for.me/liuzhiguo/drone-yaml/yaml/compiler/internal/rand"
)
func setupScript(spec *engine.Spec, dst *engine.Step, src *yaml.Container) {

@ -20,8 +20,8 @@ import (
"fmt"
"strings"
"github.com/drone/drone-runtime/engine"
"github.com/drone/drone-yaml/yaml"
"git.awesome-for.me/liuzhiguo/drone-runtime/engine"
"git.awesome-for.me/liuzhiguo/drone-yaml/yaml"
)
func setupScriptWin(spec *engine.Spec, dst *engine.Step, src *yaml.Container) {

@ -14,7 +14,7 @@
package compiler
import "github.com/drone/drone-yaml/yaml"
import "git.awesome-for.me/liuzhiguo/drone-yaml/yaml"
// SkipData provides build metadata use to determine if a
// pipeline step should be skipped.

@ -7,7 +7,7 @@ package compiler
import (
"testing"
"github.com/drone/drone-yaml/yaml"
"git.awesome-for.me/liuzhiguo/drone-yaml/yaml"
)
func TestSkipFunc(t *testing.T) {

@ -17,10 +17,10 @@ package compiler
import (
"strings"
"github.com/drone/drone-runtime/engine"
"github.com/drone/drone-yaml/yaml"
"github.com/drone/drone-yaml/yaml/compiler/image"
"github.com/drone/drone-yaml/yaml/compiler/internal/rand"
"git.awesome-for.me/liuzhiguo/drone-runtime/engine"
"git.awesome-for.me/liuzhiguo/drone-yaml/yaml"
"git.awesome-for.me/liuzhiguo/drone-yaml/yaml/compiler/image"
"git.awesome-for.me/liuzhiguo/drone-yaml/yaml/compiler/internal/rand"
)
func createStep(spec *engine.Spec, src *yaml.Container) *engine.Step {
@ -88,7 +88,7 @@ func createStep(spec *engine.Spec, src *yaml.Container) *engine.Step {
// appends the environment variables to the
// container definition.
for key, value := range src.Environment {
// fix https://github.com/drone/drone-yaml/issues/13
// fix https://git.awesome-for.me/liuzhiguo/drone-yaml/issues/13
if value == nil {
continue
}
@ -106,7 +106,7 @@ func createStep(spec *engine.Spec, src *yaml.Container) *engine.Step {
// appends the settings variables to the
// container definition.
for key, value := range src.Settings {
// fix https://github.com/drone/drone-yaml/issues/13
// fix https://git.awesome-for.me/liuzhiguo/drone-yaml/issues/13
if value == nil {
continue
}

@ -14,7 +14,7 @@
package transform
import "github.com/drone/drone-runtime/engine"
import "git.awesome-for.me/liuzhiguo/drone-runtime/engine"
// WithAuths is a transform function that adds a set
// of global registry credentials to the container.

@ -7,7 +7,7 @@ package transform
import (
"testing"
"github.com/drone/drone-runtime/engine"
"git.awesome-for.me/liuzhiguo/drone-runtime/engine"
"github.com/google/go-cmp/cmp"
)

@ -14,7 +14,7 @@
package transform
import "github.com/drone/drone-runtime/engine"
import "git.awesome-for.me/liuzhiguo/drone-runtime/engine"
// Combine is a transform function that combines
// one or many transform functions.

@ -7,7 +7,7 @@ package transform
import (
"testing"
"github.com/drone/drone-runtime/engine"
"git.awesome-for.me/liuzhiguo/drone-runtime/engine"
"github.com/google/go-cmp/cmp"
)

@ -14,7 +14,7 @@
package transform
import "github.com/drone/drone-runtime/engine"
import "git.awesome-for.me/liuzhiguo/drone-runtime/engine"
// WithEnviron is a transform function that adds a set
// of environment variables to each container.

@ -7,7 +7,7 @@ package transform
import (
"testing"
"github.com/drone/drone-runtime/engine"
"git.awesome-for.me/liuzhiguo/drone-runtime/engine"
"github.com/google/go-cmp/cmp"
)

@ -14,7 +14,7 @@
package transform
import "github.com/drone/drone-runtime/engine"
import "git.awesome-for.me/liuzhiguo/drone-runtime/engine"
// Include is a transform function that limits the
// pipeline execution to a whitelist of named steps.

@ -7,7 +7,7 @@ package transform
import (
"testing"
"github.com/drone/drone-runtime/engine"
"git.awesome-for.me/liuzhiguo/drone-runtime/engine"
)
func TestInclude(t *testing.T) {

@ -14,7 +14,7 @@
package transform
import "github.com/drone/drone-runtime/engine"
import "git.awesome-for.me/liuzhiguo/drone-runtime/engine"
// WithLables is a transform function that adds a set
// of labels to each resource.

@ -7,7 +7,7 @@ package transform
import (
"testing"
"github.com/drone/drone-runtime/engine"
"git.awesome-for.me/liuzhiguo/drone-runtime/engine"
"github.com/google/go-cmp/cmp"
)

@ -14,7 +14,7 @@
package transform
import "github.com/drone/drone-runtime/engine"
import "git.awesome-for.me/liuzhiguo/drone-runtime/engine"
// WithLimits is a transform function that applies
// resource limits to the container processes.

@ -17,7 +17,7 @@ package transform
import (
"testing"
"github.com/drone/drone-runtime/engine"
"git.awesome-for.me/liuzhiguo/drone-runtime/engine"
)
func TestWithLimits(t *testing.T) {

@ -17,8 +17,8 @@ package transform
import (
"fmt"
"github.com/drone/drone-runtime/engine"
"github.com/drone/drone-yaml/yaml/compiler/internal/rand"
"git.awesome-for.me/liuzhiguo/drone-runtime/engine"
"git.awesome-for.me/liuzhiguo/drone-yaml/yaml/compiler/internal/rand"
)
const (
@ -43,7 +43,7 @@ func WithNetrc(machine, username, password string) func(*engine.Spec) {
if disableNetrcMount == false {
// Currently file mounts don't seem to work in Windows so environment
// variables are used instead
// FIXME: https://github.com/drone/drone-yaml/issues/20
// FIXME: https://git.awesome-for.me/liuzhiguo/drone-yaml/issues/20
if spec.Platform.OS != "windows" {
netrc := generateNetrc(machine, username, password)
spec.Files = append(spec.Files, &engine.File{

@ -7,7 +7,7 @@ package transform
import (
"testing"
"github.com/drone/drone-runtime/engine"
"git.awesome-for.me/liuzhiguo/drone-runtime/engine"
"github.com/google/go-cmp/cmp"
"github.com/google/go-cmp/cmp/cmpopts"

@ -14,7 +14,7 @@
package transform
import "github.com/drone/drone-runtime/engine"
import "git.awesome-for.me/liuzhiguo/drone-runtime/engine"
// WithNetworks is a transform function that attaches a
// list of user-defined Docker networks to each step.

@ -7,7 +7,7 @@ package transform
import (
"testing"
"github.com/drone/drone-runtime/engine"
"git.awesome-for.me/liuzhiguo/drone-runtime/engine"
"github.com/google/go-cmp/cmp"
)

@ -18,7 +18,7 @@ import (
"os"
"strings"
"github.com/drone/drone-runtime/engine"
"git.awesome-for.me/liuzhiguo/drone-runtime/engine"
)
// WithProxy is a transform function that adds the

@ -8,7 +8,7 @@ import (
"os"
"testing"
"github.com/drone/drone-runtime/engine"
"git.awesome-for.me/liuzhiguo/drone-runtime/engine"
)
func TestWithProxy(t *testing.T) {

@ -15,8 +15,8 @@
package transform
import (
"github.com/drone/drone-runtime/engine"
"github.com/drone/drone-yaml/yaml/compiler/internal/rand"
"git.awesome-for.me/liuzhiguo/drone-runtime/engine"
"git.awesome-for.me/liuzhiguo/drone-yaml/yaml/compiler/internal/rand"
)
// WithSecrets is a transform function that adds a set

@ -7,7 +7,7 @@ package transform
import (
"testing"
"github.com/drone/drone-runtime/engine"
"git.awesome-for.me/liuzhiguo/drone-runtime/engine"
"github.com/google/go-cmp/cmp"
)

@ -17,8 +17,8 @@ package transform
import (
"strings"
"github.com/drone/drone-runtime/engine"
"github.com/drone/drone-yaml/yaml/compiler/internal/rand"
"git.awesome-for.me/liuzhiguo/drone-runtime/engine"
"git.awesome-for.me/liuzhiguo/drone-yaml/yaml/compiler/internal/rand"
)
// WithVolumes is a transform function that adds a set

@ -7,7 +7,7 @@ package transform
import (
"testing"
"github.com/drone/drone-runtime/engine"
"git.awesome-for.me/liuzhiguo/drone-runtime/engine"
)
func TestWithVolumes(t *testing.T) {

@ -18,9 +18,9 @@ import (
unixpath "path"
"strings"
"github.com/drone/drone-runtime/engine"
"github.com/drone/drone-yaml/yaml"
"github.com/drone/drone-yaml/yaml/compiler/internal/rand"
"git.awesome-for.me/liuzhiguo/drone-runtime/engine"
"git.awesome-for.me/liuzhiguo/drone-yaml/yaml"
"git.awesome-for.me/liuzhiguo/drone-yaml/yaml/compiler/internal/rand"
)
const (

@ -7,8 +7,8 @@ package compiler
import (
"testing"
"github.com/drone/drone-runtime/engine"
"github.com/drone/drone-yaml/yaml"
"git.awesome-for.me/liuzhiguo/drone-runtime/engine"
"git.awesome-for.me/liuzhiguo/drone-yaml/yaml"
)
func TestSetupWorkspace(t *testing.T) {

@ -8,8 +8,8 @@ import (
"bytes"
"fmt"
droneyaml "github.com/drone/drone-yaml/yaml"
"github.com/drone/drone-yaml/yaml/pretty"
droneyaml "git.awesome-for.me/liuzhiguo/drone-yaml/yaml"
"git.awesome-for.me/liuzhiguo/drone-yaml/yaml/pretty"
"github.com/buildkite/yaml"
)

@ -2,14 +2,15 @@
// Use of this source code is governed by the Drone Non-Commercial License
// that can be found in the LICENSE file.
//go:build !oss
// +build !oss
package converter
import (
"github.com/drone/drone-yaml/yaml/converter/bitbucket"
"github.com/drone/drone-yaml/yaml/converter/gitlab"
"github.com/drone/drone-yaml/yaml/converter/legacy"
"git.awesome-for.me/liuzhiguo/drone-yaml/yaml/converter/bitbucket"
"git.awesome-for.me/liuzhiguo/drone-yaml/yaml/converter/gitlab"
"git.awesome-for.me/liuzhiguo/drone-yaml/yaml/converter/legacy"
)
// Convert converts the yaml configuration file from

@ -5,7 +5,7 @@
package gitlab
import (
"github.com/drone/drone-yaml/yaml/converter/internal"
"git.awesome-for.me/liuzhiguo/drone-yaml/yaml/converter/internal"
)
type (

@ -8,9 +8,9 @@ import (
"bytes"
"strings"
droneyaml "github.com/drone/drone-yaml/yaml"
"github.com/drone/drone-yaml/yaml/compiler/image"
"github.com/drone/drone-yaml/yaml/pretty"
droneyaml "git.awesome-for.me/liuzhiguo/drone-yaml/yaml"
"git.awesome-for.me/liuzhiguo/drone-yaml/yaml/compiler/image"
"git.awesome-for.me/liuzhiguo/drone-yaml/yaml/pretty"
"github.com/buildkite/yaml"
)

@ -4,7 +4,7 @@
package legacy
import "github.com/drone/drone-yaml/yaml/converter/legacy/internal"
import "git.awesome-for.me/liuzhiguo/drone-yaml/yaml/converter/legacy/internal"
// Convert converts the yaml configuration file from
// the legacy format to the 1.0+ format.

@ -13,9 +13,9 @@ import (
"sort"
"strings"
droneyaml "github.com/drone/drone-yaml/yaml"
"github.com/drone/drone-yaml/yaml/converter/legacy/matrix"
"github.com/drone/drone-yaml/yaml/pretty"
droneyaml "git.awesome-for.me/liuzhiguo/drone-yaml/yaml"
"git.awesome-for.me/liuzhiguo/drone-yaml/yaml/converter/legacy/matrix"
"git.awesome-for.me/liuzhiguo/drone-yaml/yaml/pretty"
"github.com/buildkite/yaml"
)

@ -17,7 +17,7 @@ package linter
import (
"errors"
"github.com/drone/drone-yaml/yaml"
"git.awesome-for.me/liuzhiguo/drone-yaml/yaml"
)
// ErrDuplicatePipelineName is returned when two Pipeline

@ -7,7 +7,7 @@ package linter
import (
"testing"
"github.com/drone/drone-yaml/yaml"
"git.awesome-for.me/liuzhiguo/drone-yaml/yaml"
)
func TestManifest(t *testing.T) {

@ -18,7 +18,7 @@ import (
"errors"
"fmt"
"github.com/drone/drone-yaml/yaml"
"git.awesome-for.me/liuzhiguo/drone-yaml/yaml"
)
var os = map[string]struct{}{

@ -8,7 +8,7 @@ import (
"path"
"testing"
"github.com/drone/drone-yaml/yaml"
"git.awesome-for.me/liuzhiguo/drone-yaml/yaml"
)
func TestLint(t *testing.T) {

@ -17,7 +17,7 @@ package pretty
import (
"sort"
"github.com/drone/drone-yaml/yaml"
"git.awesome-for.me/liuzhiguo/drone-yaml/yaml"
)
// helper function pretty prints the container mapping.

@ -14,7 +14,7 @@
package pretty
import "github.com/drone/drone-yaml/yaml"
import "git.awesome-for.me/liuzhiguo/drone-yaml/yaml"
// helper function pretty prints the cron resource.
func printCron(w writer, v *yaml.Cron) {

@ -15,7 +15,7 @@
package pretty
import (
"github.com/drone/drone-yaml/yaml"
"git.awesome-for.me/liuzhiguo/drone-yaml/yaml"
)
// helper function to pretty print the pipeline resource.

@ -17,7 +17,7 @@ package pretty
import (
"io"
"github.com/drone/drone-yaml/yaml"
"git.awesome-for.me/liuzhiguo/drone-yaml/yaml"
)
// Print pretty prints the manifest.

@ -9,7 +9,7 @@ import (
"io/ioutil"
"testing"
"github.com/drone/drone-yaml/yaml"
"git.awesome-for.me/liuzhiguo/drone-yaml/yaml"
)
//

@ -18,7 +18,7 @@ import (
"sort"
"strings"
"github.com/drone/drone-yaml/yaml"
"git.awesome-for.me/liuzhiguo/drone-yaml/yaml"
)
// TODO consider "!!binary |" for secret value

@ -15,7 +15,7 @@
package pretty
import (
"github.com/drone/drone-yaml/yaml"
"git.awesome-for.me/liuzhiguo/drone-yaml/yaml"
)
// helper function pretty prints the signature resource.

@ -17,7 +17,7 @@ package pretty
import (
"strings"
"github.com/drone/drone-yaml/yaml"
"git.awesome-for.me/liuzhiguo/drone-yaml/yaml"
)
func isPrimative(v interface{}) bool {

@ -20,7 +20,7 @@ import (
"sort"
"strconv"
"github.com/drone/drone-yaml/yaml"
"git.awesome-for.me/liuzhiguo/drone-yaml/yaml"
)
// TODO rename WriteTag to WriteKey

@ -7,7 +7,7 @@ import (
"encoding/hex"
"errors"
"github.com/drone/drone-yaml/yaml"
"git.awesome-for.me/liuzhiguo/drone-yaml/yaml"
goyaml "github.com/buildkite/yaml"
)

@ -9,7 +9,7 @@ platform:
workspace:
base: /go
path: src/github.com/drone/go-yaml
path: src/git.awesome-for.me/liuzhiguo/go-yaml
clone:
disable: true

@ -123,7 +123,7 @@
],
"workspace": {
"base": "/go",
"path": "src/github.com/drone/go-yaml"
"path": "src/git.awesome-for.me/liuzhiguo/go-yaml"
}
}
]
Loading…
Cancel
Save