Skip to content

Upgrade to NGINX 1.31.0#14226

Merged
giohappy merged 1 commit into
masterfrom
upgrade-to-nginx-1.31.0
May 15, 2026
Merged

Upgrade to NGINX 1.31.0#14226
giohappy merged 1 commit into
masterfrom
upgrade-to-nginx-1.31.0

Conversation

@giohappy
Copy link
Copy Markdown
Contributor

No description provided.

@giohappy giohappy requested a review from sijandh35 May 14, 2026 16:50
@cla-bot cla-bot Bot added the cla-signed CLA Bot: community license agreement signed label May 14, 2026
@giohappy giohappy added this to the 5.1.0 milestone May 14, 2026
Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request updates the Nginx image version from 1.28.0-v1 to 1.31.0-latest across the development, test, and production Docker Compose configurations. The review feedback correctly identifies that using mutable tags like -latest can lead to non-deterministic deployments and recommends pinning the images to specific, immutable version tags to ensure stability and reproducibility.

Comment thread docker-compose-dev.yml
# Nginx is serving django static and media files and proxies to django and geonode
geonode:
image: geonode/nginx:1.28.0-v1
image: geonode/nginx:1.31.0-latest
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

Using mutable Docker image tags like 1.31.0-latest is discouraged as it makes deployments non-deterministic. Unlike the previous version 1.28.0-v1, which appeared to be a pinned revision, tags with the -latest suffix can be updated upstream, potentially leading to unexpected behavior or breaking changes without any modifications to this configuration. It is recommended to use a specific, immutable version tag.

    image: geonode/nginx:1.31.0

Comment thread docker-compose-test.yml
# Nginx is serving django static and media files and proxies to django and geonode
geonode:
image: geonode/nginx:1.28.0-v1
image: geonode/nginx:1.31.0-latest
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

The use of the -latest suffix in the image tag introduces mutability. To ensure stability and reproducibility in your test environment, it is better to pin the image to a specific, immutable version. This prevents the environment from changing unexpectedly if the image is updated under the same tag.

    image: geonode/nginx:1.31.0

Comment thread docker-compose.yml
# Nginx is serving django static and media files and proxies to django and geonode
geonode:
image: geonode/nginx:1.28.0-v1
image: geonode/nginx:1.31.0-latest
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

Switching from a pinned version (1.28.0-v1) to a mutable tag (1.31.0-latest) reduces the reliability of the deployment. Mutable tags can lead to different image versions being pulled at different times, making it difficult to debug issues or roll back changes. Please consider using an immutable tag for the new version.

    image: geonode/nginx:1.31.0

@codecov
Copy link
Copy Markdown

codecov Bot commented May 14, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 74.91%. Comparing base (787ed72) to head (5b1243e).
⚠️ Report is 3 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master   #14226      +/-   ##
==========================================
+ Coverage   74.76%   74.91%   +0.14%     
==========================================
  Files         967      975       +8     
  Lines       59351    59877     +526     
  Branches     8069     8152      +83     
==========================================
+ Hits        44375    44858     +483     
- Misses      13169    13195      +26     
- Partials     1807     1824      +17     
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@giohappy giohappy merged commit d27537e into master May 15, 2026
20 checks passed
@giohappy giohappy deleted the upgrade-to-nginx-1.31.0 branch May 15, 2026 08:26
giohappy added a commit that referenced this pull request May 15, 2026
(cherry picked from commit d27537e)
giohappy added a commit that referenced this pull request May 15, 2026
(cherry picked from commit d27537e)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport 5.0.x backport 5.1.x cla-signed CLA Bot: community license agreement signed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants