From 7c501b16145bdc8e802db91e71f951a8fd166d0b Mon Sep 17 00:00:00 2001 From: Houzhong Xu Date: Thu, 9 Oct 2025 06:48:05 +0000 Subject: [PATCH] GitOps Test: Add test configuration to hcp1 - Add test_config block with GitOps automation test values - Add gitops_test block for deployment verification - Test automatic deployment via webhook - Timestamp: 2025-10-09T06:45:00Z --- nomad-configs/nodes/hcp1.hcl | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/nomad-configs/nodes/hcp1.hcl b/nomad-configs/nodes/hcp1.hcl index fc81fa1..731d70d 100644 --- a/nomad-configs/nodes/hcp1.hcl +++ b/nomad-configs/nodes/hcp1.hcl @@ -1,9 +1,19 @@ +# GitOps Test Configuration - Auto Update Test +# This is a test configuration to verify GitOps automation +# Added at: 2025-10-09 06:45 UTC datacenter = "dc1" data_dir = "/opt/nomad/data" plugin_dir = "/opt/nomad/plugins" log_level = "INFO" name = "hcp1" +# Test configuration block - meaningless but harmless +test_config { + enabled = true + test_value = "gitops-automation-test" + timestamp = "2025-10-09T06:45:00Z" +} + bind_addr = "hcp1.tailnet-68f9.ts.net" addresses { @@ -115,4 +125,13 @@ telemetry { prometheus_metrics = true publish_allocation_metrics = true publish_node_metrics = true +} + +# Additional test configuration for GitOps verification +# This block will be ignored by Nomad but shows in config +gitops_test { + deployment_id = "test-$(date +%s)" + automation_status = "active" + last_updated = "2025-10-09T06:45:00Z" + test_purpose = "verify-automatic-deployment" } \ No newline at end of file