You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+4-2Lines changed: 4 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -270,7 +270,8 @@ mainBranch: 'main'
270
270
271
271
## Stages
272
272
The GitOps-build-lib supports builds on multiple stages. A stage is defined by a name and contains a namespace (used to
273
-
generate the resources) and a deployment-flag.
273
+
generate the resources) and a deployment-flag. If no stages is passed into the gitops-config by the user, the default
274
+
is set to:
274
275
275
276
```groovy
276
277
def gitopsConfig = [
@@ -287,8 +288,9 @@ def gitopsConfig = [
287
288
]
288
289
```
289
290
291
+
The defaults above can be overwritten by providing an entry for 'stages' within your config.
290
292
If it is set to deploy directly it will commit and push to your desired `gitops-folder` and therefore triggers a deployment. If it is set to false
291
-
it will create a PR on your `gitops-folder`. **Remember** there are [ipmortant](#important-note) conventions regarding namespaces and the folder structure.
293
+
it will create a PR on your `gitops-folder`. **Remember** there are [important](#important-note) conventions regarding namespaces and the folder structure.
0 commit comments