Skip to content

Commit f210b6d

Browse files
authored
Merge pull request #608 from dminnear-rh/update-makefile-common-blogpost
update blog post with information about new makefile targets
2 parents fbb1cc1 + 689e075 commit f210b6d

File tree

1 file changed

+42
-0
lines changed

1 file changed

+42
-0
lines changed

content/blog/2025-08-29-new-common-makefile-structure.adoc

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -280,6 +280,48 @@ Ensures you are logged into an OpenShift cluster and that a storage class is ava
280280
This prevents failed installs due to missing cluster prerequisites.
281281
Invoked automatically during install but may be run manually for a quick sanity check.
282282

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.
324+
283325
[[make-load-secrets]]
284326
=== `make load-secrets`
285327

0 commit comments

Comments
 (0)