🙈 Updates ignore files
This commit is contained in:
@@ -1,6 +1,4 @@
|
||||
**/.dockerignore
|
||||
**/.env
|
||||
**/.gitignore
|
||||
|
||||
**/.project
|
||||
**/.settings
|
||||
**/.toolstarget
|
||||
@@ -13,10 +11,22 @@
|
||||
**/azds.yaml
|
||||
**/bin
|
||||
**/charts
|
||||
**/docker-compose*
|
||||
**/Dockerfile*
|
||||
**/node_modules
|
||||
**/npm-debug.log
|
||||
**/obj
|
||||
**/secrets.dev.yaml
|
||||
**/values.dev.yaml
|
||||
|
||||
**/docs
|
||||
**/docker
|
||||
**/artifacts
|
||||
**/.idea
|
||||
**/.github
|
||||
**/logs
|
||||
**/Logs
|
||||
|
||||
**/.*ignore
|
||||
.gitattributes
|
||||
**/.env
|
||||
compose*.yaml
|
||||
|
||||
3
.gitignore
vendored
3
.gitignore
vendored
@@ -1153,3 +1153,6 @@ TestResults
|
||||
artifacts/**
|
||||
!artifacts/**/
|
||||
!artifacts/**/.gitkeep
|
||||
|
||||
## Machine-specific overrides
|
||||
compose.override.yaml
|
||||
|
||||
@@ -79,10 +79,10 @@ RUN --mount=type=cache,target=/root/.nuget/packages \
|
||||
FROM node:lts-alpine AS openapi-lint
|
||||
RUN npm install -g @stoplight/spectral-cli
|
||||
WORKDIR /openapi
|
||||
COPY --link .spectral.yaml .
|
||||
COPY --link .spectral.yaml /tmp/.spectral.yaml
|
||||
COPY --link --from=build /source/artifacts/OpenApi/ .
|
||||
RUN if ls *.json 1>/dev/null 2>&1; then \
|
||||
spectral lint ./*.json --fail-severity=error; \
|
||||
spectral lint ./*.json -r /tmp/.spectral.yaml --fail-severity=error; \
|
||||
else \
|
||||
echo "No OpenAPI documents found, skipping lint"; \
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user