Skip to content

Commit c659043

Browse files
committed
Regenerate cpflow wrappers from release polish
1 parent 9e5a0dd commit c659043

9 files changed

Lines changed: 19 additions & 15 deletions

.controlplane/shakacode-team.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ Advanced optional settings are documented upstream in the
6767
[`control-plane-flow` CI automation guide](https://github.com/shakacode/control-plane-flow/blob/main/docs/ci-automation.md).
6868

6969
Current workflow wrappers are pinned to merged upstream `control-plane-flow`
70-
commit `c0ca750c4838dacf6a1d81d52cb151301516cb77` for downstream testing. After
70+
commit `54a6b8a066ac0a59c49e95a866e21b5633e2b1f9` for downstream testing. After
7171
5.0.1 ships, repin the wrappers to `v5.0.1`; do not treat the temporary SHA as
7272
the steady-state master configuration.
7373

.github/cpflow-help.md

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
These commands are generated by [cpflow](https://github.com/shakacode/control-plane-flow).
44
For full setup, version-pinning, and troubleshooting details, see the upstream
5-
[CI automation guide](https://github.com/shakacode/control-plane-flow/blob/c0ca750c4838dacf6a1d81d52cb151301516cb77/docs/ci-automation.md).
5+
[CI automation guide](https://github.com/shakacode/control-plane-flow/blob/54a6b8a066ac0a59c49e95a866e21b5633e2b1f9/docs/ci-automation.md).
66

77
## Pull Request Commands
88

@@ -56,7 +56,7 @@ the environment approval gate passes.
5656
## Version Locking
5757

5858
Generated wrappers pin Control Plane Flow once with the reusable workflow
59-
`uses:` ref, for example `@c0ca750c4838dacf6a1d81d52cb151301516cb77`. For stable releases,
59+
`uses:` ref, for example `@54a6b8a066ac0a59c49e95a866e21b5633e2b1f9`. For stable releases,
6060
this ref should be a release tag. The upstream reusable workflow automatically
6161
loads its matching shared actions from GitHub's workflow context, so downstream
6262
wrappers should not pass a duplicate Control Plane Flow ref input. If your
@@ -91,5 +91,8 @@ Most apps do not need these:
9191
| `CPLN_CLI_VERSION` | Pin a specific `@controlplane/cli` version; normally leave unset. |
9292

9393
The PR-open help workflow posts a short command reference whenever the generated
94-
wrapper exists. Remove `.github/workflows/cpflow-review-app-help.yml` or add a
95-
wrapper-level `if:` guard if a repo should not advertise review apps.
94+
wrapper exists. That is intentional for configured demo repos. Forks or clones
95+
that copy the workflow before configuring Control Plane can remove
96+
`.github/workflows/cpflow-review-app-help.yml` or uncomment and adapt the
97+
wrapper-level `if:` guard shown in that file, for example
98+
`vars.REVIEW_APP_PREFIX != '' || vars.CPLN_ORG_STAGING != ''`.

.github/workflows/cpflow-cleanup-stale-review-apps.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,6 @@ jobs:
1212
cleanup:
1313
# Cleanup targets the current inferred review-app prefix. If you changed
1414
# naming conventions, manually delete review apps under the old prefix.
15-
uses: shakacode/control-plane-flow/.github/workflows/cpflow-cleanup-stale-review-apps.yml@c0ca750c4838dacf6a1d81d52cb151301516cb77
15+
uses: shakacode/control-plane-flow/.github/workflows/cpflow-cleanup-stale-review-apps.yml@54a6b8a066ac0a59c49e95a866e21b5633e2b1f9
1616
secrets:
1717
CPLN_TOKEN_STAGING: ${{ secrets.CPLN_TOKEN_STAGING }}

.github/workflows/cpflow-delete-review-app.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,6 @@ jobs:
3131
github.event_name == 'workflow_dispatch'
3232
# This `if:` mirrors the upstream job guard to avoid a billable workflow_call
3333
# when the event does not match. Keep both conditions in sync.
34-
uses: shakacode/control-plane-flow/.github/workflows/cpflow-delete-review-app.yml@c0ca750c4838dacf6a1d81d52cb151301516cb77
34+
uses: shakacode/control-plane-flow/.github/workflows/cpflow-delete-review-app.yml@54a6b8a066ac0a59c49e95a866e21b5633e2b1f9
3535
secrets:
3636
CPLN_TOKEN_STAGING: ${{ secrets.CPLN_TOKEN_STAGING }}

.github/workflows/cpflow-deploy-review-app.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
github.event.issue.pull_request &&
3131
contains(fromJson('["+review-app-deploy","+review-app-deploy\n","+review-app-deploy\r\n"]'), github.event.comment.body) &&
3232
contains(fromJson('["OWNER","MEMBER","COLLABORATOR"]'), github.event.comment.author_association))
33-
uses: shakacode/control-plane-flow/.github/workflows/cpflow-deploy-review-app.yml@c0ca750c4838dacf6a1d81d52cb151301516cb77
33+
uses: shakacode/control-plane-flow/.github/workflows/cpflow-deploy-review-app.yml@54a6b8a066ac0a59c49e95a866e21b5633e2b1f9
3434
secrets:
3535
CPLN_TOKEN_STAGING: ${{ secrets.CPLN_TOKEN_STAGING }}
3636
DOCKER_BUILD_SSH_KEY: ${{ secrets.DOCKER_BUILD_SSH_KEY }}

.github/workflows/cpflow-deploy-staging.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ permissions:
1616

1717
jobs:
1818
deploy-staging:
19-
uses: shakacode/control-plane-flow/.github/workflows/cpflow-deploy-staging.yml@c0ca750c4838dacf6a1d81d52cb151301516cb77
19+
uses: shakacode/control-plane-flow/.github/workflows/cpflow-deploy-staging.yml@54a6b8a066ac0a59c49e95a866e21b5633e2b1f9
2020
with:
2121
staging_app_branch_default: "master"
2222
secrets:

.github/workflows/cpflow-help-command.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,4 @@ jobs:
2323
contains(fromJson('["+review-app-help","+review-app-help\n","+review-app-help\r\n"]'), github.event.comment.body) &&
2424
contains(fromJson('["OWNER","MEMBER","COLLABORATOR"]'), github.event.comment.author_association)) ||
2525
github.event_name == 'workflow_dispatch'
26-
uses: shakacode/control-plane-flow/.github/workflows/cpflow-help-command.yml@c0ca750c4838dacf6a1d81d52cb151301516cb77
26+
uses: shakacode/control-plane-flow/.github/workflows/cpflow-help-command.yml@54a6b8a066ac0a59c49e95a866e21b5633e2b1f9

.github/workflows/cpflow-promote-staging-to-production.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ permissions:
1616
jobs:
1717
promote-to-production:
1818
if: github.event.inputs.confirm_promotion == 'promote'
19-
uses: shakacode/control-plane-flow/.github/workflows/cpflow-promote-staging-to-production.yml@c0ca750c4838dacf6a1d81d52cb151301516cb77
19+
uses: shakacode/control-plane-flow/.github/workflows/cpflow-promote-staging-to-production.yml@54a6b8a066ac0a59c49e95a866e21b5633e2b1f9
2020
with:
2121
# Keep CPLN_TOKEN_PRODUCTION as a secret on this protected GitHub
2222
# Environment. The caller passes the environment name, the upstream

.github/workflows/cpflow-review-app-help.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@ permissions:
1414

1515
jobs:
1616
show-help:
17-
# This is intentionally unconditional: adding this wrapper opts the repo in
18-
# to PR-open help. Remove the wrapper or add a repo-specific `if:` guard if
19-
# review apps should not be advertised before Control Plane is configured.
20-
uses: shakacode/control-plane-flow/.github/workflows/cpflow-review-app-help.yml@c0ca750c4838dacf6a1d81d52cb151301516cb77
17+
# This is intentionally unconditional: committing this wrapper opts the repo in
18+
# to PR-open help. Remove it, or uncomment and adapt this guard, if forks or
19+
# clones should stay quiet until Control Plane is configured:
20+
# if: vars.REVIEW_APP_PREFIX != '' || vars.CPLN_ORG_STAGING != ''
21+
uses: shakacode/control-plane-flow/.github/workflows/cpflow-review-app-help.yml@54a6b8a066ac0a59c49e95a866e21b5633e2b1f9

0 commit comments

Comments
 (0)