Chore: Add new drone step to validate OpenAPI specification (#75034)

* chore: add new drone step to validate openapi specification

* fix: update make before running make command
This commit is contained in:
Kat Yang
2023-09-20 11:46:15 -04:00
committed by GitHub
parent c8149d50f9
commit 24a1f12826
3 changed files with 23 additions and 1 deletions
+10
View File
@@ -226,6 +226,16 @@ def validate_modfile_step():
],
}
def validate_openapi_spec_step():
return {
"name": "validate-openapi-spec",
"image": images["go"],
"commands": [
"apk add --update make",
"make validate-api-spec",
],
}
def dockerize_step(name, hostname, port):
return {
"name": name,