├── .drone.yml ├── .gitignore ├── CHANGELOG.md ├── LICENSE ├── NOTICE ├── README.md ├── go.mod ├── go.sum ├── main.go ├── samples ├── complex.yml └── simple.yml └── yaml ├── build.go ├── build_test.go ├── compiler ├── clone.go ├── clone_test.go ├── compiler.go ├── convert.go ├── convert_test.go ├── dind.go ├── dind_test.go ├── encode.go ├── encode_test.go ├── image │ ├── image.go │ └── image_test.go ├── internal │ └── rand │ │ └── rand.go ├── script_posix.go ├── script_posix_test.go ├── script_win.go ├── script_win_test.go ├── skip.go ├── skip_test.go ├── step.go ├── transform │ ├── auths.go │ ├── auths_test.go │ ├── combine.go │ ├── combine_test.go │ ├── env.go │ ├── env_test.go │ ├── filter.go │ ├── filter_test.go │ ├── labels.go │ ├── labels_test.go │ ├── limits.go │ ├── limits_test.go │ ├── netrc.go │ ├── netrc_test.go │ ├── network.go │ ├── network_test.go │ ├── proxy.go │ ├── proxy_test.go │ ├── secret.go │ ├── secret_test.go │ ├── volume.go │ └── volume_test.go ├── workspace.go └── workspace_test.go ├── cond.go ├── cond_test.go ├── converter ├── bitbucket │ ├── config.go │ ├── config_test.go │ ├── convert.go │ ├── convert_test.go │ └── testdata │ │ ├── sample1.yaml │ │ ├── sample1.yaml.golden │ │ ├── sample2.yaml │ │ └── sample2.yaml.golden ├── circleci │ ├── config.go │ ├── docker.go │ ├── docker_test.go │ ├── run.go │ ├── run_test.go │ └── testdata │ │ ├── sample1.yml │ │ └── sample1.yml.golden ├── convert.go ├── convert_oss.go ├── convert_oss_test.go ├── convert_test.go ├── gitlab │ ├── config.go │ ├── convert.go │ ├── convert_test.go │ └── testdata │ │ ├── example1.yml │ │ ├── example1.yml.golden │ │ ├── example2.yml │ │ ├── example2.yml.golden │ │ ├── example3.yml │ │ ├── example3.yml.golden │ │ ├── example4.yml │ │ └── example4.yml.golden ├── internal │ ├── string_slice.go │ └── string_slice_test.go ├── legacy │ ├── convert.go │ ├── internal │ │ ├── config.go │ │ ├── config_test.go │ │ ├── constraint.go │ │ ├── container.go │ │ ├── container_test.go │ │ ├── secret.go │ │ ├── secret_test.go │ │ ├── slice_map.go │ │ ├── slice_map_test.go │ │ ├── string_slice.go │ │ ├── string_slice_test.go │ │ ├── testdata │ │ │ ├── branches.yml │ │ │ ├── branches.yml.golden │ │ │ ├── matrix_1.yml │ │ │ ├── matrix_1.yml.golden │ │ │ ├── matrix_2.yml │ │ │ ├── matrix_2.yml.golden │ │ │ ├── simple.yml │ │ │ ├── simple.yml.golden │ │ │ ├── tags.yml │ │ │ ├── tags.yml.golden │ │ │ ├── vault_1.yml │ │ │ ├── vault_1.yml.golden │ │ │ ├── vault_2.yml │ │ │ ├── vault_2.yml.golden │ │ │ ├── vault_3.yml │ │ │ └── vault_3.yml.golden │ │ ├── volume.go │ │ ├── volume_test.go │ │ └── yaml.go │ ├── match.go │ ├── match_test.go │ ├── matrix │ │ └── matrix.go │ └── testdata │ │ └── legacy.yml └── metadata.go ├── cron.go ├── cron_test.go ├── env.go ├── env_test.go ├── linter ├── config.go ├── config_test.go ├── linter.go ├── linter_test.go └── testdata │ ├── duplicate_name.yml │ ├── duplicate_step.yml │ ├── duplicate_step_service.yml │ ├── invalid_arch.yml │ ├── invalid_os.yml │ ├── missing_build_image.yml │ ├── missing_dep.yml │ ├── missing_image.yml │ ├── missing_name.yml │ ├── pipeline_device.yml │ ├── pipeline_dns.yml │ ├── pipeline_dns_search.yml │ ├── pipeline_extra_hosts.yml │ ├── pipeline_network_mode.yml │ ├── pipeline_port_host.yml │ ├── pipeline_privileged.yml │ ├── pipeline_volume_invalid_name.yml │ ├── service_device.yml │ ├── service_port_host.yml │ ├── simple.yml │ ├── volume_empty_dir.yml │ ├── volume_empty_dir_memory.yml │ ├── volume_host_path.yml │ └── volume_invalid_name.yml ├── manifest.go ├── manifest_test.go ├── param.go ├── param_test.go ├── parse.go ├── parse_test.go ├── pipeline.go ├── pipeline_test.go ├── port.go ├── port_test.go ├── pretty ├── container.go ├── container_test.go ├── cron.go ├── cron_test.go ├── pipeline.go ├── pipeline_test.go ├── pretty.go ├── pretty_test.go ├── secret.go ├── secret_test.go ├── signature.go ├── signature_test.go ├── testdata │ ├── cron.yml │ ├── cron.yml.golden │ ├── manifest.yml │ ├── manifest.yml.golden │ ├── pipeline.yml │ ├── pipeline.yml.golden │ ├── pipeline_build_long.yml │ ├── pipeline_build_long.yml.golden │ ├── pipeline_build_short.yml │ ├── pipeline_build_short.yml.golden │ ├── pipeline_clone_depth.yml │ ├── pipeline_clone_depth.yml.golden │ ├── pipeline_clone_disable.yml │ ├── pipeline_clone_disable.yml.golden │ ├── pipeline_clone_skip_verify.yml │ ├── pipeline_clone_skip_verify.yml.golden │ ├── pipeline_concurrency.yml │ ├── pipeline_concurrency.yml.golden │ ├── pipeline_depends.yml │ ├── pipeline_depends.yml.golden │ ├── pipeline_image_pull_secrets.yml │ ├── pipeline_image_pull_secrets.yml.golden │ ├── pipeline_node.yml │ ├── pipeline_node.yml.golden │ ├── pipeline_ports.yml │ ├── pipeline_ports.yml.golden │ ├── pipeline_push.yml │ ├── pipeline_push.yml.golden │ ├── pipeline_resources.yml │ ├── pipeline_resources.yml.golden │ ├── pipeline_settings.yml │ ├── pipeline_settings.yml.golden │ ├── pipeline_trigger.yml │ ├── pipeline_trigger.yml.golden │ ├── pipeline_volumes.yml │ ├── pipeline_volumes.yml.golden │ ├── pipeline_workspace.yml │ ├── pipeline_workspace.yml.golden │ ├── registry.yml │ ├── registry.yml.golden │ ├── secret.yml │ ├── secret.yml.golden │ ├── secret_get.yml │ ├── secret_get.yml.golden │ ├── services.yml │ ├── services.yml.golden │ ├── signature.yml │ └── signature.yml.golden ├── util.go ├── util_test.go ├── writer.go └── writer_test.go ├── push.go ├── push_test.go ├── registry.go ├── registry_test.go ├── secret.go ├── secret_test.go ├── signature.go ├── signature_test.go ├── signer ├── signer.go ├── signer_test.go └── testdata │ ├── invalid_signature.yml │ ├── missing_signature.yml │ └── signed.yml ├── testdata ├── cron.yml ├── cron.yml.golden ├── manifest.yml ├── manifest.yml.golden ├── pipeline.yml ├── pipeline.yml.golden ├── registry.yml ├── registry.yml.golden ├── secret.yml ├── secret.yml.golden ├── signature.yml └── signature.yml.golden ├── unit.go └── unit_test.go /.drone.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drone/drone-yaml/HEAD/.drone.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | NOTES* 2 | *.out 3 | *.env 4 | drone-yaml 5 | -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drone/drone-yaml/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drone/drone-yaml/HEAD/LICENSE -------------------------------------------------------------------------------- /NOTICE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drone/drone-yaml/HEAD/NOTICE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drone/drone-yaml/HEAD/README.md -------------------------------------------------------------------------------- /go.mod: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drone/drone-yaml/HEAD/go.mod -------------------------------------------------------------------------------- /go.sum: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drone/drone-yaml/HEAD/go.sum -------------------------------------------------------------------------------- /main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drone/drone-yaml/HEAD/main.go -------------------------------------------------------------------------------- /samples/complex.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drone/drone-yaml/HEAD/samples/complex.yml -------------------------------------------------------------------------------- /samples/simple.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drone/drone-yaml/HEAD/samples/simple.yml -------------------------------------------------------------------------------- /yaml/build.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drone/drone-yaml/HEAD/yaml/build.go -------------------------------------------------------------------------------- /yaml/build_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drone/drone-yaml/HEAD/yaml/build_test.go -------------------------------------------------------------------------------- /yaml/compiler/clone.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drone/drone-yaml/HEAD/yaml/compiler/clone.go -------------------------------------------------------------------------------- /yaml/compiler/clone_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drone/drone-yaml/HEAD/yaml/compiler/clone_test.go -------------------------------------------------------------------------------- /yaml/compiler/compiler.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drone/drone-yaml/HEAD/yaml/compiler/compiler.go -------------------------------------------------------------------------------- /yaml/compiler/convert.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drone/drone-yaml/HEAD/yaml/compiler/convert.go -------------------------------------------------------------------------------- /yaml/compiler/convert_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drone/drone-yaml/HEAD/yaml/compiler/convert_test.go -------------------------------------------------------------------------------- /yaml/compiler/dind.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drone/drone-yaml/HEAD/yaml/compiler/dind.go -------------------------------------------------------------------------------- /yaml/compiler/dind_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drone/drone-yaml/HEAD/yaml/compiler/dind_test.go -------------------------------------------------------------------------------- /yaml/compiler/encode.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drone/drone-yaml/HEAD/yaml/compiler/encode.go -------------------------------------------------------------------------------- /yaml/compiler/encode_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drone/drone-yaml/HEAD/yaml/compiler/encode_test.go -------------------------------------------------------------------------------- /yaml/compiler/image/image.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drone/drone-yaml/HEAD/yaml/compiler/image/image.go -------------------------------------------------------------------------------- /yaml/compiler/image/image_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drone/drone-yaml/HEAD/yaml/compiler/image/image_test.go -------------------------------------------------------------------------------- /yaml/compiler/internal/rand/rand.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drone/drone-yaml/HEAD/yaml/compiler/internal/rand/rand.go -------------------------------------------------------------------------------- /yaml/compiler/script_posix.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drone/drone-yaml/HEAD/yaml/compiler/script_posix.go -------------------------------------------------------------------------------- /yaml/compiler/script_posix_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drone/drone-yaml/HEAD/yaml/compiler/script_posix_test.go -------------------------------------------------------------------------------- /yaml/compiler/script_win.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drone/drone-yaml/HEAD/yaml/compiler/script_win.go -------------------------------------------------------------------------------- /yaml/compiler/script_win_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drone/drone-yaml/HEAD/yaml/compiler/script_win_test.go -------------------------------------------------------------------------------- /yaml/compiler/skip.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drone/drone-yaml/HEAD/yaml/compiler/skip.go -------------------------------------------------------------------------------- /yaml/compiler/skip_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drone/drone-yaml/HEAD/yaml/compiler/skip_test.go -------------------------------------------------------------------------------- /yaml/compiler/step.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drone/drone-yaml/HEAD/yaml/compiler/step.go -------------------------------------------------------------------------------- /yaml/compiler/transform/auths.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drone/drone-yaml/HEAD/yaml/compiler/transform/auths.go -------------------------------------------------------------------------------- /yaml/compiler/transform/auths_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drone/drone-yaml/HEAD/yaml/compiler/transform/auths_test.go -------------------------------------------------------------------------------- /yaml/compiler/transform/combine.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drone/drone-yaml/HEAD/yaml/compiler/transform/combine.go -------------------------------------------------------------------------------- /yaml/compiler/transform/combine_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drone/drone-yaml/HEAD/yaml/compiler/transform/combine_test.go -------------------------------------------------------------------------------- /yaml/compiler/transform/env.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drone/drone-yaml/HEAD/yaml/compiler/transform/env.go -------------------------------------------------------------------------------- /yaml/compiler/transform/env_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drone/drone-yaml/HEAD/yaml/compiler/transform/env_test.go -------------------------------------------------------------------------------- /yaml/compiler/transform/filter.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drone/drone-yaml/HEAD/yaml/compiler/transform/filter.go -------------------------------------------------------------------------------- /yaml/compiler/transform/filter_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drone/drone-yaml/HEAD/yaml/compiler/transform/filter_test.go -------------------------------------------------------------------------------- /yaml/compiler/transform/labels.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drone/drone-yaml/HEAD/yaml/compiler/transform/labels.go -------------------------------------------------------------------------------- /yaml/compiler/transform/labels_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drone/drone-yaml/HEAD/yaml/compiler/transform/labels_test.go -------------------------------------------------------------------------------- /yaml/compiler/transform/limits.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drone/drone-yaml/HEAD/yaml/compiler/transform/limits.go -------------------------------------------------------------------------------- /yaml/compiler/transform/limits_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drone/drone-yaml/HEAD/yaml/compiler/transform/limits_test.go -------------------------------------------------------------------------------- /yaml/compiler/transform/netrc.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drone/drone-yaml/HEAD/yaml/compiler/transform/netrc.go -------------------------------------------------------------------------------- /yaml/compiler/transform/netrc_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drone/drone-yaml/HEAD/yaml/compiler/transform/netrc_test.go -------------------------------------------------------------------------------- /yaml/compiler/transform/network.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drone/drone-yaml/HEAD/yaml/compiler/transform/network.go -------------------------------------------------------------------------------- /yaml/compiler/transform/network_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drone/drone-yaml/HEAD/yaml/compiler/transform/network_test.go -------------------------------------------------------------------------------- /yaml/compiler/transform/proxy.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drone/drone-yaml/HEAD/yaml/compiler/transform/proxy.go -------------------------------------------------------------------------------- /yaml/compiler/transform/proxy_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drone/drone-yaml/HEAD/yaml/compiler/transform/proxy_test.go -------------------------------------------------------------------------------- /yaml/compiler/transform/secret.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drone/drone-yaml/HEAD/yaml/compiler/transform/secret.go -------------------------------------------------------------------------------- /yaml/compiler/transform/secret_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drone/drone-yaml/HEAD/yaml/compiler/transform/secret_test.go -------------------------------------------------------------------------------- /yaml/compiler/transform/volume.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drone/drone-yaml/HEAD/yaml/compiler/transform/volume.go -------------------------------------------------------------------------------- /yaml/compiler/transform/volume_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drone/drone-yaml/HEAD/yaml/compiler/transform/volume_test.go -------------------------------------------------------------------------------- /yaml/compiler/workspace.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drone/drone-yaml/HEAD/yaml/compiler/workspace.go -------------------------------------------------------------------------------- /yaml/compiler/workspace_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drone/drone-yaml/HEAD/yaml/compiler/workspace_test.go -------------------------------------------------------------------------------- /yaml/cond.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drone/drone-yaml/HEAD/yaml/cond.go -------------------------------------------------------------------------------- /yaml/cond_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drone/drone-yaml/HEAD/yaml/cond_test.go -------------------------------------------------------------------------------- /yaml/converter/bitbucket/config.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drone/drone-yaml/HEAD/yaml/converter/bitbucket/config.go -------------------------------------------------------------------------------- /yaml/converter/bitbucket/config_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drone/drone-yaml/HEAD/yaml/converter/bitbucket/config_test.go -------------------------------------------------------------------------------- /yaml/converter/bitbucket/convert.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drone/drone-yaml/HEAD/yaml/converter/bitbucket/convert.go -------------------------------------------------------------------------------- /yaml/converter/bitbucket/convert_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drone/drone-yaml/HEAD/yaml/converter/bitbucket/convert_test.go -------------------------------------------------------------------------------- /yaml/converter/bitbucket/testdata/sample1.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drone/drone-yaml/HEAD/yaml/converter/bitbucket/testdata/sample1.yaml -------------------------------------------------------------------------------- /yaml/converter/bitbucket/testdata/sample1.yaml.golden: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drone/drone-yaml/HEAD/yaml/converter/bitbucket/testdata/sample1.yaml.golden -------------------------------------------------------------------------------- /yaml/converter/bitbucket/testdata/sample2.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drone/drone-yaml/HEAD/yaml/converter/bitbucket/testdata/sample2.yaml -------------------------------------------------------------------------------- /yaml/converter/bitbucket/testdata/sample2.yaml.golden: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drone/drone-yaml/HEAD/yaml/converter/bitbucket/testdata/sample2.yaml.golden -------------------------------------------------------------------------------- /yaml/converter/circleci/config.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drone/drone-yaml/HEAD/yaml/converter/circleci/config.go -------------------------------------------------------------------------------- /yaml/converter/circleci/docker.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drone/drone-yaml/HEAD/yaml/converter/circleci/docker.go -------------------------------------------------------------------------------- /yaml/converter/circleci/docker_test.go: -------------------------------------------------------------------------------- 1 | package circleci 2 | -------------------------------------------------------------------------------- /yaml/converter/circleci/run.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drone/drone-yaml/HEAD/yaml/converter/circleci/run.go -------------------------------------------------------------------------------- /yaml/converter/circleci/run_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drone/drone-yaml/HEAD/yaml/converter/circleci/run_test.go -------------------------------------------------------------------------------- /yaml/converter/circleci/testdata/sample1.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drone/drone-yaml/HEAD/yaml/converter/circleci/testdata/sample1.yml -------------------------------------------------------------------------------- /yaml/converter/circleci/testdata/sample1.yml.golden: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /yaml/converter/convert.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drone/drone-yaml/HEAD/yaml/converter/convert.go -------------------------------------------------------------------------------- /yaml/converter/convert_oss.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drone/drone-yaml/HEAD/yaml/converter/convert_oss.go -------------------------------------------------------------------------------- /yaml/converter/convert_oss_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drone/drone-yaml/HEAD/yaml/converter/convert_oss_test.go -------------------------------------------------------------------------------- /yaml/converter/convert_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drone/drone-yaml/HEAD/yaml/converter/convert_test.go -------------------------------------------------------------------------------- /yaml/converter/gitlab/config.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drone/drone-yaml/HEAD/yaml/converter/gitlab/config.go -------------------------------------------------------------------------------- /yaml/converter/gitlab/convert.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drone/drone-yaml/HEAD/yaml/converter/gitlab/convert.go -------------------------------------------------------------------------------- /yaml/converter/gitlab/convert_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drone/drone-yaml/HEAD/yaml/converter/gitlab/convert_test.go -------------------------------------------------------------------------------- /yaml/converter/gitlab/testdata/example1.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drone/drone-yaml/HEAD/yaml/converter/gitlab/testdata/example1.yml -------------------------------------------------------------------------------- /yaml/converter/gitlab/testdata/example1.yml.golden: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drone/drone-yaml/HEAD/yaml/converter/gitlab/testdata/example1.yml.golden -------------------------------------------------------------------------------- /yaml/converter/gitlab/testdata/example2.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drone/drone-yaml/HEAD/yaml/converter/gitlab/testdata/example2.yml -------------------------------------------------------------------------------- /yaml/converter/gitlab/testdata/example2.yml.golden: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drone/drone-yaml/HEAD/yaml/converter/gitlab/testdata/example2.yml.golden -------------------------------------------------------------------------------- /yaml/converter/gitlab/testdata/example3.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drone/drone-yaml/HEAD/yaml/converter/gitlab/testdata/example3.yml -------------------------------------------------------------------------------- /yaml/converter/gitlab/testdata/example3.yml.golden: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drone/drone-yaml/HEAD/yaml/converter/gitlab/testdata/example3.yml.golden -------------------------------------------------------------------------------- /yaml/converter/gitlab/testdata/example4.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drone/drone-yaml/HEAD/yaml/converter/gitlab/testdata/example4.yml -------------------------------------------------------------------------------- /yaml/converter/gitlab/testdata/example4.yml.golden: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drone/drone-yaml/HEAD/yaml/converter/gitlab/testdata/example4.yml.golden -------------------------------------------------------------------------------- /yaml/converter/internal/string_slice.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drone/drone-yaml/HEAD/yaml/converter/internal/string_slice.go -------------------------------------------------------------------------------- /yaml/converter/internal/string_slice_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drone/drone-yaml/HEAD/yaml/converter/internal/string_slice_test.go -------------------------------------------------------------------------------- /yaml/converter/legacy/convert.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drone/drone-yaml/HEAD/yaml/converter/legacy/convert.go -------------------------------------------------------------------------------- /yaml/converter/legacy/internal/config.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drone/drone-yaml/HEAD/yaml/converter/legacy/internal/config.go -------------------------------------------------------------------------------- /yaml/converter/legacy/internal/config_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drone/drone-yaml/HEAD/yaml/converter/legacy/internal/config_test.go -------------------------------------------------------------------------------- /yaml/converter/legacy/internal/constraint.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drone/drone-yaml/HEAD/yaml/converter/legacy/internal/constraint.go -------------------------------------------------------------------------------- /yaml/converter/legacy/internal/container.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drone/drone-yaml/HEAD/yaml/converter/legacy/internal/container.go -------------------------------------------------------------------------------- /yaml/converter/legacy/internal/container_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drone/drone-yaml/HEAD/yaml/converter/legacy/internal/container_test.go -------------------------------------------------------------------------------- /yaml/converter/legacy/internal/secret.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drone/drone-yaml/HEAD/yaml/converter/legacy/internal/secret.go -------------------------------------------------------------------------------- /yaml/converter/legacy/internal/secret_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drone/drone-yaml/HEAD/yaml/converter/legacy/internal/secret_test.go -------------------------------------------------------------------------------- /yaml/converter/legacy/internal/slice_map.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drone/drone-yaml/HEAD/yaml/converter/legacy/internal/slice_map.go -------------------------------------------------------------------------------- /yaml/converter/legacy/internal/slice_map_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drone/drone-yaml/HEAD/yaml/converter/legacy/internal/slice_map_test.go -------------------------------------------------------------------------------- /yaml/converter/legacy/internal/string_slice.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drone/drone-yaml/HEAD/yaml/converter/legacy/internal/string_slice.go -------------------------------------------------------------------------------- /yaml/converter/legacy/internal/string_slice_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drone/drone-yaml/HEAD/yaml/converter/legacy/internal/string_slice_test.go -------------------------------------------------------------------------------- /yaml/converter/legacy/internal/testdata/branches.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drone/drone-yaml/HEAD/yaml/converter/legacy/internal/testdata/branches.yml -------------------------------------------------------------------------------- /yaml/converter/legacy/internal/testdata/branches.yml.golden: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drone/drone-yaml/HEAD/yaml/converter/legacy/internal/testdata/branches.yml.golden -------------------------------------------------------------------------------- /yaml/converter/legacy/internal/testdata/matrix_1.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drone/drone-yaml/HEAD/yaml/converter/legacy/internal/testdata/matrix_1.yml -------------------------------------------------------------------------------- /yaml/converter/legacy/internal/testdata/matrix_1.yml.golden: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drone/drone-yaml/HEAD/yaml/converter/legacy/internal/testdata/matrix_1.yml.golden -------------------------------------------------------------------------------- /yaml/converter/legacy/internal/testdata/matrix_2.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drone/drone-yaml/HEAD/yaml/converter/legacy/internal/testdata/matrix_2.yml -------------------------------------------------------------------------------- /yaml/converter/legacy/internal/testdata/matrix_2.yml.golden: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drone/drone-yaml/HEAD/yaml/converter/legacy/internal/testdata/matrix_2.yml.golden -------------------------------------------------------------------------------- /yaml/converter/legacy/internal/testdata/simple.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drone/drone-yaml/HEAD/yaml/converter/legacy/internal/testdata/simple.yml -------------------------------------------------------------------------------- /yaml/converter/legacy/internal/testdata/simple.yml.golden: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drone/drone-yaml/HEAD/yaml/converter/legacy/internal/testdata/simple.yml.golden -------------------------------------------------------------------------------- /yaml/converter/legacy/internal/testdata/tags.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drone/drone-yaml/HEAD/yaml/converter/legacy/internal/testdata/tags.yml -------------------------------------------------------------------------------- /yaml/converter/legacy/internal/testdata/tags.yml.golden: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drone/drone-yaml/HEAD/yaml/converter/legacy/internal/testdata/tags.yml.golden -------------------------------------------------------------------------------- /yaml/converter/legacy/internal/testdata/vault_1.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drone/drone-yaml/HEAD/yaml/converter/legacy/internal/testdata/vault_1.yml -------------------------------------------------------------------------------- /yaml/converter/legacy/internal/testdata/vault_1.yml.golden: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drone/drone-yaml/HEAD/yaml/converter/legacy/internal/testdata/vault_1.yml.golden -------------------------------------------------------------------------------- /yaml/converter/legacy/internal/testdata/vault_2.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drone/drone-yaml/HEAD/yaml/converter/legacy/internal/testdata/vault_2.yml -------------------------------------------------------------------------------- /yaml/converter/legacy/internal/testdata/vault_2.yml.golden: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drone/drone-yaml/HEAD/yaml/converter/legacy/internal/testdata/vault_2.yml.golden -------------------------------------------------------------------------------- /yaml/converter/legacy/internal/testdata/vault_3.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drone/drone-yaml/HEAD/yaml/converter/legacy/internal/testdata/vault_3.yml -------------------------------------------------------------------------------- /yaml/converter/legacy/internal/testdata/vault_3.yml.golden: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drone/drone-yaml/HEAD/yaml/converter/legacy/internal/testdata/vault_3.yml.golden -------------------------------------------------------------------------------- /yaml/converter/legacy/internal/volume.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drone/drone-yaml/HEAD/yaml/converter/legacy/internal/volume.go -------------------------------------------------------------------------------- /yaml/converter/legacy/internal/volume_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drone/drone-yaml/HEAD/yaml/converter/legacy/internal/volume_test.go -------------------------------------------------------------------------------- /yaml/converter/legacy/internal/yaml.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drone/drone-yaml/HEAD/yaml/converter/legacy/internal/yaml.go -------------------------------------------------------------------------------- /yaml/converter/legacy/match.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drone/drone-yaml/HEAD/yaml/converter/legacy/match.go -------------------------------------------------------------------------------- /yaml/converter/legacy/match_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drone/drone-yaml/HEAD/yaml/converter/legacy/match_test.go -------------------------------------------------------------------------------- /yaml/converter/legacy/matrix/matrix.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drone/drone-yaml/HEAD/yaml/converter/legacy/matrix/matrix.go -------------------------------------------------------------------------------- /yaml/converter/legacy/testdata/legacy.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drone/drone-yaml/HEAD/yaml/converter/legacy/testdata/legacy.yml -------------------------------------------------------------------------------- /yaml/converter/metadata.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drone/drone-yaml/HEAD/yaml/converter/metadata.go -------------------------------------------------------------------------------- /yaml/cron.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drone/drone-yaml/HEAD/yaml/cron.go -------------------------------------------------------------------------------- /yaml/cron_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drone/drone-yaml/HEAD/yaml/cron_test.go -------------------------------------------------------------------------------- /yaml/env.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drone/drone-yaml/HEAD/yaml/env.go -------------------------------------------------------------------------------- /yaml/env_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drone/drone-yaml/HEAD/yaml/env_test.go -------------------------------------------------------------------------------- /yaml/linter/config.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drone/drone-yaml/HEAD/yaml/linter/config.go -------------------------------------------------------------------------------- /yaml/linter/config_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drone/drone-yaml/HEAD/yaml/linter/config_test.go -------------------------------------------------------------------------------- /yaml/linter/linter.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drone/drone-yaml/HEAD/yaml/linter/linter.go -------------------------------------------------------------------------------- /yaml/linter/linter_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drone/drone-yaml/HEAD/yaml/linter/linter_test.go -------------------------------------------------------------------------------- /yaml/linter/testdata/duplicate_name.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drone/drone-yaml/HEAD/yaml/linter/testdata/duplicate_name.yml -------------------------------------------------------------------------------- /yaml/linter/testdata/duplicate_step.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drone/drone-yaml/HEAD/yaml/linter/testdata/duplicate_step.yml -------------------------------------------------------------------------------- /yaml/linter/testdata/duplicate_step_service.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drone/drone-yaml/HEAD/yaml/linter/testdata/duplicate_step_service.yml -------------------------------------------------------------------------------- /yaml/linter/testdata/invalid_arch.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drone/drone-yaml/HEAD/yaml/linter/testdata/invalid_arch.yml -------------------------------------------------------------------------------- /yaml/linter/testdata/invalid_os.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drone/drone-yaml/HEAD/yaml/linter/testdata/invalid_os.yml -------------------------------------------------------------------------------- /yaml/linter/testdata/missing_build_image.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drone/drone-yaml/HEAD/yaml/linter/testdata/missing_build_image.yml -------------------------------------------------------------------------------- /yaml/linter/testdata/missing_dep.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drone/drone-yaml/HEAD/yaml/linter/testdata/missing_dep.yml -------------------------------------------------------------------------------- /yaml/linter/testdata/missing_image.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drone/drone-yaml/HEAD/yaml/linter/testdata/missing_image.yml -------------------------------------------------------------------------------- /yaml/linter/testdata/missing_name.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drone/drone-yaml/HEAD/yaml/linter/testdata/missing_name.yml -------------------------------------------------------------------------------- /yaml/linter/testdata/pipeline_device.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drone/drone-yaml/HEAD/yaml/linter/testdata/pipeline_device.yml -------------------------------------------------------------------------------- /yaml/linter/testdata/pipeline_dns.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drone/drone-yaml/HEAD/yaml/linter/testdata/pipeline_dns.yml -------------------------------------------------------------------------------- /yaml/linter/testdata/pipeline_dns_search.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drone/drone-yaml/HEAD/yaml/linter/testdata/pipeline_dns_search.yml -------------------------------------------------------------------------------- /yaml/linter/testdata/pipeline_extra_hosts.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drone/drone-yaml/HEAD/yaml/linter/testdata/pipeline_extra_hosts.yml -------------------------------------------------------------------------------- /yaml/linter/testdata/pipeline_network_mode.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drone/drone-yaml/HEAD/yaml/linter/testdata/pipeline_network_mode.yml -------------------------------------------------------------------------------- /yaml/linter/testdata/pipeline_port_host.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drone/drone-yaml/HEAD/yaml/linter/testdata/pipeline_port_host.yml -------------------------------------------------------------------------------- /yaml/linter/testdata/pipeline_privileged.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drone/drone-yaml/HEAD/yaml/linter/testdata/pipeline_privileged.yml -------------------------------------------------------------------------------- /yaml/linter/testdata/pipeline_volume_invalid_name.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drone/drone-yaml/HEAD/yaml/linter/testdata/pipeline_volume_invalid_name.yml -------------------------------------------------------------------------------- /yaml/linter/testdata/service_device.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drone/drone-yaml/HEAD/yaml/linter/testdata/service_device.yml -------------------------------------------------------------------------------- /yaml/linter/testdata/service_port_host.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drone/drone-yaml/HEAD/yaml/linter/testdata/service_port_host.yml -------------------------------------------------------------------------------- /yaml/linter/testdata/simple.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drone/drone-yaml/HEAD/yaml/linter/testdata/simple.yml -------------------------------------------------------------------------------- /yaml/linter/testdata/volume_empty_dir.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drone/drone-yaml/HEAD/yaml/linter/testdata/volume_empty_dir.yml -------------------------------------------------------------------------------- /yaml/linter/testdata/volume_empty_dir_memory.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drone/drone-yaml/HEAD/yaml/linter/testdata/volume_empty_dir_memory.yml -------------------------------------------------------------------------------- /yaml/linter/testdata/volume_host_path.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drone/drone-yaml/HEAD/yaml/linter/testdata/volume_host_path.yml -------------------------------------------------------------------------------- /yaml/linter/testdata/volume_invalid_name.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drone/drone-yaml/HEAD/yaml/linter/testdata/volume_invalid_name.yml -------------------------------------------------------------------------------- /yaml/manifest.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drone/drone-yaml/HEAD/yaml/manifest.go -------------------------------------------------------------------------------- /yaml/manifest_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drone/drone-yaml/HEAD/yaml/manifest_test.go -------------------------------------------------------------------------------- /yaml/param.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drone/drone-yaml/HEAD/yaml/param.go -------------------------------------------------------------------------------- /yaml/param_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drone/drone-yaml/HEAD/yaml/param_test.go -------------------------------------------------------------------------------- /yaml/parse.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drone/drone-yaml/HEAD/yaml/parse.go -------------------------------------------------------------------------------- /yaml/parse_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drone/drone-yaml/HEAD/yaml/parse_test.go -------------------------------------------------------------------------------- /yaml/pipeline.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drone/drone-yaml/HEAD/yaml/pipeline.go -------------------------------------------------------------------------------- /yaml/pipeline_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drone/drone-yaml/HEAD/yaml/pipeline_test.go -------------------------------------------------------------------------------- /yaml/port.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drone/drone-yaml/HEAD/yaml/port.go -------------------------------------------------------------------------------- /yaml/port_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drone/drone-yaml/HEAD/yaml/port_test.go -------------------------------------------------------------------------------- /yaml/pretty/container.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drone/drone-yaml/HEAD/yaml/pretty/container.go -------------------------------------------------------------------------------- /yaml/pretty/container_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drone/drone-yaml/HEAD/yaml/pretty/container_test.go -------------------------------------------------------------------------------- /yaml/pretty/cron.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drone/drone-yaml/HEAD/yaml/pretty/cron.go -------------------------------------------------------------------------------- /yaml/pretty/cron_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drone/drone-yaml/HEAD/yaml/pretty/cron_test.go -------------------------------------------------------------------------------- /yaml/pretty/pipeline.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drone/drone-yaml/HEAD/yaml/pretty/pipeline.go -------------------------------------------------------------------------------- /yaml/pretty/pipeline_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drone/drone-yaml/HEAD/yaml/pretty/pipeline_test.go -------------------------------------------------------------------------------- /yaml/pretty/pretty.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drone/drone-yaml/HEAD/yaml/pretty/pretty.go -------------------------------------------------------------------------------- /yaml/pretty/pretty_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drone/drone-yaml/HEAD/yaml/pretty/pretty_test.go -------------------------------------------------------------------------------- /yaml/pretty/secret.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drone/drone-yaml/HEAD/yaml/pretty/secret.go -------------------------------------------------------------------------------- /yaml/pretty/secret_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drone/drone-yaml/HEAD/yaml/pretty/secret_test.go -------------------------------------------------------------------------------- /yaml/pretty/signature.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drone/drone-yaml/HEAD/yaml/pretty/signature.go -------------------------------------------------------------------------------- /yaml/pretty/signature_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drone/drone-yaml/HEAD/yaml/pretty/signature_test.go -------------------------------------------------------------------------------- /yaml/pretty/testdata/cron.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drone/drone-yaml/HEAD/yaml/pretty/testdata/cron.yml -------------------------------------------------------------------------------- /yaml/pretty/testdata/cron.yml.golden: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drone/drone-yaml/HEAD/yaml/pretty/testdata/cron.yml.golden -------------------------------------------------------------------------------- /yaml/pretty/testdata/manifest.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drone/drone-yaml/HEAD/yaml/pretty/testdata/manifest.yml -------------------------------------------------------------------------------- /yaml/pretty/testdata/manifest.yml.golden: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drone/drone-yaml/HEAD/yaml/pretty/testdata/manifest.yml.golden -------------------------------------------------------------------------------- /yaml/pretty/testdata/pipeline.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drone/drone-yaml/HEAD/yaml/pretty/testdata/pipeline.yml -------------------------------------------------------------------------------- /yaml/pretty/testdata/pipeline.yml.golden: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /yaml/pretty/testdata/pipeline_build_long.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drone/drone-yaml/HEAD/yaml/pretty/testdata/pipeline_build_long.yml -------------------------------------------------------------------------------- /yaml/pretty/testdata/pipeline_build_long.yml.golden: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drone/drone-yaml/HEAD/yaml/pretty/testdata/pipeline_build_long.yml.golden -------------------------------------------------------------------------------- /yaml/pretty/testdata/pipeline_build_short.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drone/drone-yaml/HEAD/yaml/pretty/testdata/pipeline_build_short.yml -------------------------------------------------------------------------------- /yaml/pretty/testdata/pipeline_build_short.yml.golden: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drone/drone-yaml/HEAD/yaml/pretty/testdata/pipeline_build_short.yml.golden -------------------------------------------------------------------------------- /yaml/pretty/testdata/pipeline_clone_depth.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drone/drone-yaml/HEAD/yaml/pretty/testdata/pipeline_clone_depth.yml -------------------------------------------------------------------------------- /yaml/pretty/testdata/pipeline_clone_depth.yml.golden: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drone/drone-yaml/HEAD/yaml/pretty/testdata/pipeline_clone_depth.yml.golden -------------------------------------------------------------------------------- /yaml/pretty/testdata/pipeline_clone_disable.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drone/drone-yaml/HEAD/yaml/pretty/testdata/pipeline_clone_disable.yml -------------------------------------------------------------------------------- /yaml/pretty/testdata/pipeline_clone_disable.yml.golden: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drone/drone-yaml/HEAD/yaml/pretty/testdata/pipeline_clone_disable.yml.golden -------------------------------------------------------------------------------- /yaml/pretty/testdata/pipeline_clone_skip_verify.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drone/drone-yaml/HEAD/yaml/pretty/testdata/pipeline_clone_skip_verify.yml -------------------------------------------------------------------------------- /yaml/pretty/testdata/pipeline_clone_skip_verify.yml.golden: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drone/drone-yaml/HEAD/yaml/pretty/testdata/pipeline_clone_skip_verify.yml.golden -------------------------------------------------------------------------------- /yaml/pretty/testdata/pipeline_concurrency.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drone/drone-yaml/HEAD/yaml/pretty/testdata/pipeline_concurrency.yml -------------------------------------------------------------------------------- /yaml/pretty/testdata/pipeline_concurrency.yml.golden: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drone/drone-yaml/HEAD/yaml/pretty/testdata/pipeline_concurrency.yml.golden -------------------------------------------------------------------------------- /yaml/pretty/testdata/pipeline_depends.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drone/drone-yaml/HEAD/yaml/pretty/testdata/pipeline_depends.yml -------------------------------------------------------------------------------- /yaml/pretty/testdata/pipeline_depends.yml.golden: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drone/drone-yaml/HEAD/yaml/pretty/testdata/pipeline_depends.yml.golden -------------------------------------------------------------------------------- /yaml/pretty/testdata/pipeline_image_pull_secrets.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drone/drone-yaml/HEAD/yaml/pretty/testdata/pipeline_image_pull_secrets.yml -------------------------------------------------------------------------------- /yaml/pretty/testdata/pipeline_image_pull_secrets.yml.golden: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drone/drone-yaml/HEAD/yaml/pretty/testdata/pipeline_image_pull_secrets.yml.golden -------------------------------------------------------------------------------- /yaml/pretty/testdata/pipeline_node.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drone/drone-yaml/HEAD/yaml/pretty/testdata/pipeline_node.yml -------------------------------------------------------------------------------- /yaml/pretty/testdata/pipeline_node.yml.golden: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drone/drone-yaml/HEAD/yaml/pretty/testdata/pipeline_node.yml.golden -------------------------------------------------------------------------------- /yaml/pretty/testdata/pipeline_ports.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drone/drone-yaml/HEAD/yaml/pretty/testdata/pipeline_ports.yml -------------------------------------------------------------------------------- /yaml/pretty/testdata/pipeline_ports.yml.golden: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drone/drone-yaml/HEAD/yaml/pretty/testdata/pipeline_ports.yml.golden -------------------------------------------------------------------------------- /yaml/pretty/testdata/pipeline_push.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drone/drone-yaml/HEAD/yaml/pretty/testdata/pipeline_push.yml -------------------------------------------------------------------------------- /yaml/pretty/testdata/pipeline_push.yml.golden: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drone/drone-yaml/HEAD/yaml/pretty/testdata/pipeline_push.yml.golden -------------------------------------------------------------------------------- /yaml/pretty/testdata/pipeline_resources.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drone/drone-yaml/HEAD/yaml/pretty/testdata/pipeline_resources.yml -------------------------------------------------------------------------------- /yaml/pretty/testdata/pipeline_resources.yml.golden: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drone/drone-yaml/HEAD/yaml/pretty/testdata/pipeline_resources.yml.golden -------------------------------------------------------------------------------- /yaml/pretty/testdata/pipeline_settings.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drone/drone-yaml/HEAD/yaml/pretty/testdata/pipeline_settings.yml -------------------------------------------------------------------------------- /yaml/pretty/testdata/pipeline_settings.yml.golden: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drone/drone-yaml/HEAD/yaml/pretty/testdata/pipeline_settings.yml.golden -------------------------------------------------------------------------------- /yaml/pretty/testdata/pipeline_trigger.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drone/drone-yaml/HEAD/yaml/pretty/testdata/pipeline_trigger.yml -------------------------------------------------------------------------------- /yaml/pretty/testdata/pipeline_trigger.yml.golden: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drone/drone-yaml/HEAD/yaml/pretty/testdata/pipeline_trigger.yml.golden -------------------------------------------------------------------------------- /yaml/pretty/testdata/pipeline_volumes.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drone/drone-yaml/HEAD/yaml/pretty/testdata/pipeline_volumes.yml -------------------------------------------------------------------------------- /yaml/pretty/testdata/pipeline_volumes.yml.golden: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drone/drone-yaml/HEAD/yaml/pretty/testdata/pipeline_volumes.yml.golden -------------------------------------------------------------------------------- /yaml/pretty/testdata/pipeline_workspace.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drone/drone-yaml/HEAD/yaml/pretty/testdata/pipeline_workspace.yml -------------------------------------------------------------------------------- /yaml/pretty/testdata/pipeline_workspace.yml.golden: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drone/drone-yaml/HEAD/yaml/pretty/testdata/pipeline_workspace.yml.golden -------------------------------------------------------------------------------- /yaml/pretty/testdata/registry.yml: -------------------------------------------------------------------------------- 1 | kind: registry 2 | type: encrypted 3 | data: 4 | index.docker.io: N2NmYjA3ODQwNTY1ODFlY2E5MGJmOWI1NDk0NDFhMTEK 5 | -------------------------------------------------------------------------------- /yaml/pretty/testdata/registry.yml.golden: -------------------------------------------------------------------------------- 1 | --- 2 | kind: registry 3 | type: encrypted 4 | data: 5 | index.docker.io: > 6 | N2NmYjA3ODQwNTY1ODFlY2E5MGJmOWI1NDk0NDFhMTEK 7 | 8 | ... 9 | -------------------------------------------------------------------------------- /yaml/pretty/testdata/secret.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drone/drone-yaml/HEAD/yaml/pretty/testdata/secret.yml -------------------------------------------------------------------------------- /yaml/pretty/testdata/secret.yml.golden: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drone/drone-yaml/HEAD/yaml/pretty/testdata/secret.yml.golden -------------------------------------------------------------------------------- /yaml/pretty/testdata/secret_get.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drone/drone-yaml/HEAD/yaml/pretty/testdata/secret_get.yml -------------------------------------------------------------------------------- /yaml/pretty/testdata/secret_get.yml.golden: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drone/drone-yaml/HEAD/yaml/pretty/testdata/secret_get.yml.golden -------------------------------------------------------------------------------- /yaml/pretty/testdata/services.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drone/drone-yaml/HEAD/yaml/pretty/testdata/services.yml -------------------------------------------------------------------------------- /yaml/pretty/testdata/services.yml.golden: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drone/drone-yaml/HEAD/yaml/pretty/testdata/services.yml.golden -------------------------------------------------------------------------------- /yaml/pretty/testdata/signature.yml: -------------------------------------------------------------------------------- 1 | kind: signature 2 | hmac: N2NmYjA3ODQwNTY1ODFlY2E5MGJmOWI1NDk0NDFhMTEK 3 | -------------------------------------------------------------------------------- /yaml/pretty/testdata/signature.yml.golden: -------------------------------------------------------------------------------- 1 | --- 2 | kind: signature 3 | hmac: N2NmYjA3ODQwNTY1ODFlY2E5MGJmOWI1NDk0NDFhMTEK 4 | 5 | ... 6 | -------------------------------------------------------------------------------- /yaml/pretty/util.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drone/drone-yaml/HEAD/yaml/pretty/util.go -------------------------------------------------------------------------------- /yaml/pretty/util_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drone/drone-yaml/HEAD/yaml/pretty/util_test.go -------------------------------------------------------------------------------- /yaml/pretty/writer.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drone/drone-yaml/HEAD/yaml/pretty/writer.go -------------------------------------------------------------------------------- /yaml/pretty/writer_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drone/drone-yaml/HEAD/yaml/pretty/writer_test.go -------------------------------------------------------------------------------- /yaml/push.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drone/drone-yaml/HEAD/yaml/push.go -------------------------------------------------------------------------------- /yaml/push_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drone/drone-yaml/HEAD/yaml/push_test.go -------------------------------------------------------------------------------- /yaml/registry.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drone/drone-yaml/HEAD/yaml/registry.go -------------------------------------------------------------------------------- /yaml/registry_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drone/drone-yaml/HEAD/yaml/registry_test.go -------------------------------------------------------------------------------- /yaml/secret.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drone/drone-yaml/HEAD/yaml/secret.go -------------------------------------------------------------------------------- /yaml/secret_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drone/drone-yaml/HEAD/yaml/secret_test.go -------------------------------------------------------------------------------- /yaml/signature.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drone/drone-yaml/HEAD/yaml/signature.go -------------------------------------------------------------------------------- /yaml/signature_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drone/drone-yaml/HEAD/yaml/signature_test.go -------------------------------------------------------------------------------- /yaml/signer/signer.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drone/drone-yaml/HEAD/yaml/signer/signer.go -------------------------------------------------------------------------------- /yaml/signer/signer_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drone/drone-yaml/HEAD/yaml/signer/signer_test.go -------------------------------------------------------------------------------- /yaml/signer/testdata/invalid_signature.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drone/drone-yaml/HEAD/yaml/signer/testdata/invalid_signature.yml -------------------------------------------------------------------------------- /yaml/signer/testdata/missing_signature.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drone/drone-yaml/HEAD/yaml/signer/testdata/missing_signature.yml -------------------------------------------------------------------------------- /yaml/signer/testdata/signed.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drone/drone-yaml/HEAD/yaml/signer/testdata/signed.yml -------------------------------------------------------------------------------- /yaml/testdata/cron.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drone/drone-yaml/HEAD/yaml/testdata/cron.yml -------------------------------------------------------------------------------- /yaml/testdata/cron.yml.golden: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drone/drone-yaml/HEAD/yaml/testdata/cron.yml.golden -------------------------------------------------------------------------------- /yaml/testdata/manifest.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drone/drone-yaml/HEAD/yaml/testdata/manifest.yml -------------------------------------------------------------------------------- /yaml/testdata/manifest.yml.golden: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drone/drone-yaml/HEAD/yaml/testdata/manifest.yml.golden -------------------------------------------------------------------------------- /yaml/testdata/pipeline.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drone/drone-yaml/HEAD/yaml/testdata/pipeline.yml -------------------------------------------------------------------------------- /yaml/testdata/pipeline.yml.golden: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drone/drone-yaml/HEAD/yaml/testdata/pipeline.yml.golden -------------------------------------------------------------------------------- /yaml/testdata/registry.yml: -------------------------------------------------------------------------------- 1 | --- 2 | kind: registry 3 | type: encrypted 4 | data: 5 | index.docker.io: N2NmYjA3ODQwNTY1ODFlY2E5MGJmOWI1NDk0NDFhMTEK 6 | -------------------------------------------------------------------------------- /yaml/testdata/registry.yml.golden: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drone/drone-yaml/HEAD/yaml/testdata/registry.yml.golden -------------------------------------------------------------------------------- /yaml/testdata/secret.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drone/drone-yaml/HEAD/yaml/testdata/secret.yml -------------------------------------------------------------------------------- /yaml/testdata/secret.yml.golden: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drone/drone-yaml/HEAD/yaml/testdata/secret.yml.golden -------------------------------------------------------------------------------- /yaml/testdata/signature.yml: -------------------------------------------------------------------------------- 1 | --- 2 | kind: signature 3 | hmac: N2NmYjA3ODQwNTY1ODFlY2E5MGJmOWI1NDk0NDFhMTEK 4 | -------------------------------------------------------------------------------- /yaml/testdata/signature.yml.golden: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drone/drone-yaml/HEAD/yaml/testdata/signature.yml.golden -------------------------------------------------------------------------------- /yaml/unit.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drone/drone-yaml/HEAD/yaml/unit.go -------------------------------------------------------------------------------- /yaml/unit_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drone/drone-yaml/HEAD/yaml/unit_test.go --------------------------------------------------------------------------------