Skip to content

test: add a two-namespace upgrade test #36

Closed

Description

@uniqueg

Why?

Nothing tests the whole path: one call to Pubgrade upgrades deployments in two places. This test runs it locally and in CI, before anyone tries it on real clusters.

How?

  • A local Kubernetes cluster (k3s) with Pubgrade installed from its chart and two namespaces, each with a test Deployment and a sidecar from Pubgrade-Sidecar's master image.
  • Register a repository and subscriptions, publish a prebuilt image once, and check that both Deployments roll out to the new image.
  • Failure paths: one sidecar unreachable (the other one still upgrades, and the build shows the failure); a tag that doesn't exist.
  • A CI job (upgrade / Upgrade test), part of the gate, and a short description in the README.

Acceptance criteria

  • The test passes locally and in CI, and also covers the MongoDB version that the chart uses by default.
  • The failure paths are covered.

Dependencies: #33, #34, #35; a usable image of elixir-cloud-aai/Pubgrade-Sidecar.

Activity

  1. added
    priority: high
    status: blocked
    type: testing
    workload: hours
    ecp-wp4: M4.3
    on Nov 5, 2026
  2. added
    status: in progress
    and removed
    status: blocked
    on Nov 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    ecp-wp4: M4.3priority: highstatus: in progresstype: testingworkload: hours

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions