Skip to content

Commit

Permalink
Document the nuance of the auto-release flag
Browse files Browse the repository at this point in the history
It means different things on the RP and RPA.
  • Loading branch information
ralphbean committed Sep 13, 2024
1 parent 074aa49 commit dbb39e2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ When an application is ready for release, the Development team contacts the owne
apiVersion: appstudio.redhat.com/v1alpha1
kind: ReleasePlanAdmission
metadata:
labels:
release.appstudio.openshift.io/auto-release: 'true' <.>
name: sre-production <.>
namespace: managed-workspace <.>
spec:
Expand All @@ -40,6 +42,7 @@ spec:
----

+
<.> Optional: Control whether or not this ReleasePlanAdmission is entirely disabled. If set to false, attempted releases will fail with a validation error. Defaults to true.
<.> The name of the release plan admission.
<.> The Managed environment team's workspace.
<.> A list of applications that you want to enable to be deployed in the managed workspace.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ apiVersion: appstudio.redhat.com/v1alpha1
kind: ReleasePlan
metadata:
labels:
release.appstudio.openshift.io/auto-release: 'true'
release.appstudio.openshift.io/auto-release: 'true' <.>
release.appstudio.openshift.io/standing-attribution: 'true'
release.appstudio.openshift.io/releasePlanAdmission: 'rpa-name' <.>
name: sre-production <.>
Expand All @@ -39,6 +39,7 @@ spec:
----

+
<.> Optional: Control if Releases should be created automatically for this ReleasePlan when tests pass. Defaults to true.
<.> Optional: The name of the RPA to use if more than one RPA references the specified application.
<.> The name of the release plan.
<.> The development team's workspace.
Expand Down

0 comments on commit dbb39e2

Please sign in to comment.