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: content/blog/2025-08-29-new-common-makefile-structure.adoc
+42Lines changed: 42 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -280,6 +280,48 @@ Ensures you are logged into an OpenShift cluster and that a storage class is ava
280
280
This prevents failed installs due to missing cluster prerequisites.
281
281
Invoked automatically during install but may be run manually for a quick sanity check.
282
282
283
+
=== `make validate-schema`
284
+
285
+
Validates that all `values-*.yaml` files in the pattern directory conform to the clustergroup schema using Helm template validation.
286
+
This helps catch configuration errors early in the development process.
287
+
288
+
The validation process:
289
+
290
+
* Finds all `values-*.yaml` files in the pattern directory
291
+
* Runs `helm template` against each file using the clustergroup chart
292
+
* Reports any files that fail validation with specific error details
293
+
* Provides the exact command to reproduce failures locally
294
+
295
+
==== Overrides
296
+
297
+
[cols="2,2,4,1"]
298
+
|===
299
+
| Ansible var | Environment var | Purpose | Default
300
+
301
+
| `pattern_dir`
302
+
| `PATTERN_DIR`
303
+
| Directory containing the pattern repo to be validated
304
+
| current working directory
305
+
306
+
| `clustergroup_chart`
307
+
| `CLUSTERGROUP_CHART`
308
+
| OCI URL for the clustergroup chart used for validation
309
+
| `oci://quay.io/validatedpatterns/clustergroup`
310
+
311
+
| `extra_helm_opts`
312
+
| `EXTRA_HELM_OPTS`
313
+
| Extra arguments to pass to `helm template` during validation
314
+
| empty
315
+
|===
316
+
317
+
=== `make argo-healthcheck`
318
+
319
+
Validates that all ArgoCD applications in the cluster are in a healthy and synced state.
320
+
321
+
This target uses `oc` commands to query the status of ArgoCD applications and reports any that are not both healthy and synced. It operates against the cluster you are currently logged into—you can verify your current cluster context with `oc whoami --show-console`.
322
+
323
+
This is useful for verifying that your pattern deployment has completed successfully and all applications are running as expected.
0 commit comments