diff --git a/k8s/git-commit.yaml b/k8s/git-commit.yaml index cd7a07d..281676d 100644 --- a/k8s/git-commit.yaml +++ b/k8s/git-commit.yaml @@ -9,6 +9,6 @@ metadata: app.kubernetes.io/name: poimen app.kubernetes.io/component: orchestrator data: - GIT_COMMIT: "9fb58ae" # Updated automatically by CI/CD + GIT_COMMIT: "4388820" # Updated automatically by CI/CD GIT_BRANCH: "main" DEPLOYMENT_DATE: "2026-08-26" diff --git a/k8s/worker-deployment.yaml b/k8s/worker-deployment.yaml index 8b39db9..78fcbfd 100644 --- a/k8s/worker-deployment.yaml +++ b/k8s/worker-deployment.yaml @@ -13,7 +13,7 @@ spec: labels: app: poimen-worker annotations: - git-commit: "9fb58ae" # ✅ Updated on each push, triggers rolling restart + git-commit: "4388820" # ✅ Updated on each push, triggers rolling restart deployment-date: "2026-08-26" spec: containers: diff --git a/tests/types_test.go b/tests/types_test.go index 776ca30..79d360e 100644 --- a/tests/types_test.go +++ b/tests/types_test.go @@ -83,12 +83,14 @@ func TestOrchestratorConfig(t *testing.T) { func TestTaskUnitInput(t *testing.T) { input := statemachine.TaskUnitInput{ TaskID: "T0.1", + RemoteURL: "https://github.com/example/repo", TargetRepoPath: "/tmp/repo", - BaseTimeout: 10 * time.Minute, - MaxJudgeRetries: 3, + Milestone: "v1.0", + DryRun: false, } assert.Equal(t, "T0.1", input.TaskID) + assert.Equal(t, "https://github.com/example/repo", input.RemoteURL) assert.Equal(t, "/tmp/repo", input.TargetRepoPath) - assert.Equal(t, 10*time.Minute, input.BaseTimeout) - assert.Equal(t, 3, input.MaxJudgeRetries) + assert.Equal(t, "v1.0", input.Milestone) + assert.Equal(t, false, input.DryRun) }