Skip to content

feat(ci): refuse changes to environment paths after the switch #6820

Closed

Description

@dan-petty

Problem

Plan step 12 of #5134 (docs/HOMELAB_REPO_SWITCH.md, "Step 12: freeze and soak"). On 2026-11-23 at 00:08 UTC, step 11 switched Argo CD to dan-petty/homelab: bootstrap, cluster and each child Application read the copy in homelab. Only the product sources still read devops-cli: Application devops (k8s/devops) and the rules value file of Application prometheus.

  • A devops-cli pull request that changes an environment path now changes nothing live. Its author can think that it deploys, and the copy in homelab and the files in devops-cli drift apart before step 17 deletes the files.
  • The environment paths are the files of k8s without the product folders k8s/devops and k8s/overlays/homelab/devops (step 10 of the runbook).
  • Renovate of devops-cli also updates image pins in environment paths (for example chore(deps): update valkey/valkey Docker tag to v9.1.4 #6344). Those pull requests would change nothing live.
  • The GitOps section of k8s/README.md still says that Argo CD reads the environment from devops-cli.

Proposed remedy

  • A temporary CI check that refuses a pull request that changes an environment path, with a message that names the homelab repository. The check reads the pathspec of step 10, so a new environment file is refused too.
  • The Renovate config of devops-cli ignores the environment paths for the soak; homelab Renovate updates its copy.
  • The GitOps section of k8s/README.md says that Argo CD reads the environment from homelab, and that Bootstrap and Recovery use the bootstrap file of a homelab checkout.

Acceptance criteria

  • A test: a change to an environment path fails the check, and a change to k8s/devops or to a file outside k8s passes.
  • k8s/README.md names homelab as the source of the environment.
  • Step 17 of the runbook says to remove the check with the files.

Dependencies

None. Part of #5134.

Activity

  1. added
    type/feature
    scope/ci
    source/agent
    on Nov 23, 2026
  2. dan-petty commented on Nov 23, 2026

    @dan-petty
    OwnerAuthor
  3. added
    status/new
    value/medium
    effort/low
    priority/p2-medium
    owner/agent
    status/in-progress
    status/in-review
    and removed
    status/new
    status/in-progress
    on Nov 23, 2026
  4. removed
    status/in-review
    owner/agent
    on Nov 23, 2026
  5. devops-cli-service commented on Nov 23, 2026

    @devops-cli-service
    Contributor

    Live since 2026-11-23 04:05 UTC

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

    effort/lowpriority/p2-mediumscope/cisource/agenttype/featurevalue/medium

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions