Skip to content

Remove GCloud-specific docker registry support - #29

Merged
henzigo merged 2 commits into
mainfrom
remove-gcloud-registry
Aug 18, 2026
Merged

Remove GCloud-specific docker registry support#29
henzigo merged 2 commits into
mainfrom
remove-gcloud-registry

Conversation

@henzigo

@henzigo henzigo commented Aug 18, 2026

Copy link
Copy Markdown
Member

What

Removes the GCloud-specific docker registry branch (GCLOUD_DEPLOY +
GCLOUD_CONTAINER_REGISTRY_EMAIL/ACCOUNT) and replaces it with a registry-agnostic
credentials interface.

Why

The pull secret template is already generic (registry.server/username/password/email
dockerconfigjson) — the GCloud branch was just a hardcoded special case of it, removed
upstream as well (shopsys/deployment#77). What remained GitLab-specific were the env var
names, so this PR introduces a generic interface that works with any registry.

Changes

  • environments/runtime.yaml.gotmpl — generic REGISTRY_SERVER / REGISTRY_USERNAME /
    REGISTRY_PASSWORD / REGISTRY_EMAIL env vars take precedence; the GitLab-flavored
    CI_REGISTRY + DEPLOY_REGISTER_USER/PASSWORD keep working as a fallback for existing
    pipelines; the hardcoded GCloud branch is gone
  • GCR/GAR is covered by the generic path: username _json_key, password = the service
    account JSON (documented in the migration guide and examples)
  • deploy/deploy.sh, docs/values.md, examples/README.md — documentation updated
  • tests/run-golden-tests.sh — obsolete unset GCLOUD_DEPLOY dropped
  • documented as deviation 18 (the legacy description in docs/original-deployment.md
    intentionally still mentions GCloud — it documents the old package)

Rendered manifests are unchanged for the GitLab path (golden snapshots untouched); the
generic path renders the same Secret with the provided server/credentials.

🤖 Generated with Claude Code

Base automatically changed from redis-container-first to main August 18, 2026 22:25
Drops the GCLOUD_DEPLOY / GCLOUD_CONTAINER_REGISTRY_* branch from the
runtime values and all documentation - the feature is unused and was
removed upstream as well (shopsys/deployment#77). Only the
CI_REGISTRY/DEPLOY_REGISTER_* credentials remain; documented as
deviation 18.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Copilot AI lite review requested due to automatic review settings August 18, 2026 22:28
@henzigo
henzigo force-pushed the remove-gcloud-registry branch from 336d69b to 56c581c Compare August 18, 2026 22:28

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

This PR removes the deprecated GCloud-specific Docker registry credential path (GCLOUD_DEPLOY + GCLOUD_CONTAINER_REGISTRY_*) from the runtime values mapping and cleans up related documentation and test harness environment setup. It aligns the repo with upstream removal (shopsys/deployment#77) while keeping rendered manifests unchanged for the remaining CI_REGISTRY / DEPLOY_REGISTER_* flow.

Changes:

  • Removed the GCloud registry branch from environments/runtime.yaml.gotmpl, leaving only the CI_REGISTRY-based registry mapping.
  • Removed GCloud references from docs and examples, and documented the removal as a new intentional deviation.
  • Dropped an obsolete unset GCLOUD_DEPLOY from the golden test runner.

Reviewed changes

Copilot reviewed 6 out of 6 changed files in this pull request and generated no comments.

Show a summary per file
File Description
tests/run-golden-tests.sh Removes obsolete GCLOUD_DEPLOY cleanup from the deterministic test env setup.
examples/README.md Updates required CI variables list to remove the GCloud alternative.
environments/runtime.yaml.gotmpl Deletes the GCloud-specific registry mapping branch; retains only CI_REGISTRY mapping.
docs/values.md Updates legacy env-var mapping docs to remove GCLOUD_* references.
docs/migrating-from-shopsys-deployment.md Adds deviation #18 documenting removal of GCloud registry support.
deploy/deploy.sh Updates header comment listing consumed env vars to remove GCloud references.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

The pull secret was already registry-agnostic at the chart level
(registry.server/username/password/email); this adds a generic
REGISTRY_SERVER/USERNAME/PASSWORD/EMAIL env interface with the
GitLab-flavored CI_REGISTRY/DEPLOY_REGISTER_* variables kept as a
fallback. GCR/GAR works via username "_json_key" with the service
account JSON as the password - documented in the migration guide.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@henzigo
henzigo merged commit e1d56cb into main Aug 18, 2026
5 checks passed
@henzigo
henzigo deleted the remove-gcloud-registry branch August 18, 2026 22:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants