🙈 Updates ignore files

This commit is contained in:
2026-03-20 13:48:26 +02:00
parent dde7dbe5c4
commit eea714e68b
3 changed files with 19 additions and 6 deletions

View File

@@ -1,6 +1,4 @@
**/.dockerignore
**/.env
**/.gitignore
**/.project **/.project
**/.settings **/.settings
**/.toolstarget **/.toolstarget
@@ -13,10 +11,22 @@
**/azds.yaml **/azds.yaml
**/bin **/bin
**/charts **/charts
**/docker-compose*
**/Dockerfile* **/Dockerfile*
**/node_modules **/node_modules
**/npm-debug.log **/npm-debug.log
**/obj **/obj
**/secrets.dev.yaml **/secrets.dev.yaml
**/values.dev.yaml **/values.dev.yaml
**/docs
**/docker
**/artifacts
**/.idea
**/.github
**/logs
**/Logs
**/.*ignore
.gitattributes
**/.env
compose*.yaml

3
.gitignore vendored
View File

@@ -1153,3 +1153,6 @@ TestResults
artifacts/** artifacts/**
!artifacts/**/ !artifacts/**/
!artifacts/**/.gitkeep !artifacts/**/.gitkeep
## Machine-specific overrides
compose.override.yaml

View File

@@ -79,10 +79,10 @@ RUN --mount=type=cache,target=/root/.nuget/packages \
FROM node:lts-alpine AS openapi-lint FROM node:lts-alpine AS openapi-lint
RUN npm install -g @stoplight/spectral-cli RUN npm install -g @stoplight/spectral-cli
WORKDIR /openapi WORKDIR /openapi
COPY --link .spectral.yaml . COPY --link .spectral.yaml /tmp/.spectral.yaml
COPY --link --from=build /source/artifacts/OpenApi/ . COPY --link --from=build /source/artifacts/OpenApi/ .
RUN if ls *.json 1>/dev/null 2>&1; then \ 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 \ else \
echo "No OpenAPI documents found, skipping lint"; \ echo "No OpenAPI documents found, skipping lint"; \
fi fi