Skip to content
Snippets Groups Projects
Verified Commit 724bd150 authored by Martin Weise's avatar Martin Weise
Browse files

Updated yq commands

parent df05d432
No related branches found
No related tags found
2 merge requests!374Bumped version of DBRepo,!373Bumped version of DBRepo
...@@ -126,8 +126,8 @@ lint-swagger-version: ...@@ -126,8 +126,8 @@ lint-swagger-version:
- 'apk --no-cache add bash wget' - 'apk --no-cache add bash wget'
- 'wget https://github.com/mikefarah/yq/releases/download/${VERSION}/${BINARY} -O /usr/bin/yq && chmod +x /usr/bin/yq' - 'wget https://github.com/mikefarah/yq/releases/download/${VERSION}/${BINARY} -O /usr/bin/yq && chmod +x /usr/bin/yq'
script: script:
- cat ./.docs/.swagger/api.base.yaml | yq .externalDocs.url | grep "${DOC_VERSION}" - yq r ./.docs/.swagger/api.base.yaml 'externalDocs.url' | grep "${DOC_VERSION}"
- cat ./.docs/.swagger/api.base.yaml | yq .info.version | grep "${APP_VERSION}" - yq r ./.docs/.swagger/api.base.yaml 'info.version' | grep "${DOC_VERSION}"
build-metadata-service: build-metadata-service:
image: maven:3-openjdk-${JAVA_VERSION} image: maven:3-openjdk-${JAVA_VERSION}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment