diff --git a/.drone.yml b/.drone.yml index 8af3f0826ad..4113e7b7603 100644 --- a/.drone.yml +++ b/.drone.yml @@ -439,11 +439,6 @@ steps: - go run scripts/modowners/modowners.go check go.mod image: golang:1.20.10-alpine name: validate-modfile -- commands: - - apk add --update make - - make swagger-validate - image: golang:1.20.10-alpine - name: validate-openapi-spec trigger: event: - pull_request @@ -1628,11 +1623,6 @@ steps: - go run scripts/modowners/modowners.go check go.mod image: golang:1.20.10-alpine name: validate-modfile -- commands: - - apk add --update make - - make swagger-validate - image: golang:1.20.10-alpine - name: validate-openapi-spec - commands: - ./bin/build verify-drone depends_on: @@ -4607,6 +4597,6 @@ kind: secret name: gcr_credentials --- kind: signature -hmac: a7032573772937b59787f5c01c113b02afb07a9febf15664a68cbcee1458acc9 +hmac: 6902e2345a71b70a8e051aa8caf053188deeb2bcaac1a92dae561a0d56653ffc ... diff --git a/scripts/drone/pipelines/lint_backend.star b/scripts/drone/pipelines/lint_backend.star index 1dd1f6e8833..d675436cdc2 100644 --- a/scripts/drone/pipelines/lint_backend.star +++ b/scripts/drone/pipelines/lint_backend.star @@ -10,7 +10,6 @@ load( "lint_backend_step", "lint_drone_step", "validate_modfile_step", - "validate_openapi_spec_step", "wire_install_step", ) load( @@ -47,7 +46,8 @@ def lint_backend_pipeline(trigger, ver_mode): test_steps = [ lint_backend_step(), validate_modfile_step(), - validate_openapi_spec_step(), + # OpenAPI spec validation is disabled for versions below 10.2.x. + # validate_openapi_spec_step(), ] if ver_mode == "main":