Repository navigation
V10.0.13/service update #33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
+792
−664
Merged
Changes from all commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
23c001e
V10.0.13/service update
codebelt-aicia[bot] 126e54d
🐳 serve docs from nginx container
aicia-bot 8214fe5
📚 configure docfx member pages and sitemap
aicia-bot 5ea25aa
⬆️ upgrade test dependencies and swap coverage package
aicia-bot dcae5d0
📝 consolidate agent guidance into agents.md
aicia-bot fc886c2
💬 update changelog for 10.0.13
aicia-bot bc106ab
🐛 fix service update version resolution from git tags
aicia-bot File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,17 +1,16 @@ | ||
| ARG NGINX_VERSION=1.31-alpine | ||
| ARG NGINX_VERSION=1.31-alpine | ||
|
|
||
| FROM --platform=$BUILDPLATFORM nginx:${NGINX_VERSION} AS base | ||
| FROM --platform=$BUILDPLATFORM dhi.io/nginx:${NGINX_VERSION} AS base | ||
| RUN rm -rf /usr/share/nginx/html/* | ||
|
|
||
| FROM --platform=$BUILDPLATFORM codebeltnet/docfx:2.78.5 AS build | ||
| FROM --platform=$BUILDPLATFORM codebeltnet/docfx:2 AS build | ||
|
|
||
| ADD [".", "docfx"] | ||
|
|
||
| RUN cd docfx; \ | ||
| docfx build | ||
|
|
||
| FROM nginx:${NGINX_VERSION} AS final | ||
| FROM dhi.io/nginx:${NGINX_VERSION} AS final | ||
| WORKDIR /usr/share/nginx/html | ||
| COPY --from=build /build/docfx/wwwroot /usr/share/nginx/html | ||
|
|
||
| ENTRYPOINT ["nginx", "-g", "daemon off;"] | ||
| COPY nginx.conf /etc/nginx/conf.d/default.conf |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,31 @@ | ||
| server { | ||
| listen 8080; | ||
| server_name _; | ||
| # The ingress terminates TLS; keep redirects from exposing this container port. | ||
| absolute_redirect off; | ||
|
|
||
| root /usr/share/nginx/html; | ||
| index index.html; | ||
|
|
||
| # DocFX fingerprints these generated dependencies in their filenames. They can be | ||
| # cached permanently because changed content is published under a different URL. | ||
| location ~ "^/public/.+-[A-Z0-9]{8}(?:-[A-Z0-9]{8})?(?:\.min)?\.(?:(?:css|js)(?:\.map)?|woff2?)$" { | ||
| try_files $uri =404; | ||
| add_header Cache-Control "public, max-age=31536000, immutable" always; | ||
| add_header Vary "Accept-Encoding" always; | ||
| } | ||
|
|
||
| # Pages, navigation data, images, and DocFX entry assets keep stable URLs. Do not | ||
| # retain them across deployments, and ignore validators cached under an old policy. | ||
| location / { | ||
| # Nginx derives ETags from modification time and file size. Those values can be | ||
| # reused by files copied from different image layers, producing a false 304. | ||
| etag off; | ||
| if_modified_since off; | ||
| try_files $uri $uri/ =404; | ||
| add_header Cache-Control "no-store, no-cache, must-revalidate, max-age=0" always; | ||
| add_header Expires "0" always; | ||
| add_header Pragma "no-cache" always; | ||
| add_header Vary "Accept-Encoding" always; | ||
| } | ||
| } |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.