Skip to content

ci: gate continuous release behind CONFLUENCEPS_CD_ENABLED - #279

Merged
lipkau merged 1 commit into
masterfrom
claude/confluenceps-cd-guard
Nov 20, 2026
Merged

lipkau merged 1 commit into
masterfrom
claude/confluenceps-cd-guard

Conversation

@lipkau

@lipkau lipkau commented Nov 20, 2026

Copy link
Copy Markdown
Member

Why

ConfluencePS publishes automatically after every successful CI run on master.
The ConfluencePS 3 work will land on master over many pull requests, so a merge must not release a half-finished major version.
JiraPS already guards its continuous release with JIRAPS_CD_ENABLED; this does the same for ConfluencePS.

What

  • continuous_release.yml: the release job runs only on manual dispatch or when the repository variable CONFLUENCEPS_CD_ENABLED is 'true'.
  • Tests/GitHubActions.Unit.Tests.ps1: asserts the guard, as JiraPS does.
  • .github/ai-context/releasing.md: the rollout-guard section from JiraPS releasing.md, adapted to ConfluencePS. The JiraPS paragraph about the release environment and tag protection is left out: ConfluencePS already has the release environment and the protect-release-tags and immutable-release-tags rulesets.
  • AGENTS.md: one line, so an agent does not expect a release after a merge.

No changelog entry: nothing changes for module users.

Effect

  • CONFLUENCEPS_CD_ENABLED does not exist today, so after this merges a push to master starts no release preparation.
  • A 2.x patch is still possible: dispatch Continuous Release, then set the variable to true and rerun CI for the prepared commit, as releasing.md describes.
  • ConfluencePS ci: adopt AtlassianPS.Standards v0.5.0 with shared alpha and beta releases #278 (Standards repin) edits the uses: line next to the new if:; whichever merges second needs a trivial rebase.

Gate

Invoke-Build -Task Build, Test: Tests Passed: 1013, Failed: 0, Skipped: 44 — Build succeeded. 8 tasks, 0 errors, 0 warnings.
Invoke-Build -Task Lint: Tests Passed: 92, Failed: 0.


Created by claude-opus-5-5 via Claude Code in T3 Code on behalf of @lipkau

A merge to master no longer starts release preparation unless the
repository variable CONFLUENCEPS_CD_ENABLED is 'true'. Manual dispatch
still prepares a release. This matches the JiraPS rollout guard and
keeps the ConfluencePS 3 work on master from releasing by accident.

Agent-Attribution: claude-opus-5-5 via Claude Code in T3 Code on behalf of @lipkau
@lipkau lipkau added the release:none No release note or version impact label Nov 20, 2026
@lipkau
lipkau marked this pull request as ready for review November 20, 2026 16:31
@lipkau
lipkau merged commit eb76b0f into master Nov 20, 2026
11 checks passed
@lipkau
lipkau deleted the claude/confluenceps-cd-guard branch November 20, 2026 22:12
lipkau added a commit that referenced this pull request Nov 21, 2026
Keep the CONFLUENCEPS_CD_ENABLED guard from #279 on the release job
next to the shared release workflow pin.

Agent-Attribution: claude-opus-5-5 via Claude Code on behalf of @lipkau
lipkau added a commit that referenced this pull request Nov 22, 2026
…eases (#278)

Adopts AtlassianPS.Standards
[v0.5.0](https://github.com/AtlassianPS/AtlassianPS.Standards/releases/tag/v0.5.0),
which adds shared alpha and beta releases ([Standards
#78](AtlassianPS/AtlassianPS.Standards#78)).
Every Standards workflow pin moves to `7efc986` (`v0.5.0`) and the build
requirement to `0.5.0`.
`Tests/Tools/StandardsVersionConsistency.Unit.Tests.ps1` checks the
single release SHA again.

Dispatch `Continuous Release` from `master`, choose `alpha` or `beta`,
and optionally set `prerelease_branch`.
The shared workflow uses one resolved source commit for builds, tests,
the artifact ledger, and the tag.
Stable releases reject branch overrides.
The `CONFLUENCEPS_CD_ENABLED` guard from #279 stays on the release job.

Adds the `Prerelease = ''` manifest entry that the shared alpha/beta
build sets.

Standards 0.5.0 also changes the stable build:
- `Install-DependencyRequirement` treats a requirement with only
`ModuleVersion` as a minimum.
- `Test-ModulePackage` requires the package to match the built module
file for file.

Updates operator guidance, the changelog, and workflow contract checks.
Uses `release:none` so adoption ships with the next package.

Refs AtlassianPS/AtlassianPS.Standards#73.

Validation: `Invoke-Build -Task Lint, Build, Test` against Standards
0.5.0 → `Tests Passed: 1013, Failed: 0, Skipped: 44` / `Build succeeded.
9 tasks, 0 errors, 0 warnings`.

---
Created by _gpt-6 via codex_ on behalf of @lipkau

---
Created by _claude-opus-5-5 via Claude Code_ on behalf of @lipkau
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

release:none No release note or version impact

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant