Skip to content

chore(deps): align and bump zot and postgresql across all environments - #1923

Merged
paralta merged 1 commit into
mainfrom
chore/bump-deps
Jul 29, 2026
Merged

paralta merged 1 commit into
mainfrom
chore/bump-deps

Conversation

@paralta

@paralta paralta commented Jul 29, 2026

Copy link
Copy Markdown
Member

Zot and PostgreSQL image versions had drifted across Docker Compose files for install, integration tests, and e2e tests — each environment was pinned to a different, older version. This PR standardises all of them to the current latest: zot v2.1.18 and bitnami/postgresql at digest sha256:cc46b913..., matching what the canonical Taskfile.vars.yml already declared as the target.

@paralta
paralta requested a review from a team as a code owner July 29, 2026 10:43
@github-actions github-actions Bot added the size/XS Denotes a PR that changes 0-49 lines label Jul 29, 2026
@codecov

codecov Bot commented Jul 29, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@paralta
paralta merged commit 8b508bd into main Jul 29, 2026
32 checks passed
@paralta
paralta deleted the chore/bump-deps branch July 29, 2026 11:28
conorbronsdon added a commit to conorbronsdon/dir that referenced this pull request Jul 31, 2026
…ntials

Follow-up review fixes on the zot remote-storage docs:

- The verify command pinned zot v2.1.16, which is the version from the bug
  report, not the version the chart deploys. The zot subchart (0.1.122, pinned
  in apiserver/Chart.lock) ships image tag v2.1.18, matching ZOT_VERSION in
  Taskfile.vars.yml and the compose files after agntcy#1923 aligned them. Re-ran the
  full config matrix on v2.1.18: every documented claim reproduces unchanged.

- The gc/search note asserted that neither has to be disabled on remote
  storage, on the strength of a successful boot. GC runs on an interval
  (gcInterval/gcDelay, 1h by default), so a clean boot does not exercise it.
  Narrowed the claim to what was tested -- neither blocks startup -- and kept
  the reporter's gc: false as the fallback if GC errors appear later.

- Neither S3 snippet mentioned credentials. Added the IAM-role-first guidance
  plus accesskey/secretkey and regionendpoint, and a note that storageDriver
  keys are pass-through and unvalidated, so a misspelled key still passes
  zot verify.

- values.yaml pointed at a repo-relative docs path; the chart is published to
  OCI, so consumers never see that tree. Switched to the published URL.

config.json is unchanged.

Signed-off-by: Conor Bronsdon <[email protected]>
paralta pushed a commit that referenced this pull request Aug 4, 2026
* docs(dir): document zot storage config for remote object storage

Zot defaults `dedupe` to true. The zot config.json shipped in the chart
does not set it, so an operator who swaps `storage` for an S3
`storageDriver` gets a registry that refuses to start:

    invalid database config, dedupe set to true with remote storage and
    database, but no remote database configured

Nothing in the deployment docs covered this, so it was only discovered at
boot on a production node.

Document the two supported storage layouts for a production node, with a
verified config snippet for each S3 option (dedupe off, or dedupe on with
a DynamoDB cacheDriver), and add the two corresponding startup failures to
the troubleshooting section. Add the same warning next to the config in
values.yaml, where an operator editing the storage block will see it.

Verified against zot v2.1.16 (the version the chart pulls) with MinIO
standing in for S3: the shipped config plus an S3 storageDriver exits 1 at
startup; adding `dedupe: false` starts and serves, and a push lands in the
bucket. Garbage collection and the search extension do not have to be
disabled, contrary to the workaround in the report.

Fixes #1885

Signed-off-by: Conor Bronsdon <[email protected]>

* docs(dir): correct zot version, scope the gc claim, document S3 credentials

Follow-up review fixes on the zot remote-storage docs:

- The verify command pinned zot v2.1.16, which is the version from the bug
  report, not the version the chart deploys. The zot subchart (0.1.122, pinned
  in apiserver/Chart.lock) ships image tag v2.1.18, matching ZOT_VERSION in
  Taskfile.vars.yml and the compose files after #1923 aligned them. Re-ran the
  full config matrix on v2.1.18: every documented claim reproduces unchanged.

- The gc/search note asserted that neither has to be disabled on remote
  storage, on the strength of a successful boot. GC runs on an interval
  (gcInterval/gcDelay, 1h by default), so a clean boot does not exercise it.
  Narrowed the claim to what was tested -- neither blocks startup -- and kept
  the reporter's gc: false as the fallback if GC errors appear later.

- Neither S3 snippet mentioned credentials. Added the IAM-role-first guidance
  plus accesskey/secretkey and regionendpoint, and a note that storageDriver
  keys are pass-through and unvalidated, so a misspelled key still passes
  zot verify.

- values.yaml pointed at a repo-relative docs path; the chart is published to
  OCI, so consumers never see that tree. Switched to the published URL.

config.json is unchanged.

Signed-off-by: Conor Bronsdon <[email protected]>

* chore: retrigger CI

The Cross-Platform Test Linux job failed provisioning the e2e daemon testenv:
the sentence-transformers/all-MiniLM-L6-v2 fetch from huggingface.co was reset
by peer. Network flake, unrelated to this docs-only change.

Signed-off-by: Conor Bronsdon <[email protected]>

* Update docs/content/dir/dir-prod-deployment.md

Co-authored-by: Aron Kerekes <[email protected]>
Signed-off-by: Conor Bronsdon <[email protected]>

* Update docs/content/dir/dir-prod-deployment.md

Co-authored-by: Aron Kerekes <[email protected]>
Signed-off-by: Conor Bronsdon <[email protected]>

* Apply suggestion from @conorbronsdon

Signed-off-by: Conor Bronsdon <[email protected]>

* Apply suggestions from code review

Suggestions from reviewer applied

Co-authored-by: Aron Kerekes <[email protected]>
Signed-off-by: Conor Bronsdon <[email protected]>

* docs(dir): restore the S3 option snippets the suggestion dropped

The Docs CI job failed on two lint errors in dir-prod-deployment.md:

  :136:1 MD009 Trailing spaces [Expected: 0 or 2; Actual: 4]
  :137:1 MD012 Multiple consecutive blank lines [Expected: 1, Actual: 3]

Those were the symptom. Applying the code-review suggestions in 6b9da18
converted the two bold option headers into a mkdocs content tab, but the
replacement kept only the first tab marker and dropped the body: both JSON
config blocks and the entire Option B tab went with it.

The section then read "Pick one of the following when moving Zot to S3:",
offered an empty Option A, had no Option B, and closed with "Neither
snippet sets S3 credentials" - referring to two snippets that were no
longer there. storageDriver mentions went 10 -> 8 in that commit, which is
what surfaced it.

Restored both snippets as proper content tabs, which is what the suggestion
was asking for, with the bodies indented four spaces so they render inside
the tabs. Option A disables dedupe; Option B keeps it and adds the DynamoDB
cacheDriver. The trailing-whitespace line that tripped MD009/MD012 is gone
as a consequence.

Verified with the project's own linter and config rather than by eye:
pymarkdown --config docs/pymarkdown.yaml reproduces both errors at 136 and
137 on the previous commit and reports nothing here.

Signed-off-by: Conor Bronsdon <[email protected]>

---------

Signed-off-by: Conor Bronsdon <[email protected]>
Signed-off-by: Conor Bronsdon <[email protected]>
Co-authored-by: Aron Kerekes <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size/XS Denotes a PR that changes 0-49 lines

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants