Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
8b3cc7b
For 1.19.0 build, Pull Ginkgo test cases from argocd-operator repo an…
nas438 Nov 20, 2025
5fb3df4
fix merge conflict in go.mod and go.sum
nas438 Dec 16, 2025
75b1ab5
Update the test
nas438 Nov 21, 2025
24d59fe
For 1.19.0 build, Pull Ginkgo test cases from argocd-operator repo an…
nas438 Nov 20, 2025
f19a368
resolve CI test failures and add ginkgo test for image pull policy
nas438 Nov 24, 2025
724707c
Fix CI failures in sequential tests and improve image updater test st…
nas438 Nov 25, 2025
9affb17
Wait for ArgoCD instance to be available before deploying application…
nas438 Nov 26, 2025
21ce2f9
Revert "Wait for ArgoCD instance to be available before deploying app…
nas438 Nov 27, 2025
b0b2378
fix agent principal test to support cluster-scoped resources
nas438 Dec 1, 2025
e73a3c8
Fix:1-051_validate_argocd_agent_principal_test
nas438 Dec 4, 2025
8aaefd0
Fix CI failures: Update import paths to use local fixtures
nas438 Dec 8, 2025
24298a2
Wait for ArgoCD instance to be available before deploying application…
nas438 Nov 26, 2025
b871785
Revert "Wait for ArgoCD instance to be available before deploying app…
nas438 Nov 27, 2025
93fe072
Add notifications source namespaces test and update fixtures
nas438 Dec 16, 2025
a895331
reverting the changes
nas438 Dec 16, 2025
34f83cf
Fix CI failures in sequential tests and improve image updater test st…
nas438 Nov 25, 2025
5cd343b
Wait for ArgoCD instance to be available before deploying application…
nas438 Nov 26, 2025
e51938d
Revert "Wait for ArgoCD instance to be available before deploying app…
nas438 Nov 27, 2025
834692d
Wait for ArgoCD instance to be available before deploying application…
nas438 Nov 26, 2025
8eb1194
Revert "Wait for ArgoCD instance to be available before deploying app…
nas438 Nov 27, 2025
f26bedb
revert the unwanted test changes
nas438 Dec 16, 2025
cb7aadd
Remove the imagePullPolicy test to avoid the duplication
nas438 Dec 17, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ go 1.24.6

require (
github.com/argoproj-labs/argo-rollouts-manager v0.0.7-0.20251105123110-0c547c7a7765
github.com/argoproj-labs/argocd-image-updater v1.0.1
github.com/argoproj-labs/argocd-operator v0.17.0-rc1.0.20251210102921-30bfe75509a1
github.com/argoproj/argo-cd/v3 v3.1.9
github.com/argoproj/gitops-engine v0.7.1-0.20250905160054-e48120133eec
Expand Down
2 changes: 2 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ github.com/anmitsu/go-shlex v0.0.0-20200514113438-38f4b401e2be h1:9AeTilPcZAjCFI
github.com/anmitsu/go-shlex v0.0.0-20200514113438-38f4b401e2be/go.mod h1:ySMOLuWl6zY27l47sB3qLNK6tF2fkHG55UZxx8oIVo4=
github.com/argoproj-labs/argo-rollouts-manager v0.0.7-0.20251105123110-0c547c7a7765 h1:zVN+W/nQrRB/kB63YcvcCseuiE//sEzNw6Oa8rqiFOs=
github.com/argoproj-labs/argo-rollouts-manager v0.0.7-0.20251105123110-0c547c7a7765/go.mod h1:WPyZkNHZjir/OTt8mrRwcUZKe1euHrHPJsRv1Wp/F/0=
github.com/argoproj-labs/argocd-image-updater v1.0.1 h1:g6WRF33TQ0/CPDndbC97oP0aEqJMEesQenz0Cz8F6XQ=
github.com/argoproj-labs/argocd-image-updater v1.0.1/go.mod h1:PJ+Pb3faVqSzNNs35INUZYtzlaqKvBE2ZgZGdDabJQM=
github.com/argoproj-labs/argocd-operator v0.17.0-rc1.0.20251210102921-30bfe75509a1 h1:eMdriC89IkiQpkbq8ocnHp3KUoM234KbyfYNrorUPYw=
github.com/argoproj-labs/argocd-operator v0.17.0-rc1.0.20251210102921-30bfe75509a1/go.mod h1:JUvpFGuOdBL23437e/IdBsdwUE+69J6LzKQ2Q42ycc0=
github.com/argoproj/argo-cd/v3 v3.1.9 h1:9P9vJKo1RGWu6mtQnGu61r+0h3XKlA2j3kVhwogUQ/0=
Expand Down
41 changes: 23 additions & 18 deletions test/openshift/e2e/ginkgo/fixture/utils/fixtureUtils.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,19 +8,12 @@ import (
"k8s.io/client-go/tools/clientcmd"
"sigs.k8s.io/controller-runtime/pkg/client"

argov1beta1api "github.com/argoproj-labs/argocd-operator/api/v1beta1"
argocdv1alpha1 "github.com/argoproj/argo-cd/v3/pkg/apis/application/v1alpha1"

osappsv1 "github.com/openshift/api/apps/v1"
olmv1alpha1 "github.com/operator-framework/api/pkg/operators/v1alpha1"

rolloutmanagerv1alpha1 "github.com/argoproj-labs/argo-rollouts-manager/api/v1alpha1"
argov1alpha1api "github.com/argoproj-labs/argocd-operator/api/v1alpha1"
consolev1 "github.com/openshift/api/console/v1"
routev1 "github.com/openshift/api/route/v1"
securityv1 "github.com/openshift/api/security/v1"
monitoringv1 "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1"
gitopsoperatorv1alpha1 "github.com/redhat-developer/gitops-operator/api/v1alpha1"
admissionv1 "k8s.io/api/admissionregistration/v1"
apps "k8s.io/api/apps/v1"
autoscalingv2 "k8s.io/api/autoscaling/v2"
Expand All @@ -30,6 +23,14 @@ import (
rbacv1 "k8s.io/api/rbac/v1"
crdv1 "k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1"

rolloutmanagerv1alpha1 "github.com/argoproj-labs/argo-rollouts-manager/api/v1alpha1"
imageUpdater "github.com/argoproj-labs/argocd-image-updater/api/v1alpha1"
olmv1alpha1 "github.com/operator-framework/api/pkg/operators/v1alpha1"
gitopsoperatorv1alpha1 "github.com/redhat-developer/gitops-operator/api/v1alpha1"

argov1alpha1api "github.com/argoproj-labs/argocd-operator/api/v1alpha1"
argov1beta1api "github.com/argoproj-labs/argocd-operator/api/v1beta1"

//lint:ignore ST1001 "This is a common practice in Gomega tests for readability."
. "github.com/onsi/gomega" //nolint:all
)
Expand Down Expand Up @@ -94,14 +95,6 @@ func getKubeClient(config *rest.Config) (client.Client, *runtime.Scheme, error)
return nil, nil, err
}

if err := gitopsoperatorv1alpha1.AddToScheme(scheme); err != nil {
return nil, nil, err
}

if err := olmv1alpha1.AddToScheme(scheme); err != nil {
return nil, nil, err
}

if err := routev1.AddToScheme(scheme); err != nil {
return nil, nil, err
}
Expand All @@ -113,9 +106,6 @@ func getKubeClient(config *rest.Config) (client.Client, *runtime.Scheme, error)
if err := consolev1.AddToScheme(scheme); err != nil {
return nil, nil, err
}
if err := rolloutmanagerv1alpha1.AddToScheme(scheme); err != nil {
return nil, nil, err
}

if err := argov1alpha1api.AddToScheme(scheme); err != nil {
return nil, nil, err
Expand All @@ -137,6 +127,21 @@ func getKubeClient(config *rest.Config) (client.Client, *runtime.Scheme, error)
return nil, nil, err
}

if err := imageUpdater.AddToScheme(scheme); err != nil {
return nil, nil, err
}

if err := olmv1alpha1.AddToScheme(scheme); err != nil {
return nil, nil, err
}

if err := gitopsoperatorv1alpha1.AddToScheme(scheme); err != nil {
return nil, nil, err
}

if err := rolloutmanagerv1alpha1.AddToScheme(scheme); err != nil {
return nil, nil, err
}
k8sClient, err := client.New(config, client.Options{Scheme: scheme})
if err != nil {
return nil, nil, err
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,19 +20,20 @@ import (
"context"
"strings"

argov1beta1api "github.com/argoproj-labs/argocd-operator/api/v1beta1"
"github.com/google/uuid"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
"github.com/redhat-developer/gitops-operator/test/openshift/e2e/ginkgo/fixture"
argocdFixture "github.com/redhat-developer/gitops-operator/test/openshift/e2e/ginkgo/fixture/argocd"
k8sFixture "github.com/redhat-developer/gitops-operator/test/openshift/e2e/ginkgo/fixture/k8s"
fixtureUtils "github.com/redhat-developer/gitops-operator/test/openshift/e2e/ginkgo/fixture/utils"
appsv1 "k8s.io/api/apps/v1"
corev1 "k8s.io/api/core/v1"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
"k8s.io/utils/ptr"

argov1beta1api "github.com/argoproj-labs/argocd-operator/api/v1beta1"
"github.com/redhat-developer/gitops-operator/test/openshift/e2e/ginkgo/fixture"
argocdFixture "github.com/redhat-developer/gitops-operator/test/openshift/e2e/ginkgo/fixture/argocd"
k8sFixture "github.com/redhat-developer/gitops-operator/test/openshift/e2e/ginkgo/fixture/k8s"
fixtureUtils "github.com/redhat-developer/gitops-operator/test/openshift/e2e/ginkgo/fixture/utils"

"sigs.k8s.io/controller-runtime/pkg/client"
)

Expand Down
Loading