Skip to content

Migrate preview workflow to docker-internal registry#3182

Open
madhurkulshrestha-hyland wants to merge 1 commit into
maintenance-3.1.xfrom
migrate-preview-to-docker-internal-maintenance
Open

Migrate preview workflow to docker-internal registry#3182
madhurkulshrestha-hyland wants to merge 1 commit into
maintenance-3.1.xfrom
migrate-preview-to-docker-internal-maintenance

Conversation

@madhurkulshrestha-hyland
Copy link
Copy Markdown
Contributor

@madhurkulshrestha-hyland madhurkulshrestha-hyland commented May 22, 2026

Summary

Migrate the preview workflow from GCP Artifact Registry + GKE deployment to publishing images to docker-internal.packages.nuxeo.com for the EKS migration.

Changes

  • Registry: us-east1-docker.pkg.devdocker-internal.packages.nuxeo.com
  • Repository: nuxeo/nuxeo-web-ui
  • Auth: _json_key / GKE_SA_KEYNUXEO_DOCKER_USERNAME / NUXEO_DOCKER_TOKEN
  • Removed: Google Cloud auth, GKE credentials, helm-based preview deployment, PREVIEW_NAMESPACE
  • Image tags:
    • Server: docker-internal.packages.nuxeo.com/nuxeo/nuxeo-web-ui/server:<VERSION>
    • App: docker-internal.packages.nuxeo.com/nuxeo/nuxeo-web-ui:<VERSION>

Required secrets

  • NUXEO_DOCKER_USERNAME
  • NUXEO_DOCKER_TOKEN
  • NPM_PACKAGES_TOKEN (unchanged)

References

@madhurkulshrestha-hyland madhurkulshrestha-hyland requested a review from a team as a code owner May 22, 2026 14:13
@madhurkulshrestha-hyland madhurkulshrestha-hyland requested review from Nishant0928, Copilot and swarnadipa-dev and removed request for a team May 22, 2026 14:13
@madhurkulshrestha-hyland madhurkulshrestha-hyland added the preview Add this label to build jenkinx preview label May 22, 2026
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

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 migrates the “preview” GitHub Actions workflow away from GCP Artifact Registry/GKE and toward publishing preview images into the internal Docker registry (docker-internal.packages.nuxeo.com) as part of the EKS migration.

Changes:

  • Replaces GCP registry/image env vars with REGISTRY + REPOSITORY targeting docker-internal.packages.nuxeo.com/nuxeo/nuxeo-web-ui.
  • Switches Docker authentication from GKE service-account JSON key to NUXEO_DOCKER_USERNAME / NUXEO_DOCKER_TOKEN.
  • Removes the Helm/GKE deployment steps and updates the PR comment to publish the built image reference.

Comment thread .github/workflows/preview.yaml Outdated
Comment thread .github/workflows/preview.yaml
@madhurkulshrestha-hyland
Copy link
Copy Markdown
Contributor Author

Addressed review comments:

  1. Naming: Renamed Set preview URLSet preview image reference, output urlimage, env var PREVIEW_URLPREVIEW_IMAGE to accurately reflect these are Docker image references, not URLs.
  2. Cleanup workflow: Removed .github/workflows/clean.yaml since there are no longer GKE namespaces to clean up — the workflow now only publishes images to docker-internal.packages.nuxeo.com.

Note: The NUXEO_DOCKER_USERNAME and NUXEO_DOCKER_TOKEN org secrets need their repository access changed from "Private repositories" to "Selected repositories" with nuxeo-web-ui explicitly added (since this is a public repo).

Replace GCP Artifact Registry and GKE deployment with
docker-internal.packages.nuxeo.com for the EKS migration.

Changes:
- Update Docker registry to docker-internal.packages.nuxeo.com
- Use NUXEO_DOCKER_USERNAME/NUXEO_DOCKER_TOKEN for auth
- Remove GKE cluster/zone configuration
- Remove Google Cloud auth and GKE credentials steps
- Remove helm-based preview deployment
- Remove PREVIEW_NAMESPACE (no longer needed)
- Remove clean.yaml (GKE namespace cleanup no longer applicable)
- Rename output from 'url' to 'image' to reflect it is a Docker image ref
@madhurkulshrestha-hyland madhurkulshrestha-hyland force-pushed the migrate-preview-to-docker-internal-maintenance branch from 3c2d31a to 003265b Compare May 27, 2026 08:48
@sonarqubecloud
Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

preview Add this label to build jenkinx preview

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants