Skip to content

Port 1-084_validate_prune_templates to Ginko#1089

Merged
openshift-merge-bot[bot] merged 2 commits intoredhat-developer:masterfrom
trdoyle81:GTIOPS-7206-1-084-Port_validate_prune_templates-to-ginko
Apr 7, 2026
Merged

Port 1-084_validate_prune_templates to Ginko#1089
openshift-merge-bot[bot] merged 2 commits intoredhat-developer:masterfrom
trdoyle81:GTIOPS-7206-1-084-Port_validate_prune_templates-to-ginko

Conversation

@trdoyle81
Copy link
Copy Markdown
Member

What type of PR is this?

Uncomment only one /kind line, and delete the rest.
For example, > /kind bug would simply become: /kind bug

/kind enhancement

What does this PR do / why we need it:

Porting test from Kuttl to Ginko. The test validates that Argo CD correctly prunes resources with duplicate GroupVersionKinds (GVKs) when executing a sync via the Argo CD CLI

Have you updated the necessary documentation?

  • Documentation update is required by this PR.
  • Documentation has been updated.

Which issue(s) this PR fixes:

Fixes #GITOPS-7206

Test acceptance criteria:

  • Unit Test
  • E2E Test

How to test changes / Special notes to the reviewer:

export GINKGO_TEST_SUITE="sequential"
export GINKGO_TEST="1-084_validate_prune_templates"

./bin/ginkgo -v -focus $GINKGO_TEST -r ./test/openshift/e2e/ginkgo/$GINKGO_TEST_SUITE

@openshift-ci openshift-ci Bot requested review from jannfis and jgwest February 25, 2026 15:50
@trdoyle81 trdoyle81 force-pushed the GTIOPS-7206-1-084-Port_validate_prune_templates-to-ginko branch from 97ca9ab to e001cf0 Compare February 25, 2026 16:06
@trdoyle81
Copy link
Copy Markdown
Member Author

/retest

@trdoyle81
Copy link
Copy Markdown
Member Author

/retest-required

@trdoyle81 trdoyle81 force-pushed the GTIOPS-7206-1-084-Port_validate_prune_templates-to-ginko branch 2 times, most recently from 1d19949 to ac9d0ad Compare March 5, 2026 08:21
app.SetNamespace("openshift-gitops")

// application spec
Expect(unstructured.SetNestedField(app.Object, "default", "spec", "project")).To(Succeed())
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the suggestion. I've changed to use the struct from the argoproj schema for CR creation so it's the same as the 1-120 test.

@trdoyle81 trdoyle81 force-pushed the GTIOPS-7206-1-084-Port_validate_prune_templates-to-ginko branch from f53cd44 to 804715c Compare March 20, 2026 15:23
@trdoyle81
Copy link
Copy Markdown
Member Author

/retest

1 similar comment
@trdoyle81
Copy link
Copy Markdown
Member Author

/retest

@trdoyle81 trdoyle81 force-pushed the GTIOPS-7206-1-084-Port_validate_prune_templates-to-ginko branch from 804715c to 6d7f824 Compare March 31, 2026 11:03
@varshab1210
Copy link
Copy Markdown
Member

/lgtm

@varshab1210
Copy link
Copy Markdown
Member

/approve

@openshift-ci
Copy link
Copy Markdown

openshift-ci Bot commented Mar 31, 2026

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: varshab1210

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@trdoyle81
Copy link
Copy Markdown
Member Author

/test v4.19-kuttl-sequential

@trdoyle81 trdoyle81 force-pushed the GTIOPS-7206-1-084-Port_validate_prune_templates-to-ginko branch from 6d7f824 to dd1e331 Compare April 1, 2026 09:27
@openshift-ci openshift-ci Bot removed the lgtm label Apr 1, 2026
@trdoyle81
Copy link
Copy Markdown
Member Author

/retest

2 similar comments
@trdoyle81
Copy link
Copy Markdown
Member Author

/retest

@trdoyle81
Copy link
Copy Markdown
Member Author

/retest

Triona Doyle added 2 commits April 7, 2026 08:20
Signed-off-by: Triona Doyle <bot@example.com>
Signed-off-by: Triona Doyle <bot@example.com>
@trdoyle81 trdoyle81 force-pushed the GTIOPS-7206-1-084-Port_validate_prune_templates-to-ginko branch from dd1e331 to 1481480 Compare April 7, 2026 07:21
@trdoyle81 trdoyle81 requested a review from varshab1210 April 7, 2026 13:03
@varshab1210
Copy link
Copy Markdown
Member

/lgtm

@openshift-ci openshift-ci Bot added the lgtm label Apr 7, 2026
@openshift-merge-bot openshift-merge-bot Bot merged commit 9ee56b4 into redhat-developer:master Apr 7, 2026
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants