From bcc0243f1ee93edaa2a427e6aed6b69b4457678b Mon Sep 17 00:00:00 2001 From: Leonardo Luz Almeida Date: Tue, 23 Sep 2025 10:05:42 -0400 Subject: [PATCH 1/2] prepare repo for migration to ArgoCD repo Signed-off-by: Leonardo Luz Almeida --- .github/CODEOWNERS | 10 -- .github/dependabot.yml | 26 ---- .github/workflows/ci.yaml | 30 ---- .gitignore | 7 - .golangci.yaml | 129 ------------------ codecov.yml | 6 - Dockerfile => gitops-engine/Dockerfile | 0 LICENSE => gitops-engine/LICENSE | 0 gitops-engine/Makefile | 32 +++++ OWNERS => gitops-engine/OWNERS | 0 README.md => gitops-engine/README.md | 0 {agent => gitops-engine/agent}/README.md | 0 {agent => gitops-engine/agent}/main.go | 0 .../manifests/base/gitops-agent-deploy.yaml | 0 .../manifests/base/gitops-agent-sa.yaml | 0 .../agent}/manifests/base/kustomization.yaml | 0 .../gitops-agent-cluster-role-binding.yaml | 0 .../gitops-agent-cluster-role.yaml | 0 .../cluster-install/kustomization.yaml | 0 .../agent}/manifests/install-namespaced.yaml | 0 .../agent}/manifests/install.yaml | 0 .../gitops-agent-deployment-overlay.yaml | 0 .../gitops-agent-role-binding.yaml | 0 .../namespace-install/gitops-agent-role.yaml | 0 .../namespace-install/kustomization.yaml | 0 {docs => gitops-engine/docs}/faq.md | 0 {docs => gitops-engine/docs}/releasing.md | 0 go.mod => gitops-engine/go.mod | 0 go.sum => gitops-engine/go.sum | 0 .../hack}/update_static_schema.sh | 0 .../pkg/api/v1/endpoints/util.go | 0 .../kubernetes_vendor/pkg/util/hash/hash.go | 0 {pkg => gitops-engine/pkg}/cache/cluster.go | 0 .../pkg}/cache/cluster_test.go | 0 {pkg => gitops-engine/pkg}/cache/doc.go | 0 .../pkg}/cache/mocks/ClusterCache.go | 0 .../pkg}/cache/predicates.go | 0 .../pkg}/cache/predicates_test.go | 0 .../pkg}/cache/references.go | 0 .../pkg}/cache/references_test.go | 0 {pkg => gitops-engine/pkg}/cache/resource.go | 0 .../pkg}/cache/resource_test.go | 0 {pkg => gitops-engine/pkg}/cache/settings.go | 0 .../pkg}/cache/settings_test.go | 0 {pkg => gitops-engine/pkg}/diff/diff.go | 0 .../pkg}/diff/diff_options.go | 0 {pkg => gitops-engine/pkg}/diff/diff_test.go | 0 .../pkg}/diff/internal/fieldmanager/README | 0 .../internal/fieldmanager/borrowed_fields.go | 0 .../fieldmanager/borrowed_managedfields.go | 0 .../fieldmanager/borrowed_typeconverter.go | 0 .../fieldmanager/borrowed_versionconverter.go | 0 .../pkg}/diff/internal/fieldmanager/doc.go | 0 .../diff/internal/fieldmanager/wrapper.go | 0 .../pkg}/diff/mocks/ServerSideDryRunner.go | 0 .../testdata/aggr-clusterrole-config.json | 0 .../diff/testdata/aggr-clusterrole-live.json | 0 .../pkg}/diff/testdata/data.go | 0 .../pkg}/diff/testdata/deployment-config.json | 0 .../pkg}/diff/testdata/deployment-live.json | 0 .../diff/testdata/elasticsearch-config.json | 0 .../diff/testdata/elasticsearch-live.json | 0 .../pkg}/diff/testdata/endpoints-config.json | 0 .../pkg}/diff/testdata/endpoints-live.json | 0 .../testdata/grafana-clusterrole-config.json | 0 .../testdata/grafana-clusterrole-live.json | 0 .../mutatingwebhookconfig-config.json | 0 .../testdata/mutatingwebhookconfig-live.json | 0 .../pkg}/diff/testdata/openapiv2.bin | 0 .../diff/testdata/sealedsecret-config.json | 0 .../pkg}/diff/testdata/sealedsecret-live.json | 0 .../pkg}/diff/testdata/smd-deploy-config.yaml | 0 .../pkg}/diff/testdata/smd-deploy-live.yaml | 0 .../diff/testdata/smd-deploy2-config.yaml | 0 .../pkg}/diff/testdata/smd-deploy2-live.yaml | 0 .../testdata/smd-deploy2-predicted-live.json | 0 .../testdata/smd-service-config-2-ports.yaml | 0 .../testdata/smd-service-config-ports.yaml | 0 .../diff/testdata/smd-service-config.yaml | 0 .../testdata/smd-service-live-with-type.yaml | 0 .../pkg}/diff/testdata/smd-service-live.yaml | 0 .../diff/testdata/spinnaker-sa-config.json | 0 .../pkg}/diff/testdata/spinnaker-sa-live.json | 0 .../testdata/ssd-deploy-nested-config.yaml | 0 .../diff/testdata/ssd-deploy-nested-live.yaml | 0 .../ssd-deploy-nested-predicted-live.json | 0 .../ssd-deploy-with-manual-apply-config.yaml | 0 .../ssd-deploy-with-manual-apply-live.yaml | 0 ...ploy-with-manual-apply-predicted-live.json | 0 .../diff/testdata/ssd-service-config.yaml | 0 .../pkg}/diff/testdata/ssd-service-live.yaml | 0 .../testdata/ssd-service-predicted-live.json | 0 .../diff/testdata/ssd-svc-label-live.yaml | 0 .../testdata/ssd-svc-no-label-config.yaml | 0 .../ssd-svc-no-label-predicted-live.json | 0 .../pkg}/diff/testdata/wordpress-config.json | 0 .../pkg}/diff/testdata/wordpress-live.json | 0 {pkg => gitops-engine/pkg}/engine/engine.go | 0 .../pkg}/engine/engine_options.go | 0 {pkg => gitops-engine/pkg}/health/health.go | 0 .../pkg}/health/health_apiservice.go | 0 .../pkg}/health/health_argo.go | 0 .../pkg}/health/health_daemonset.go | 0 .../pkg}/health/health_deployment.go | 0 .../pkg}/health/health_hpa.go | 0 .../pkg}/health/health_ingress.go | 0 .../pkg}/health/health_job.go | 0 .../pkg}/health/health_pod.go | 0 .../pkg}/health/health_pvc.go | 0 .../pkg}/health/health_replicaset.go | 0 .../pkg}/health/health_service.go | 0 .../pkg}/health/health_statefulset.go | 0 .../pkg}/health/health_test.go | 0 .../health/testdata/apiservice-v1-false.yaml | 0 .../health/testdata/apiservice-v1-true.yaml | 0 .../testdata/apiservice-v1beta1-false.yaml | 0 .../testdata/apiservice-v1beta1-true.yaml | 0 .../health/testdata/application-degraded.yaml | 0 .../health/testdata/application-healthy.yaml | 0 .../health/testdata/daemonset-ondelete.yaml | 0 .../health/testdata/deployment-degraded.yaml | 0 .../testdata/deployment-progressing.yaml | 0 .../health/testdata/deployment-suspended.yaml | 0 .../pkg}/health/testdata/hpa-v1-degraded.yaml | 0 .../testdata/hpa-v1-healthy-toofew.yaml | 0 .../pkg}/health/testdata/hpa-v1-healthy.yaml | 0 ...pa-v1-progressing-with-no-annotations.yaml | 0 .../health/testdata/hpa-v1-progressing.yaml | 0 .../pkg}/health/testdata/hpa-v2-degraded.yaml | 0 .../pkg}/health/testdata/hpa-v2-healthy.yaml | 0 .../health/testdata/hpa-v2-progressing.yaml | 0 .../hpa-v2beta1-healthy-disabled.yaml | 0 .../health/testdata/hpa-v2beta1-healthy.yaml | 0 .../health/testdata/hpa-v2beta2-healthy.yaml | 0 .../health/testdata/ingress-nonemptylist.yaml | 0 .../health/testdata/ingress-unassigned.yaml | 0 .../pkg}/health/testdata/ingress.yaml | 0 .../pkg}/health/testdata/job-failed.yaml | 0 .../pkg}/health/testdata/job-running.yaml | 0 .../pkg}/health/testdata/job-succeeded.yaml | 0 .../pkg}/health/testdata/job-suspended.yaml | 0 .../pkg}/health/testdata/knative-service.yaml | 0 .../pkg}/health/testdata/pod-crashloop.yaml | 0 .../pkg}/health/testdata/pod-deletion.yaml | 0 .../pkg}/health/testdata/pod-error.yaml | 0 .../pkg}/health/testdata/pod-failed.yaml | 0 .../health/testdata/pod-imagepullbackoff.yaml | 0 .../pkg}/health/testdata/pod-pending.yaml | 0 .../testdata/pod-running-not-ready.yaml | 0 .../testdata/pod-running-restart-always.yaml | 0 .../testdata/pod-running-restart-never.yaml | 0 .../pod-running-restart-onfailure.yaml | 0 .../pkg}/health/testdata/pod-succeeded.yaml | 0 .../pkg}/health/testdata/pvc-bound.yaml | 0 .../pkg}/health/testdata/pvc-pending.yaml | 0 .../health/testdata/statefulset-ondelete.yaml | 0 .../pkg}/health/testdata/statefulset.yaml | 0 .../pkg}/health/testdata/svc-clusterip.yaml | 0 .../svc-loadbalancer-nonemptylist.yaml | 0 .../testdata/svc-loadbalancer-unassigned.yaml | 0 .../health/testdata/svc-loadbalancer.yaml | 0 .../pkg}/sync/common/types.go | 0 .../pkg}/sync/common/types_test.go | 0 {pkg => gitops-engine/pkg}/sync/doc.go | 0 .../pkg}/sync/hook/delete_policy.go | 0 .../pkg}/sync/hook/delete_policy_test.go | 0 .../pkg}/sync/hook/helm/delete_policy.go | 0 .../pkg}/sync/hook/helm/delete_policy_test.go | 0 .../pkg}/sync/hook/helm/hook.go | 0 .../pkg}/sync/hook/helm/hook_test.go | 0 .../pkg}/sync/hook/helm/type.go | 0 .../pkg}/sync/hook/helm/type_test.go | 0 .../pkg}/sync/hook/helm/weight.go | 0 .../pkg}/sync/hook/helm/weight_test.go | 0 {pkg => gitops-engine/pkg}/sync/hook/hook.go | 0 .../pkg}/sync/hook/hook_test.go | 0 .../pkg}/sync/ignore/ignore.go | 0 .../pkg}/sync/ignore/ignore_test.go | 0 {pkg => gitops-engine/pkg}/sync/reconcile.go | 0 .../pkg}/sync/reconcile_test.go | 0 .../pkg}/sync/resource/annotations.go | 0 .../pkg}/sync/resource/annotations_test.go | 0 .../pkg}/sync/sync_context.go | 0 .../pkg}/sync/sync_context_test.go | 0 {pkg => gitops-engine/pkg}/sync/sync_phase.go | 0 .../pkg}/sync/sync_phase_test.go | 0 {pkg => gitops-engine/pkg}/sync/sync_task.go | 0 .../pkg}/sync/sync_task_test.go | 0 {pkg => gitops-engine/pkg}/sync/sync_tasks.go | 0 .../pkg}/sync/sync_tasks_test.go | 0 .../pkg}/sync/syncwaves/waves.go | 0 .../pkg}/sync/syncwaves/waves_test.go | 0 {pkg => gitops-engine/pkg}/utils/io/io.go | 0 {pkg => gitops-engine/pkg}/utils/json/json.go | 0 .../pkg}/utils/kube/convert.go | 0 .../pkg}/utils/kube/convert_test.go | 0 {pkg => gitops-engine/pkg}/utils/kube/ctl.go | 0 .../pkg}/utils/kube/ctl_test.go | 0 {pkg => gitops-engine/pkg}/utils/kube/kube.go | 0 .../pkg}/utils/kube/kube_test.go | 0 .../pkg}/utils/kube/kubetest/mock.go | 0 .../kube/kubetest/mock_resource_operations.go | 0 .../pkg}/utils/kube/resource_filter.go | 0 .../pkg}/utils/kube/resource_ops.go | 0 .../pkg}/utils/kube/scheme/parser.go | 0 .../pkg}/utils/kube/scheme/scheme.go | 0 .../pkg}/utils/kube/scheme/typed.go | 0 .../utils/kube/testdata/appsdeployment.yaml | 0 .../pkg}/utils/kube/testdata/cr.yaml | 0 .../kube/testdata/extensionsdeployment.yaml | 0 .../pkg}/utils/kube/testdata/nginx.yaml | 0 .../pkg}/utils/kube/testdata/openapi_v2.json | 0 .../pkg}/utils/kube/testdata/v1HPA.yaml | 0 .../pkg}/utils/kube/testdata/v2beta1HPA.yaml | 0 .../pkg}/utils/kube/uniqueprotomodels.go | 0 .../pkg}/utils/testing/testdata.go | 0 .../pkg}/utils/testing/unstructured.go | 0 {pkg => gitops-engine/pkg}/utils/text/text.go | 0 .../pkg}/utils/tracing/api.go | 0 .../pkg}/utils/tracing/logging.go | 0 .../pkg}/utils/tracing/logging_test.go | 0 .../pkg}/utils/tracing/nop.go | 0 .../pkg}/utils/tracing/tracer_testing/doc.go | 0 .../utils/tracing/tracer_testing/logger.go | 0 .../specs}/deployment-repo-update.md | 0 .../specs}/design-bottom-up.md | 0 .../specs}/design-top-down.md | 0 {specs => gitops-engine/specs}/design.md | 0 .../specs}/image-update-monitoring.md | 0 {specs => gitops-engine/specs}/template.md | 0 sonar-project.properties | 2 - 231 files changed, 32 insertions(+), 210 deletions(-) delete mode 100644 .github/CODEOWNERS delete mode 100644 .github/dependabot.yml delete mode 100644 .github/workflows/ci.yaml delete mode 100644 .gitignore delete mode 100644 .golangci.yaml delete mode 100644 codecov.yml rename Dockerfile => gitops-engine/Dockerfile (100%) rename LICENSE => gitops-engine/LICENSE (100%) create mode 100644 gitops-engine/Makefile rename OWNERS => gitops-engine/OWNERS (100%) rename README.md => gitops-engine/README.md (100%) rename {agent => gitops-engine/agent}/README.md (100%) rename {agent => gitops-engine/agent}/main.go (100%) rename {agent => gitops-engine/agent}/manifests/base/gitops-agent-deploy.yaml (100%) rename {agent => gitops-engine/agent}/manifests/base/gitops-agent-sa.yaml (100%) rename {agent => gitops-engine/agent}/manifests/base/kustomization.yaml (100%) rename {agent => gitops-engine/agent}/manifests/cluster-install/gitops-agent-cluster-role-binding.yaml (100%) rename {agent => gitops-engine/agent}/manifests/cluster-install/gitops-agent-cluster-role.yaml (100%) rename {agent => gitops-engine/agent}/manifests/cluster-install/kustomization.yaml (100%) rename {agent => gitops-engine/agent}/manifests/install-namespaced.yaml (100%) rename {agent => gitops-engine/agent}/manifests/install.yaml (100%) rename {agent => gitops-engine/agent}/manifests/namespace-install/gitops-agent-deployment-overlay.yaml (100%) rename {agent => gitops-engine/agent}/manifests/namespace-install/gitops-agent-role-binding.yaml (100%) rename {agent => gitops-engine/agent}/manifests/namespace-install/gitops-agent-role.yaml (100%) rename {agent => gitops-engine/agent}/manifests/namespace-install/kustomization.yaml (100%) rename {docs => gitops-engine/docs}/faq.md (100%) rename {docs => gitops-engine/docs}/releasing.md (100%) rename go.mod => gitops-engine/go.mod (100%) rename go.sum => gitops-engine/go.sum (100%) rename {hack => gitops-engine/hack}/update_static_schema.sh (100%) rename {internal => gitops-engine/internal}/kubernetes_vendor/pkg/api/v1/endpoints/util.go (100%) rename {internal => gitops-engine/internal}/kubernetes_vendor/pkg/util/hash/hash.go (100%) rename {pkg => gitops-engine/pkg}/cache/cluster.go (100%) rename {pkg => gitops-engine/pkg}/cache/cluster_test.go (100%) rename {pkg => gitops-engine/pkg}/cache/doc.go (100%) rename {pkg => gitops-engine/pkg}/cache/mocks/ClusterCache.go (100%) rename {pkg => gitops-engine/pkg}/cache/predicates.go (100%) rename {pkg => gitops-engine/pkg}/cache/predicates_test.go (100%) rename {pkg => gitops-engine/pkg}/cache/references.go (100%) rename {pkg => gitops-engine/pkg}/cache/references_test.go (100%) rename {pkg => gitops-engine/pkg}/cache/resource.go (100%) rename {pkg => gitops-engine/pkg}/cache/resource_test.go (100%) rename {pkg => gitops-engine/pkg}/cache/settings.go (100%) rename {pkg => gitops-engine/pkg}/cache/settings_test.go (100%) rename {pkg => gitops-engine/pkg}/diff/diff.go (100%) rename {pkg => gitops-engine/pkg}/diff/diff_options.go (100%) rename {pkg => gitops-engine/pkg}/diff/diff_test.go (100%) rename {pkg => gitops-engine/pkg}/diff/internal/fieldmanager/README (100%) rename {pkg => gitops-engine/pkg}/diff/internal/fieldmanager/borrowed_fields.go (100%) rename {pkg => gitops-engine/pkg}/diff/internal/fieldmanager/borrowed_managedfields.go (100%) rename {pkg => gitops-engine/pkg}/diff/internal/fieldmanager/borrowed_typeconverter.go (100%) rename {pkg => gitops-engine/pkg}/diff/internal/fieldmanager/borrowed_versionconverter.go (100%) rename {pkg => gitops-engine/pkg}/diff/internal/fieldmanager/doc.go (100%) rename {pkg => gitops-engine/pkg}/diff/internal/fieldmanager/wrapper.go (100%) rename {pkg => gitops-engine/pkg}/diff/mocks/ServerSideDryRunner.go (100%) rename {pkg => gitops-engine/pkg}/diff/testdata/aggr-clusterrole-config.json (100%) rename {pkg => gitops-engine/pkg}/diff/testdata/aggr-clusterrole-live.json (100%) rename {pkg => gitops-engine/pkg}/diff/testdata/data.go (100%) rename {pkg => gitops-engine/pkg}/diff/testdata/deployment-config.json (100%) rename {pkg => gitops-engine/pkg}/diff/testdata/deployment-live.json (100%) rename {pkg => gitops-engine/pkg}/diff/testdata/elasticsearch-config.json (100%) rename {pkg => gitops-engine/pkg}/diff/testdata/elasticsearch-live.json (100%) rename {pkg => gitops-engine/pkg}/diff/testdata/endpoints-config.json (100%) rename {pkg => gitops-engine/pkg}/diff/testdata/endpoints-live.json (100%) rename {pkg => gitops-engine/pkg}/diff/testdata/grafana-clusterrole-config.json (100%) rename {pkg => gitops-engine/pkg}/diff/testdata/grafana-clusterrole-live.json (100%) rename {pkg => gitops-engine/pkg}/diff/testdata/mutatingwebhookconfig-config.json (100%) rename {pkg => gitops-engine/pkg}/diff/testdata/mutatingwebhookconfig-live.json (100%) rename {pkg => gitops-engine/pkg}/diff/testdata/openapiv2.bin (100%) rename {pkg => gitops-engine/pkg}/diff/testdata/sealedsecret-config.json (100%) rename {pkg => gitops-engine/pkg}/diff/testdata/sealedsecret-live.json (100%) rename {pkg => gitops-engine/pkg}/diff/testdata/smd-deploy-config.yaml (100%) rename {pkg => gitops-engine/pkg}/diff/testdata/smd-deploy-live.yaml (100%) rename {pkg => gitops-engine/pkg}/diff/testdata/smd-deploy2-config.yaml (100%) rename {pkg => gitops-engine/pkg}/diff/testdata/smd-deploy2-live.yaml (100%) rename {pkg => gitops-engine/pkg}/diff/testdata/smd-deploy2-predicted-live.json (100%) rename {pkg => gitops-engine/pkg}/diff/testdata/smd-service-config-2-ports.yaml (100%) rename {pkg => gitops-engine/pkg}/diff/testdata/smd-service-config-ports.yaml (100%) rename {pkg => gitops-engine/pkg}/diff/testdata/smd-service-config.yaml (100%) rename {pkg => gitops-engine/pkg}/diff/testdata/smd-service-live-with-type.yaml (100%) rename {pkg => gitops-engine/pkg}/diff/testdata/smd-service-live.yaml (100%) rename {pkg => gitops-engine/pkg}/diff/testdata/spinnaker-sa-config.json (100%) rename {pkg => gitops-engine/pkg}/diff/testdata/spinnaker-sa-live.json (100%) rename {pkg => gitops-engine/pkg}/diff/testdata/ssd-deploy-nested-config.yaml (100%) rename {pkg => gitops-engine/pkg}/diff/testdata/ssd-deploy-nested-live.yaml (100%) rename {pkg => gitops-engine/pkg}/diff/testdata/ssd-deploy-nested-predicted-live.json (100%) rename {pkg => gitops-engine/pkg}/diff/testdata/ssd-deploy-with-manual-apply-config.yaml (100%) rename {pkg => gitops-engine/pkg}/diff/testdata/ssd-deploy-with-manual-apply-live.yaml (100%) rename {pkg => gitops-engine/pkg}/diff/testdata/ssd-deploy-with-manual-apply-predicted-live.json (100%) rename {pkg => gitops-engine/pkg}/diff/testdata/ssd-service-config.yaml (100%) rename {pkg => gitops-engine/pkg}/diff/testdata/ssd-service-live.yaml (100%) rename {pkg => gitops-engine/pkg}/diff/testdata/ssd-service-predicted-live.json (100%) rename {pkg => gitops-engine/pkg}/diff/testdata/ssd-svc-label-live.yaml (100%) rename {pkg => gitops-engine/pkg}/diff/testdata/ssd-svc-no-label-config.yaml (100%) rename {pkg => gitops-engine/pkg}/diff/testdata/ssd-svc-no-label-predicted-live.json (100%) rename {pkg => gitops-engine/pkg}/diff/testdata/wordpress-config.json (100%) rename {pkg => gitops-engine/pkg}/diff/testdata/wordpress-live.json (100%) rename {pkg => gitops-engine/pkg}/engine/engine.go (100%) rename {pkg => gitops-engine/pkg}/engine/engine_options.go (100%) rename {pkg => gitops-engine/pkg}/health/health.go (100%) rename {pkg => gitops-engine/pkg}/health/health_apiservice.go (100%) rename {pkg => gitops-engine/pkg}/health/health_argo.go (100%) rename {pkg => gitops-engine/pkg}/health/health_daemonset.go (100%) rename {pkg => gitops-engine/pkg}/health/health_deployment.go (100%) rename {pkg => gitops-engine/pkg}/health/health_hpa.go (100%) rename {pkg => gitops-engine/pkg}/health/health_ingress.go (100%) rename {pkg => gitops-engine/pkg}/health/health_job.go (100%) rename {pkg => gitops-engine/pkg}/health/health_pod.go (100%) rename {pkg => gitops-engine/pkg}/health/health_pvc.go (100%) rename {pkg => gitops-engine/pkg}/health/health_replicaset.go (100%) rename {pkg => gitops-engine/pkg}/health/health_service.go (100%) rename {pkg => gitops-engine/pkg}/health/health_statefulset.go (100%) rename {pkg => gitops-engine/pkg}/health/health_test.go (100%) rename {pkg => gitops-engine/pkg}/health/testdata/apiservice-v1-false.yaml (100%) rename {pkg => gitops-engine/pkg}/health/testdata/apiservice-v1-true.yaml (100%) rename {pkg => gitops-engine/pkg}/health/testdata/apiservice-v1beta1-false.yaml (100%) rename {pkg => gitops-engine/pkg}/health/testdata/apiservice-v1beta1-true.yaml (100%) rename {pkg => gitops-engine/pkg}/health/testdata/application-degraded.yaml (100%) rename {pkg => gitops-engine/pkg}/health/testdata/application-healthy.yaml (100%) rename {pkg => gitops-engine/pkg}/health/testdata/daemonset-ondelete.yaml (100%) rename {pkg => gitops-engine/pkg}/health/testdata/deployment-degraded.yaml (100%) rename {pkg => gitops-engine/pkg}/health/testdata/deployment-progressing.yaml (100%) rename {pkg => gitops-engine/pkg}/health/testdata/deployment-suspended.yaml (100%) rename {pkg => gitops-engine/pkg}/health/testdata/hpa-v1-degraded.yaml (100%) rename {pkg => gitops-engine/pkg}/health/testdata/hpa-v1-healthy-toofew.yaml (100%) rename {pkg => gitops-engine/pkg}/health/testdata/hpa-v1-healthy.yaml (100%) rename {pkg => gitops-engine/pkg}/health/testdata/hpa-v1-progressing-with-no-annotations.yaml (100%) rename {pkg => gitops-engine/pkg}/health/testdata/hpa-v1-progressing.yaml (100%) rename {pkg => gitops-engine/pkg}/health/testdata/hpa-v2-degraded.yaml (100%) rename {pkg => gitops-engine/pkg}/health/testdata/hpa-v2-healthy.yaml (100%) rename {pkg => gitops-engine/pkg}/health/testdata/hpa-v2-progressing.yaml (100%) rename {pkg => gitops-engine/pkg}/health/testdata/hpa-v2beta1-healthy-disabled.yaml (100%) rename {pkg => gitops-engine/pkg}/health/testdata/hpa-v2beta1-healthy.yaml (100%) rename {pkg => gitops-engine/pkg}/health/testdata/hpa-v2beta2-healthy.yaml (100%) rename {pkg => gitops-engine/pkg}/health/testdata/ingress-nonemptylist.yaml (100%) rename {pkg => gitops-engine/pkg}/health/testdata/ingress-unassigned.yaml (100%) rename {pkg => gitops-engine/pkg}/health/testdata/ingress.yaml (100%) rename {pkg => gitops-engine/pkg}/health/testdata/job-failed.yaml (100%) rename {pkg => gitops-engine/pkg}/health/testdata/job-running.yaml (100%) rename {pkg => gitops-engine/pkg}/health/testdata/job-succeeded.yaml (100%) rename {pkg => gitops-engine/pkg}/health/testdata/job-suspended.yaml (100%) rename {pkg => gitops-engine/pkg}/health/testdata/knative-service.yaml (100%) rename {pkg => gitops-engine/pkg}/health/testdata/pod-crashloop.yaml (100%) rename {pkg => gitops-engine/pkg}/health/testdata/pod-deletion.yaml (100%) rename {pkg => gitops-engine/pkg}/health/testdata/pod-error.yaml (100%) rename {pkg => gitops-engine/pkg}/health/testdata/pod-failed.yaml (100%) rename {pkg => gitops-engine/pkg}/health/testdata/pod-imagepullbackoff.yaml (100%) rename {pkg => gitops-engine/pkg}/health/testdata/pod-pending.yaml (100%) rename {pkg => gitops-engine/pkg}/health/testdata/pod-running-not-ready.yaml (100%) rename {pkg => gitops-engine/pkg}/health/testdata/pod-running-restart-always.yaml (100%) rename {pkg => gitops-engine/pkg}/health/testdata/pod-running-restart-never.yaml (100%) rename {pkg => gitops-engine/pkg}/health/testdata/pod-running-restart-onfailure.yaml (100%) rename {pkg => gitops-engine/pkg}/health/testdata/pod-succeeded.yaml (100%) rename {pkg => gitops-engine/pkg}/health/testdata/pvc-bound.yaml (100%) rename {pkg => gitops-engine/pkg}/health/testdata/pvc-pending.yaml (100%) rename {pkg => gitops-engine/pkg}/health/testdata/statefulset-ondelete.yaml (100%) rename {pkg => gitops-engine/pkg}/health/testdata/statefulset.yaml (100%) rename {pkg => gitops-engine/pkg}/health/testdata/svc-clusterip.yaml (100%) rename {pkg => gitops-engine/pkg}/health/testdata/svc-loadbalancer-nonemptylist.yaml (100%) rename {pkg => gitops-engine/pkg}/health/testdata/svc-loadbalancer-unassigned.yaml (100%) rename {pkg => gitops-engine/pkg}/health/testdata/svc-loadbalancer.yaml (100%) rename {pkg => gitops-engine/pkg}/sync/common/types.go (100%) rename {pkg => gitops-engine/pkg}/sync/common/types_test.go (100%) rename {pkg => gitops-engine/pkg}/sync/doc.go (100%) rename {pkg => gitops-engine/pkg}/sync/hook/delete_policy.go (100%) rename {pkg => gitops-engine/pkg}/sync/hook/delete_policy_test.go (100%) rename {pkg => gitops-engine/pkg}/sync/hook/helm/delete_policy.go (100%) rename {pkg => gitops-engine/pkg}/sync/hook/helm/delete_policy_test.go (100%) rename {pkg => gitops-engine/pkg}/sync/hook/helm/hook.go (100%) rename {pkg => gitops-engine/pkg}/sync/hook/helm/hook_test.go (100%) rename {pkg => gitops-engine/pkg}/sync/hook/helm/type.go (100%) rename {pkg => gitops-engine/pkg}/sync/hook/helm/type_test.go (100%) rename {pkg => gitops-engine/pkg}/sync/hook/helm/weight.go (100%) rename {pkg => gitops-engine/pkg}/sync/hook/helm/weight_test.go (100%) rename {pkg => gitops-engine/pkg}/sync/hook/hook.go (100%) rename {pkg => gitops-engine/pkg}/sync/hook/hook_test.go (100%) rename {pkg => gitops-engine/pkg}/sync/ignore/ignore.go (100%) rename {pkg => gitops-engine/pkg}/sync/ignore/ignore_test.go (100%) rename {pkg => gitops-engine/pkg}/sync/reconcile.go (100%) rename {pkg => gitops-engine/pkg}/sync/reconcile_test.go (100%) rename {pkg => gitops-engine/pkg}/sync/resource/annotations.go (100%) rename {pkg => gitops-engine/pkg}/sync/resource/annotations_test.go (100%) rename {pkg => gitops-engine/pkg}/sync/sync_context.go (100%) rename {pkg => gitops-engine/pkg}/sync/sync_context_test.go (100%) rename {pkg => gitops-engine/pkg}/sync/sync_phase.go (100%) rename {pkg => gitops-engine/pkg}/sync/sync_phase_test.go (100%) rename {pkg => gitops-engine/pkg}/sync/sync_task.go (100%) rename {pkg => gitops-engine/pkg}/sync/sync_task_test.go (100%) rename {pkg => gitops-engine/pkg}/sync/sync_tasks.go (100%) rename {pkg => gitops-engine/pkg}/sync/sync_tasks_test.go (100%) rename {pkg => gitops-engine/pkg}/sync/syncwaves/waves.go (100%) rename {pkg => gitops-engine/pkg}/sync/syncwaves/waves_test.go (100%) rename {pkg => gitops-engine/pkg}/utils/io/io.go (100%) rename {pkg => gitops-engine/pkg}/utils/json/json.go (100%) rename {pkg => gitops-engine/pkg}/utils/kube/convert.go (100%) rename {pkg => gitops-engine/pkg}/utils/kube/convert_test.go (100%) rename {pkg => gitops-engine/pkg}/utils/kube/ctl.go (100%) rename {pkg => gitops-engine/pkg}/utils/kube/ctl_test.go (100%) rename {pkg => gitops-engine/pkg}/utils/kube/kube.go (100%) rename {pkg => gitops-engine/pkg}/utils/kube/kube_test.go (100%) rename {pkg => gitops-engine/pkg}/utils/kube/kubetest/mock.go (100%) rename {pkg => gitops-engine/pkg}/utils/kube/kubetest/mock_resource_operations.go (100%) rename {pkg => gitops-engine/pkg}/utils/kube/resource_filter.go (100%) rename {pkg => gitops-engine/pkg}/utils/kube/resource_ops.go (100%) rename {pkg => gitops-engine/pkg}/utils/kube/scheme/parser.go (100%) rename {pkg => gitops-engine/pkg}/utils/kube/scheme/scheme.go (100%) rename {pkg => gitops-engine/pkg}/utils/kube/scheme/typed.go (100%) rename {pkg => gitops-engine/pkg}/utils/kube/testdata/appsdeployment.yaml (100%) rename {pkg => gitops-engine/pkg}/utils/kube/testdata/cr.yaml (100%) rename {pkg => gitops-engine/pkg}/utils/kube/testdata/extensionsdeployment.yaml (100%) rename {pkg => gitops-engine/pkg}/utils/kube/testdata/nginx.yaml (100%) rename {pkg => gitops-engine/pkg}/utils/kube/testdata/openapi_v2.json (100%) rename {pkg => gitops-engine/pkg}/utils/kube/testdata/v1HPA.yaml (100%) rename {pkg => gitops-engine/pkg}/utils/kube/testdata/v2beta1HPA.yaml (100%) rename {pkg => gitops-engine/pkg}/utils/kube/uniqueprotomodels.go (100%) rename {pkg => gitops-engine/pkg}/utils/testing/testdata.go (100%) rename {pkg => gitops-engine/pkg}/utils/testing/unstructured.go (100%) rename {pkg => gitops-engine/pkg}/utils/text/text.go (100%) rename {pkg => gitops-engine/pkg}/utils/tracing/api.go (100%) rename {pkg => gitops-engine/pkg}/utils/tracing/logging.go (100%) rename {pkg => gitops-engine/pkg}/utils/tracing/logging_test.go (100%) rename {pkg => gitops-engine/pkg}/utils/tracing/nop.go (100%) rename {pkg => gitops-engine/pkg}/utils/tracing/tracer_testing/doc.go (100%) rename {pkg => gitops-engine/pkg}/utils/tracing/tracer_testing/logger.go (100%) rename {specs => gitops-engine/specs}/deployment-repo-update.md (100%) rename {specs => gitops-engine/specs}/design-bottom-up.md (100%) rename {specs => gitops-engine/specs}/design-top-down.md (100%) rename {specs => gitops-engine/specs}/design.md (100%) rename {specs => gitops-engine/specs}/image-update-monitoring.md (100%) rename {specs => gitops-engine/specs}/template.md (100%) delete mode 100644 sonar-project.properties diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS deleted file mode 100644 index 40feb4e7e..000000000 --- a/.github/CODEOWNERS +++ /dev/null @@ -1,10 +0,0 @@ -# All -** @argoproj/argocd-approvers - -# Docs -/docs/** @argoproj/argocd-approvers @argoproj/argocd-approvers-docs -/README.md @argoproj/argocd-approvers @argoproj/argocd-approvers-docs - -# CI -/.codecov.yml @argoproj/argocd-approvers @argoproj/argocd-approvers-ci -/.github/** @argoproj/argocd-approvers @argoproj/argocd-approvers-ci diff --git a/.github/dependabot.yml b/.github/dependabot.yml deleted file mode 100644 index 862bf6629..000000000 --- a/.github/dependabot.yml +++ /dev/null @@ -1,26 +0,0 @@ -version: 2 -updates: - - package-ecosystem: "gomod" - directory: "/" - schedule: - interval: "daily" - commit-message: - prefix: "chore(deps)" - groups: - dependencies: - applies-to: version-updates - update-types: - - "minor" - - "patch" - - package-ecosystem: "github-actions" - directory: "/" - schedule: - interval: "daily" - commit-message: - prefix: "chore(deps)" - groups: - dependencies: - applies-to: version-updates - update-types: - - "minor" - - "patch" diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml deleted file mode 100644 index b70ca22a4..000000000 --- a/.github/workflows/ci.yaml +++ /dev/null @@ -1,30 +0,0 @@ -name: CI - -on: - push: - branches: - - 'master' - - 'release-*' - pull_request: - branches: - - 'master' - - 'release-*' -jobs: - test: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 - - uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0 - with: - go-version-file: go.mod - - run: go mod tidy - - run: make test - - name: Run golangci-lint - uses: golangci/golangci-lint-action@4afd733a84b1f43292c63897423277bb7f4313a9 # v8.0.0 - with: - version: v2.1.6 - args: --verbose - - uses: codecov/codecov-action@ad3126e916f78f00edff4ed0317cf185271ccc2d # v5.4.2 - with: - token: ${{ secrets.CODECOV_TOKEN }} #required - files: ./coverage.out diff --git a/.gitignore b/.gitignore deleted file mode 100644 index 72853bf32..000000000 --- a/.gitignore +++ /dev/null @@ -1,7 +0,0 @@ -*.swp -*~ -.vscode -.idea -coverage.out -vendor/ -.tool-versions diff --git a/.golangci.yaml b/.golangci.yaml deleted file mode 100644 index 96a9aeb37..000000000 --- a/.golangci.yaml +++ /dev/null @@ -1,129 +0,0 @@ -version: "2" -linters: - enable: - - errorlint - - gocritic - - gomodguard - - importas - - misspell - - perfsprint - - revive - - testifylint - - thelper - - unparam - - usestdlibvars - - whitespace - - wrapcheck - settings: - gocritic: - disabled-checks: - - appendAssign - - assignOp - - exitAfterDefer - - typeSwitchVar - importas: - alias: - - pkg: k8s.io/api/apps/v1 - alias: appsv1 - - pkg: k8s.io/api/core/v1 - alias: corev1 - - pkg: k8s.io/apimachinery/pkg/api/errors - alias: apierrors - - pkg: k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1 - alias: apiextensionsv1 - - pkg: k8s.io/apimachinery/pkg/apis/meta/v1 - alias: metav1 - - pkg: github.com/argoproj/gitops-engine/pkg/utils/testing - alias: testingutils - perfsprint: - int-conversion: true - err-error: true - errorf: true - sprintf1: true - strconcat: true - revive: - rules: - - name: bool-literal-in-expr - - name: blank-imports - disabled: true - - name: context-as-argument - arguments: - - allowTypesBefore: '*testing.T,testing.TB' - - name: context-keys-type - disabled: true - - name: dot-imports - - name: duplicated-imports - - name: early-return - arguments: - - preserveScope - - name: empty-block - disabled: true - - name: error-naming - disabled: true - - name: error-return - - name: error-strings - disabled: true - - name: errorf - - name: identical-branches - - name: if-return - - name: increment-decrement - - name: indent-error-flow - arguments: - - preserveScope - - name: modifies-parameter - - name: optimize-operands-order - - name: range - - name: receiver-naming - - name: redefines-builtin-id - disabled: true - - name: redundant-import-alias - - name: superfluous-else - arguments: - - preserveScope - - name: time-equal - - name: time-naming - disabled: true - - name: unexported-return - disabled: true - - name: unnecessary-stmt - - name: unreachable-code - - name: unused-parameter - - name: use-any - - name: useless-break - - name: var-declaration - - name: var-naming - disabled: true - testifylint: - enable-all: true - disable: - - go-require - exclusions: - presets: - - comments - - common-false-positives - - legacy - - std-error-handling - paths: - - pkg/diff/internal/fieldmanager/borrowed_.*\.go$ - - internal/kubernetes_vendor - - third_party$ - - builtin$ - - examples$ -issues: - max-issues-per-linter: 0 - max-same-issues: 0 -formatters: - enable: - - gofumpt - - goimports - settings: - goimports: - local-prefixes: - - github.com/argoproj/gitops-engine - exclusions: - paths: - - pkg/diff/internal/fieldmanager/borrowed_.*\.go$ - - internal/kubernetes_vendor - - third_party$ - - builtin$ - - examples$ diff --git a/codecov.yml b/codecov.yml deleted file mode 100644 index ac3b7fcd5..000000000 --- a/codecov.yml +++ /dev/null @@ -1,6 +0,0 @@ -coverage: - status: - patch: off - project: - default: - threshold: 2 \ No newline at end of file diff --git a/Dockerfile b/gitops-engine/Dockerfile similarity index 100% rename from Dockerfile rename to gitops-engine/Dockerfile diff --git a/LICENSE b/gitops-engine/LICENSE similarity index 100% rename from LICENSE rename to gitops-engine/LICENSE diff --git a/gitops-engine/Makefile b/gitops-engine/Makefile new file mode 100644 index 000000000..8c31d4351 --- /dev/null +++ b/gitops-engine/Makefile @@ -0,0 +1,32 @@ +# docker image publishing options +DOCKER_PUSH?=false +IMAGE_NAMESPACE?= +IMAGE_TAG?=latest +ifdef IMAGE_NAMESPACE +IMAGE_PREFIX=${IMAGE_NAMESPACE}/ +endif + +.PHONY: generate +generate: agent-manifests + +.PHONY: test +test: + go test -race ./... -coverprofile=coverage.out + +.PHONY: lint +lint: + golangci-lint run + +.PHONY: agent-image +agent-image: + docker build -t $(IMAGE_PREFIX)gitops-agent . -f Dockerfile + @if [ "$(DOCKER_PUSH)" = "true" ] ; then docker push $(IMAGE_PREFIX)gitops-agent:$(IMAGE_TAG) ; fi + +.PHONY: agent-manifests +agent-manifests: + kustomize build ./agent/manifests/cluster-install > ./agent/manifests/install.yaml + kustomize build ./agent/manifests/namespace-install > ./agent/manifests/install-namespaced.yaml + +.PHONY: generate-mocks +generate-mocks: + go generate -x -v "github.com/argoproj/gitops-engine/pkg/utils/tracing/tracer_testing" diff --git a/OWNERS b/gitops-engine/OWNERS similarity index 100% rename from OWNERS rename to gitops-engine/OWNERS diff --git a/README.md b/gitops-engine/README.md similarity index 100% rename from README.md rename to gitops-engine/README.md diff --git a/agent/README.md b/gitops-engine/agent/README.md similarity index 100% rename from agent/README.md rename to gitops-engine/agent/README.md diff --git a/agent/main.go b/gitops-engine/agent/main.go similarity index 100% rename from agent/main.go rename to gitops-engine/agent/main.go diff --git a/agent/manifests/base/gitops-agent-deploy.yaml b/gitops-engine/agent/manifests/base/gitops-agent-deploy.yaml similarity index 100% rename from agent/manifests/base/gitops-agent-deploy.yaml rename to gitops-engine/agent/manifests/base/gitops-agent-deploy.yaml diff --git a/agent/manifests/base/gitops-agent-sa.yaml b/gitops-engine/agent/manifests/base/gitops-agent-sa.yaml similarity index 100% rename from agent/manifests/base/gitops-agent-sa.yaml rename to gitops-engine/agent/manifests/base/gitops-agent-sa.yaml diff --git a/agent/manifests/base/kustomization.yaml b/gitops-engine/agent/manifests/base/kustomization.yaml similarity index 100% rename from agent/manifests/base/kustomization.yaml rename to gitops-engine/agent/manifests/base/kustomization.yaml diff --git a/agent/manifests/cluster-install/gitops-agent-cluster-role-binding.yaml b/gitops-engine/agent/manifests/cluster-install/gitops-agent-cluster-role-binding.yaml similarity index 100% rename from agent/manifests/cluster-install/gitops-agent-cluster-role-binding.yaml rename to gitops-engine/agent/manifests/cluster-install/gitops-agent-cluster-role-binding.yaml diff --git a/agent/manifests/cluster-install/gitops-agent-cluster-role.yaml b/gitops-engine/agent/manifests/cluster-install/gitops-agent-cluster-role.yaml similarity index 100% rename from agent/manifests/cluster-install/gitops-agent-cluster-role.yaml rename to gitops-engine/agent/manifests/cluster-install/gitops-agent-cluster-role.yaml diff --git a/agent/manifests/cluster-install/kustomization.yaml b/gitops-engine/agent/manifests/cluster-install/kustomization.yaml similarity index 100% rename from agent/manifests/cluster-install/kustomization.yaml rename to gitops-engine/agent/manifests/cluster-install/kustomization.yaml diff --git a/agent/manifests/install-namespaced.yaml b/gitops-engine/agent/manifests/install-namespaced.yaml similarity index 100% rename from agent/manifests/install-namespaced.yaml rename to gitops-engine/agent/manifests/install-namespaced.yaml diff --git a/agent/manifests/install.yaml b/gitops-engine/agent/manifests/install.yaml similarity index 100% rename from agent/manifests/install.yaml rename to gitops-engine/agent/manifests/install.yaml diff --git a/agent/manifests/namespace-install/gitops-agent-deployment-overlay.yaml b/gitops-engine/agent/manifests/namespace-install/gitops-agent-deployment-overlay.yaml similarity index 100% rename from agent/manifests/namespace-install/gitops-agent-deployment-overlay.yaml rename to gitops-engine/agent/manifests/namespace-install/gitops-agent-deployment-overlay.yaml diff --git a/agent/manifests/namespace-install/gitops-agent-role-binding.yaml b/gitops-engine/agent/manifests/namespace-install/gitops-agent-role-binding.yaml similarity index 100% rename from agent/manifests/namespace-install/gitops-agent-role-binding.yaml rename to gitops-engine/agent/manifests/namespace-install/gitops-agent-role-binding.yaml diff --git a/agent/manifests/namespace-install/gitops-agent-role.yaml b/gitops-engine/agent/manifests/namespace-install/gitops-agent-role.yaml similarity index 100% rename from agent/manifests/namespace-install/gitops-agent-role.yaml rename to gitops-engine/agent/manifests/namespace-install/gitops-agent-role.yaml diff --git a/agent/manifests/namespace-install/kustomization.yaml b/gitops-engine/agent/manifests/namespace-install/kustomization.yaml similarity index 100% rename from agent/manifests/namespace-install/kustomization.yaml rename to gitops-engine/agent/manifests/namespace-install/kustomization.yaml diff --git a/docs/faq.md b/gitops-engine/docs/faq.md similarity index 100% rename from docs/faq.md rename to gitops-engine/docs/faq.md diff --git a/docs/releasing.md b/gitops-engine/docs/releasing.md similarity index 100% rename from docs/releasing.md rename to gitops-engine/docs/releasing.md diff --git a/go.mod b/gitops-engine/go.mod similarity index 100% rename from go.mod rename to gitops-engine/go.mod diff --git a/go.sum b/gitops-engine/go.sum similarity index 100% rename from go.sum rename to gitops-engine/go.sum diff --git a/hack/update_static_schema.sh b/gitops-engine/hack/update_static_schema.sh similarity index 100% rename from hack/update_static_schema.sh rename to gitops-engine/hack/update_static_schema.sh diff --git a/internal/kubernetes_vendor/pkg/api/v1/endpoints/util.go b/gitops-engine/internal/kubernetes_vendor/pkg/api/v1/endpoints/util.go similarity index 100% rename from internal/kubernetes_vendor/pkg/api/v1/endpoints/util.go rename to gitops-engine/internal/kubernetes_vendor/pkg/api/v1/endpoints/util.go diff --git a/internal/kubernetes_vendor/pkg/util/hash/hash.go b/gitops-engine/internal/kubernetes_vendor/pkg/util/hash/hash.go similarity index 100% rename from internal/kubernetes_vendor/pkg/util/hash/hash.go rename to gitops-engine/internal/kubernetes_vendor/pkg/util/hash/hash.go diff --git a/pkg/cache/cluster.go b/gitops-engine/pkg/cache/cluster.go similarity index 100% rename from pkg/cache/cluster.go rename to gitops-engine/pkg/cache/cluster.go diff --git a/pkg/cache/cluster_test.go b/gitops-engine/pkg/cache/cluster_test.go similarity index 100% rename from pkg/cache/cluster_test.go rename to gitops-engine/pkg/cache/cluster_test.go diff --git a/pkg/cache/doc.go b/gitops-engine/pkg/cache/doc.go similarity index 100% rename from pkg/cache/doc.go rename to gitops-engine/pkg/cache/doc.go diff --git a/pkg/cache/mocks/ClusterCache.go b/gitops-engine/pkg/cache/mocks/ClusterCache.go similarity index 100% rename from pkg/cache/mocks/ClusterCache.go rename to gitops-engine/pkg/cache/mocks/ClusterCache.go diff --git a/pkg/cache/predicates.go b/gitops-engine/pkg/cache/predicates.go similarity index 100% rename from pkg/cache/predicates.go rename to gitops-engine/pkg/cache/predicates.go diff --git a/pkg/cache/predicates_test.go b/gitops-engine/pkg/cache/predicates_test.go similarity index 100% rename from pkg/cache/predicates_test.go rename to gitops-engine/pkg/cache/predicates_test.go diff --git a/pkg/cache/references.go b/gitops-engine/pkg/cache/references.go similarity index 100% rename from pkg/cache/references.go rename to gitops-engine/pkg/cache/references.go diff --git a/pkg/cache/references_test.go b/gitops-engine/pkg/cache/references_test.go similarity index 100% rename from pkg/cache/references_test.go rename to gitops-engine/pkg/cache/references_test.go diff --git a/pkg/cache/resource.go b/gitops-engine/pkg/cache/resource.go similarity index 100% rename from pkg/cache/resource.go rename to gitops-engine/pkg/cache/resource.go diff --git a/pkg/cache/resource_test.go b/gitops-engine/pkg/cache/resource_test.go similarity index 100% rename from pkg/cache/resource_test.go rename to gitops-engine/pkg/cache/resource_test.go diff --git a/pkg/cache/settings.go b/gitops-engine/pkg/cache/settings.go similarity index 100% rename from pkg/cache/settings.go rename to gitops-engine/pkg/cache/settings.go diff --git a/pkg/cache/settings_test.go b/gitops-engine/pkg/cache/settings_test.go similarity index 100% rename from pkg/cache/settings_test.go rename to gitops-engine/pkg/cache/settings_test.go diff --git a/pkg/diff/diff.go b/gitops-engine/pkg/diff/diff.go similarity index 100% rename from pkg/diff/diff.go rename to gitops-engine/pkg/diff/diff.go diff --git a/pkg/diff/diff_options.go b/gitops-engine/pkg/diff/diff_options.go similarity index 100% rename from pkg/diff/diff_options.go rename to gitops-engine/pkg/diff/diff_options.go diff --git a/pkg/diff/diff_test.go b/gitops-engine/pkg/diff/diff_test.go similarity index 100% rename from pkg/diff/diff_test.go rename to gitops-engine/pkg/diff/diff_test.go diff --git a/pkg/diff/internal/fieldmanager/README b/gitops-engine/pkg/diff/internal/fieldmanager/README similarity index 100% rename from pkg/diff/internal/fieldmanager/README rename to gitops-engine/pkg/diff/internal/fieldmanager/README diff --git a/pkg/diff/internal/fieldmanager/borrowed_fields.go b/gitops-engine/pkg/diff/internal/fieldmanager/borrowed_fields.go similarity index 100% rename from pkg/diff/internal/fieldmanager/borrowed_fields.go rename to gitops-engine/pkg/diff/internal/fieldmanager/borrowed_fields.go diff --git a/pkg/diff/internal/fieldmanager/borrowed_managedfields.go b/gitops-engine/pkg/diff/internal/fieldmanager/borrowed_managedfields.go similarity index 100% rename from pkg/diff/internal/fieldmanager/borrowed_managedfields.go rename to gitops-engine/pkg/diff/internal/fieldmanager/borrowed_managedfields.go diff --git a/pkg/diff/internal/fieldmanager/borrowed_typeconverter.go b/gitops-engine/pkg/diff/internal/fieldmanager/borrowed_typeconverter.go similarity index 100% rename from pkg/diff/internal/fieldmanager/borrowed_typeconverter.go rename to gitops-engine/pkg/diff/internal/fieldmanager/borrowed_typeconverter.go diff --git a/pkg/diff/internal/fieldmanager/borrowed_versionconverter.go b/gitops-engine/pkg/diff/internal/fieldmanager/borrowed_versionconverter.go similarity index 100% rename from pkg/diff/internal/fieldmanager/borrowed_versionconverter.go rename to gitops-engine/pkg/diff/internal/fieldmanager/borrowed_versionconverter.go diff --git a/pkg/diff/internal/fieldmanager/doc.go b/gitops-engine/pkg/diff/internal/fieldmanager/doc.go similarity index 100% rename from pkg/diff/internal/fieldmanager/doc.go rename to gitops-engine/pkg/diff/internal/fieldmanager/doc.go diff --git a/pkg/diff/internal/fieldmanager/wrapper.go b/gitops-engine/pkg/diff/internal/fieldmanager/wrapper.go similarity index 100% rename from pkg/diff/internal/fieldmanager/wrapper.go rename to gitops-engine/pkg/diff/internal/fieldmanager/wrapper.go diff --git a/pkg/diff/mocks/ServerSideDryRunner.go b/gitops-engine/pkg/diff/mocks/ServerSideDryRunner.go similarity index 100% rename from pkg/diff/mocks/ServerSideDryRunner.go rename to gitops-engine/pkg/diff/mocks/ServerSideDryRunner.go diff --git a/pkg/diff/testdata/aggr-clusterrole-config.json b/gitops-engine/pkg/diff/testdata/aggr-clusterrole-config.json similarity index 100% rename from pkg/diff/testdata/aggr-clusterrole-config.json rename to gitops-engine/pkg/diff/testdata/aggr-clusterrole-config.json diff --git a/pkg/diff/testdata/aggr-clusterrole-live.json b/gitops-engine/pkg/diff/testdata/aggr-clusterrole-live.json similarity index 100% rename from pkg/diff/testdata/aggr-clusterrole-live.json rename to gitops-engine/pkg/diff/testdata/aggr-clusterrole-live.json diff --git a/pkg/diff/testdata/data.go b/gitops-engine/pkg/diff/testdata/data.go similarity index 100% rename from pkg/diff/testdata/data.go rename to gitops-engine/pkg/diff/testdata/data.go diff --git a/pkg/diff/testdata/deployment-config.json b/gitops-engine/pkg/diff/testdata/deployment-config.json similarity index 100% rename from pkg/diff/testdata/deployment-config.json rename to gitops-engine/pkg/diff/testdata/deployment-config.json diff --git a/pkg/diff/testdata/deployment-live.json b/gitops-engine/pkg/diff/testdata/deployment-live.json similarity index 100% rename from pkg/diff/testdata/deployment-live.json rename to gitops-engine/pkg/diff/testdata/deployment-live.json diff --git a/pkg/diff/testdata/elasticsearch-config.json b/gitops-engine/pkg/diff/testdata/elasticsearch-config.json similarity index 100% rename from pkg/diff/testdata/elasticsearch-config.json rename to gitops-engine/pkg/diff/testdata/elasticsearch-config.json diff --git a/pkg/diff/testdata/elasticsearch-live.json b/gitops-engine/pkg/diff/testdata/elasticsearch-live.json similarity index 100% rename from pkg/diff/testdata/elasticsearch-live.json rename to gitops-engine/pkg/diff/testdata/elasticsearch-live.json diff --git a/pkg/diff/testdata/endpoints-config.json b/gitops-engine/pkg/diff/testdata/endpoints-config.json similarity index 100% rename from pkg/diff/testdata/endpoints-config.json rename to gitops-engine/pkg/diff/testdata/endpoints-config.json diff --git a/pkg/diff/testdata/endpoints-live.json b/gitops-engine/pkg/diff/testdata/endpoints-live.json similarity index 100% rename from pkg/diff/testdata/endpoints-live.json rename to gitops-engine/pkg/diff/testdata/endpoints-live.json diff --git a/pkg/diff/testdata/grafana-clusterrole-config.json b/gitops-engine/pkg/diff/testdata/grafana-clusterrole-config.json similarity index 100% rename from pkg/diff/testdata/grafana-clusterrole-config.json rename to gitops-engine/pkg/diff/testdata/grafana-clusterrole-config.json diff --git a/pkg/diff/testdata/grafana-clusterrole-live.json b/gitops-engine/pkg/diff/testdata/grafana-clusterrole-live.json similarity index 100% rename from pkg/diff/testdata/grafana-clusterrole-live.json rename to gitops-engine/pkg/diff/testdata/grafana-clusterrole-live.json diff --git a/pkg/diff/testdata/mutatingwebhookconfig-config.json b/gitops-engine/pkg/diff/testdata/mutatingwebhookconfig-config.json similarity index 100% rename from pkg/diff/testdata/mutatingwebhookconfig-config.json rename to gitops-engine/pkg/diff/testdata/mutatingwebhookconfig-config.json diff --git a/pkg/diff/testdata/mutatingwebhookconfig-live.json b/gitops-engine/pkg/diff/testdata/mutatingwebhookconfig-live.json similarity index 100% rename from pkg/diff/testdata/mutatingwebhookconfig-live.json rename to gitops-engine/pkg/diff/testdata/mutatingwebhookconfig-live.json diff --git a/pkg/diff/testdata/openapiv2.bin b/gitops-engine/pkg/diff/testdata/openapiv2.bin similarity index 100% rename from pkg/diff/testdata/openapiv2.bin rename to gitops-engine/pkg/diff/testdata/openapiv2.bin diff --git a/pkg/diff/testdata/sealedsecret-config.json b/gitops-engine/pkg/diff/testdata/sealedsecret-config.json similarity index 100% rename from pkg/diff/testdata/sealedsecret-config.json rename to gitops-engine/pkg/diff/testdata/sealedsecret-config.json diff --git a/pkg/diff/testdata/sealedsecret-live.json b/gitops-engine/pkg/diff/testdata/sealedsecret-live.json similarity index 100% rename from pkg/diff/testdata/sealedsecret-live.json rename to gitops-engine/pkg/diff/testdata/sealedsecret-live.json diff --git a/pkg/diff/testdata/smd-deploy-config.yaml b/gitops-engine/pkg/diff/testdata/smd-deploy-config.yaml similarity index 100% rename from pkg/diff/testdata/smd-deploy-config.yaml rename to gitops-engine/pkg/diff/testdata/smd-deploy-config.yaml diff --git a/pkg/diff/testdata/smd-deploy-live.yaml b/gitops-engine/pkg/diff/testdata/smd-deploy-live.yaml similarity index 100% rename from pkg/diff/testdata/smd-deploy-live.yaml rename to gitops-engine/pkg/diff/testdata/smd-deploy-live.yaml diff --git a/pkg/diff/testdata/smd-deploy2-config.yaml b/gitops-engine/pkg/diff/testdata/smd-deploy2-config.yaml similarity index 100% rename from pkg/diff/testdata/smd-deploy2-config.yaml rename to gitops-engine/pkg/diff/testdata/smd-deploy2-config.yaml diff --git a/pkg/diff/testdata/smd-deploy2-live.yaml b/gitops-engine/pkg/diff/testdata/smd-deploy2-live.yaml similarity index 100% rename from pkg/diff/testdata/smd-deploy2-live.yaml rename to gitops-engine/pkg/diff/testdata/smd-deploy2-live.yaml diff --git a/pkg/diff/testdata/smd-deploy2-predicted-live.json b/gitops-engine/pkg/diff/testdata/smd-deploy2-predicted-live.json similarity index 100% rename from pkg/diff/testdata/smd-deploy2-predicted-live.json rename to gitops-engine/pkg/diff/testdata/smd-deploy2-predicted-live.json diff --git a/pkg/diff/testdata/smd-service-config-2-ports.yaml b/gitops-engine/pkg/diff/testdata/smd-service-config-2-ports.yaml similarity index 100% rename from pkg/diff/testdata/smd-service-config-2-ports.yaml rename to gitops-engine/pkg/diff/testdata/smd-service-config-2-ports.yaml diff --git a/pkg/diff/testdata/smd-service-config-ports.yaml b/gitops-engine/pkg/diff/testdata/smd-service-config-ports.yaml similarity index 100% rename from pkg/diff/testdata/smd-service-config-ports.yaml rename to gitops-engine/pkg/diff/testdata/smd-service-config-ports.yaml diff --git a/pkg/diff/testdata/smd-service-config.yaml b/gitops-engine/pkg/diff/testdata/smd-service-config.yaml similarity index 100% rename from pkg/diff/testdata/smd-service-config.yaml rename to gitops-engine/pkg/diff/testdata/smd-service-config.yaml diff --git a/pkg/diff/testdata/smd-service-live-with-type.yaml b/gitops-engine/pkg/diff/testdata/smd-service-live-with-type.yaml similarity index 100% rename from pkg/diff/testdata/smd-service-live-with-type.yaml rename to gitops-engine/pkg/diff/testdata/smd-service-live-with-type.yaml diff --git a/pkg/diff/testdata/smd-service-live.yaml b/gitops-engine/pkg/diff/testdata/smd-service-live.yaml similarity index 100% rename from pkg/diff/testdata/smd-service-live.yaml rename to gitops-engine/pkg/diff/testdata/smd-service-live.yaml diff --git a/pkg/diff/testdata/spinnaker-sa-config.json b/gitops-engine/pkg/diff/testdata/spinnaker-sa-config.json similarity index 100% rename from pkg/diff/testdata/spinnaker-sa-config.json rename to gitops-engine/pkg/diff/testdata/spinnaker-sa-config.json diff --git a/pkg/diff/testdata/spinnaker-sa-live.json b/gitops-engine/pkg/diff/testdata/spinnaker-sa-live.json similarity index 100% rename from pkg/diff/testdata/spinnaker-sa-live.json rename to gitops-engine/pkg/diff/testdata/spinnaker-sa-live.json diff --git a/pkg/diff/testdata/ssd-deploy-nested-config.yaml b/gitops-engine/pkg/diff/testdata/ssd-deploy-nested-config.yaml similarity index 100% rename from pkg/diff/testdata/ssd-deploy-nested-config.yaml rename to gitops-engine/pkg/diff/testdata/ssd-deploy-nested-config.yaml diff --git a/pkg/diff/testdata/ssd-deploy-nested-live.yaml b/gitops-engine/pkg/diff/testdata/ssd-deploy-nested-live.yaml similarity index 100% rename from pkg/diff/testdata/ssd-deploy-nested-live.yaml rename to gitops-engine/pkg/diff/testdata/ssd-deploy-nested-live.yaml diff --git a/pkg/diff/testdata/ssd-deploy-nested-predicted-live.json b/gitops-engine/pkg/diff/testdata/ssd-deploy-nested-predicted-live.json similarity index 100% rename from pkg/diff/testdata/ssd-deploy-nested-predicted-live.json rename to gitops-engine/pkg/diff/testdata/ssd-deploy-nested-predicted-live.json diff --git a/pkg/diff/testdata/ssd-deploy-with-manual-apply-config.yaml b/gitops-engine/pkg/diff/testdata/ssd-deploy-with-manual-apply-config.yaml similarity index 100% rename from pkg/diff/testdata/ssd-deploy-with-manual-apply-config.yaml rename to gitops-engine/pkg/diff/testdata/ssd-deploy-with-manual-apply-config.yaml diff --git a/pkg/diff/testdata/ssd-deploy-with-manual-apply-live.yaml b/gitops-engine/pkg/diff/testdata/ssd-deploy-with-manual-apply-live.yaml similarity index 100% rename from pkg/diff/testdata/ssd-deploy-with-manual-apply-live.yaml rename to gitops-engine/pkg/diff/testdata/ssd-deploy-with-manual-apply-live.yaml diff --git a/pkg/diff/testdata/ssd-deploy-with-manual-apply-predicted-live.json b/gitops-engine/pkg/diff/testdata/ssd-deploy-with-manual-apply-predicted-live.json similarity index 100% rename from pkg/diff/testdata/ssd-deploy-with-manual-apply-predicted-live.json rename to gitops-engine/pkg/diff/testdata/ssd-deploy-with-manual-apply-predicted-live.json diff --git a/pkg/diff/testdata/ssd-service-config.yaml b/gitops-engine/pkg/diff/testdata/ssd-service-config.yaml similarity index 100% rename from pkg/diff/testdata/ssd-service-config.yaml rename to gitops-engine/pkg/diff/testdata/ssd-service-config.yaml diff --git a/pkg/diff/testdata/ssd-service-live.yaml b/gitops-engine/pkg/diff/testdata/ssd-service-live.yaml similarity index 100% rename from pkg/diff/testdata/ssd-service-live.yaml rename to gitops-engine/pkg/diff/testdata/ssd-service-live.yaml diff --git a/pkg/diff/testdata/ssd-service-predicted-live.json b/gitops-engine/pkg/diff/testdata/ssd-service-predicted-live.json similarity index 100% rename from pkg/diff/testdata/ssd-service-predicted-live.json rename to gitops-engine/pkg/diff/testdata/ssd-service-predicted-live.json diff --git a/pkg/diff/testdata/ssd-svc-label-live.yaml b/gitops-engine/pkg/diff/testdata/ssd-svc-label-live.yaml similarity index 100% rename from pkg/diff/testdata/ssd-svc-label-live.yaml rename to gitops-engine/pkg/diff/testdata/ssd-svc-label-live.yaml diff --git a/pkg/diff/testdata/ssd-svc-no-label-config.yaml b/gitops-engine/pkg/diff/testdata/ssd-svc-no-label-config.yaml similarity index 100% rename from pkg/diff/testdata/ssd-svc-no-label-config.yaml rename to gitops-engine/pkg/diff/testdata/ssd-svc-no-label-config.yaml diff --git a/pkg/diff/testdata/ssd-svc-no-label-predicted-live.json b/gitops-engine/pkg/diff/testdata/ssd-svc-no-label-predicted-live.json similarity index 100% rename from pkg/diff/testdata/ssd-svc-no-label-predicted-live.json rename to gitops-engine/pkg/diff/testdata/ssd-svc-no-label-predicted-live.json diff --git a/pkg/diff/testdata/wordpress-config.json b/gitops-engine/pkg/diff/testdata/wordpress-config.json similarity index 100% rename from pkg/diff/testdata/wordpress-config.json rename to gitops-engine/pkg/diff/testdata/wordpress-config.json diff --git a/pkg/diff/testdata/wordpress-live.json b/gitops-engine/pkg/diff/testdata/wordpress-live.json similarity index 100% rename from pkg/diff/testdata/wordpress-live.json rename to gitops-engine/pkg/diff/testdata/wordpress-live.json diff --git a/pkg/engine/engine.go b/gitops-engine/pkg/engine/engine.go similarity index 100% rename from pkg/engine/engine.go rename to gitops-engine/pkg/engine/engine.go diff --git a/pkg/engine/engine_options.go b/gitops-engine/pkg/engine/engine_options.go similarity index 100% rename from pkg/engine/engine_options.go rename to gitops-engine/pkg/engine/engine_options.go diff --git a/pkg/health/health.go b/gitops-engine/pkg/health/health.go similarity index 100% rename from pkg/health/health.go rename to gitops-engine/pkg/health/health.go diff --git a/pkg/health/health_apiservice.go b/gitops-engine/pkg/health/health_apiservice.go similarity index 100% rename from pkg/health/health_apiservice.go rename to gitops-engine/pkg/health/health_apiservice.go diff --git a/pkg/health/health_argo.go b/gitops-engine/pkg/health/health_argo.go similarity index 100% rename from pkg/health/health_argo.go rename to gitops-engine/pkg/health/health_argo.go diff --git a/pkg/health/health_daemonset.go b/gitops-engine/pkg/health/health_daemonset.go similarity index 100% rename from pkg/health/health_daemonset.go rename to gitops-engine/pkg/health/health_daemonset.go diff --git a/pkg/health/health_deployment.go b/gitops-engine/pkg/health/health_deployment.go similarity index 100% rename from pkg/health/health_deployment.go rename to gitops-engine/pkg/health/health_deployment.go diff --git a/pkg/health/health_hpa.go b/gitops-engine/pkg/health/health_hpa.go similarity index 100% rename from pkg/health/health_hpa.go rename to gitops-engine/pkg/health/health_hpa.go diff --git a/pkg/health/health_ingress.go b/gitops-engine/pkg/health/health_ingress.go similarity index 100% rename from pkg/health/health_ingress.go rename to gitops-engine/pkg/health/health_ingress.go diff --git a/pkg/health/health_job.go b/gitops-engine/pkg/health/health_job.go similarity index 100% rename from pkg/health/health_job.go rename to gitops-engine/pkg/health/health_job.go diff --git a/pkg/health/health_pod.go b/gitops-engine/pkg/health/health_pod.go similarity index 100% rename from pkg/health/health_pod.go rename to gitops-engine/pkg/health/health_pod.go diff --git a/pkg/health/health_pvc.go b/gitops-engine/pkg/health/health_pvc.go similarity index 100% rename from pkg/health/health_pvc.go rename to gitops-engine/pkg/health/health_pvc.go diff --git a/pkg/health/health_replicaset.go b/gitops-engine/pkg/health/health_replicaset.go similarity index 100% rename from pkg/health/health_replicaset.go rename to gitops-engine/pkg/health/health_replicaset.go diff --git a/pkg/health/health_service.go b/gitops-engine/pkg/health/health_service.go similarity index 100% rename from pkg/health/health_service.go rename to gitops-engine/pkg/health/health_service.go diff --git a/pkg/health/health_statefulset.go b/gitops-engine/pkg/health/health_statefulset.go similarity index 100% rename from pkg/health/health_statefulset.go rename to gitops-engine/pkg/health/health_statefulset.go diff --git a/pkg/health/health_test.go b/gitops-engine/pkg/health/health_test.go similarity index 100% rename from pkg/health/health_test.go rename to gitops-engine/pkg/health/health_test.go diff --git a/pkg/health/testdata/apiservice-v1-false.yaml b/gitops-engine/pkg/health/testdata/apiservice-v1-false.yaml similarity index 100% rename from pkg/health/testdata/apiservice-v1-false.yaml rename to gitops-engine/pkg/health/testdata/apiservice-v1-false.yaml diff --git a/pkg/health/testdata/apiservice-v1-true.yaml b/gitops-engine/pkg/health/testdata/apiservice-v1-true.yaml similarity index 100% rename from pkg/health/testdata/apiservice-v1-true.yaml rename to gitops-engine/pkg/health/testdata/apiservice-v1-true.yaml diff --git a/pkg/health/testdata/apiservice-v1beta1-false.yaml b/gitops-engine/pkg/health/testdata/apiservice-v1beta1-false.yaml similarity index 100% rename from pkg/health/testdata/apiservice-v1beta1-false.yaml rename to gitops-engine/pkg/health/testdata/apiservice-v1beta1-false.yaml diff --git a/pkg/health/testdata/apiservice-v1beta1-true.yaml b/gitops-engine/pkg/health/testdata/apiservice-v1beta1-true.yaml similarity index 100% rename from pkg/health/testdata/apiservice-v1beta1-true.yaml rename to gitops-engine/pkg/health/testdata/apiservice-v1beta1-true.yaml diff --git a/pkg/health/testdata/application-degraded.yaml b/gitops-engine/pkg/health/testdata/application-degraded.yaml similarity index 100% rename from pkg/health/testdata/application-degraded.yaml rename to gitops-engine/pkg/health/testdata/application-degraded.yaml diff --git a/pkg/health/testdata/application-healthy.yaml b/gitops-engine/pkg/health/testdata/application-healthy.yaml similarity index 100% rename from pkg/health/testdata/application-healthy.yaml rename to gitops-engine/pkg/health/testdata/application-healthy.yaml diff --git a/pkg/health/testdata/daemonset-ondelete.yaml b/gitops-engine/pkg/health/testdata/daemonset-ondelete.yaml similarity index 100% rename from pkg/health/testdata/daemonset-ondelete.yaml rename to gitops-engine/pkg/health/testdata/daemonset-ondelete.yaml diff --git a/pkg/health/testdata/deployment-degraded.yaml b/gitops-engine/pkg/health/testdata/deployment-degraded.yaml similarity index 100% rename from pkg/health/testdata/deployment-degraded.yaml rename to gitops-engine/pkg/health/testdata/deployment-degraded.yaml diff --git a/pkg/health/testdata/deployment-progressing.yaml b/gitops-engine/pkg/health/testdata/deployment-progressing.yaml similarity index 100% rename from pkg/health/testdata/deployment-progressing.yaml rename to gitops-engine/pkg/health/testdata/deployment-progressing.yaml diff --git a/pkg/health/testdata/deployment-suspended.yaml b/gitops-engine/pkg/health/testdata/deployment-suspended.yaml similarity index 100% rename from pkg/health/testdata/deployment-suspended.yaml rename to gitops-engine/pkg/health/testdata/deployment-suspended.yaml diff --git a/pkg/health/testdata/hpa-v1-degraded.yaml b/gitops-engine/pkg/health/testdata/hpa-v1-degraded.yaml similarity index 100% rename from pkg/health/testdata/hpa-v1-degraded.yaml rename to gitops-engine/pkg/health/testdata/hpa-v1-degraded.yaml diff --git a/pkg/health/testdata/hpa-v1-healthy-toofew.yaml b/gitops-engine/pkg/health/testdata/hpa-v1-healthy-toofew.yaml similarity index 100% rename from pkg/health/testdata/hpa-v1-healthy-toofew.yaml rename to gitops-engine/pkg/health/testdata/hpa-v1-healthy-toofew.yaml diff --git a/pkg/health/testdata/hpa-v1-healthy.yaml b/gitops-engine/pkg/health/testdata/hpa-v1-healthy.yaml similarity index 100% rename from pkg/health/testdata/hpa-v1-healthy.yaml rename to gitops-engine/pkg/health/testdata/hpa-v1-healthy.yaml diff --git a/pkg/health/testdata/hpa-v1-progressing-with-no-annotations.yaml b/gitops-engine/pkg/health/testdata/hpa-v1-progressing-with-no-annotations.yaml similarity index 100% rename from pkg/health/testdata/hpa-v1-progressing-with-no-annotations.yaml rename to gitops-engine/pkg/health/testdata/hpa-v1-progressing-with-no-annotations.yaml diff --git a/pkg/health/testdata/hpa-v1-progressing.yaml b/gitops-engine/pkg/health/testdata/hpa-v1-progressing.yaml similarity index 100% rename from pkg/health/testdata/hpa-v1-progressing.yaml rename to gitops-engine/pkg/health/testdata/hpa-v1-progressing.yaml diff --git a/pkg/health/testdata/hpa-v2-degraded.yaml b/gitops-engine/pkg/health/testdata/hpa-v2-degraded.yaml similarity index 100% rename from pkg/health/testdata/hpa-v2-degraded.yaml rename to gitops-engine/pkg/health/testdata/hpa-v2-degraded.yaml diff --git a/pkg/health/testdata/hpa-v2-healthy.yaml b/gitops-engine/pkg/health/testdata/hpa-v2-healthy.yaml similarity index 100% rename from pkg/health/testdata/hpa-v2-healthy.yaml rename to gitops-engine/pkg/health/testdata/hpa-v2-healthy.yaml diff --git a/pkg/health/testdata/hpa-v2-progressing.yaml b/gitops-engine/pkg/health/testdata/hpa-v2-progressing.yaml similarity index 100% rename from pkg/health/testdata/hpa-v2-progressing.yaml rename to gitops-engine/pkg/health/testdata/hpa-v2-progressing.yaml diff --git a/pkg/health/testdata/hpa-v2beta1-healthy-disabled.yaml b/gitops-engine/pkg/health/testdata/hpa-v2beta1-healthy-disabled.yaml similarity index 100% rename from pkg/health/testdata/hpa-v2beta1-healthy-disabled.yaml rename to gitops-engine/pkg/health/testdata/hpa-v2beta1-healthy-disabled.yaml diff --git a/pkg/health/testdata/hpa-v2beta1-healthy.yaml b/gitops-engine/pkg/health/testdata/hpa-v2beta1-healthy.yaml similarity index 100% rename from pkg/health/testdata/hpa-v2beta1-healthy.yaml rename to gitops-engine/pkg/health/testdata/hpa-v2beta1-healthy.yaml diff --git a/pkg/health/testdata/hpa-v2beta2-healthy.yaml b/gitops-engine/pkg/health/testdata/hpa-v2beta2-healthy.yaml similarity index 100% rename from pkg/health/testdata/hpa-v2beta2-healthy.yaml rename to gitops-engine/pkg/health/testdata/hpa-v2beta2-healthy.yaml diff --git a/pkg/health/testdata/ingress-nonemptylist.yaml b/gitops-engine/pkg/health/testdata/ingress-nonemptylist.yaml similarity index 100% rename from pkg/health/testdata/ingress-nonemptylist.yaml rename to gitops-engine/pkg/health/testdata/ingress-nonemptylist.yaml diff --git a/pkg/health/testdata/ingress-unassigned.yaml b/gitops-engine/pkg/health/testdata/ingress-unassigned.yaml similarity index 100% rename from pkg/health/testdata/ingress-unassigned.yaml rename to gitops-engine/pkg/health/testdata/ingress-unassigned.yaml diff --git a/pkg/health/testdata/ingress.yaml b/gitops-engine/pkg/health/testdata/ingress.yaml similarity index 100% rename from pkg/health/testdata/ingress.yaml rename to gitops-engine/pkg/health/testdata/ingress.yaml diff --git a/pkg/health/testdata/job-failed.yaml b/gitops-engine/pkg/health/testdata/job-failed.yaml similarity index 100% rename from pkg/health/testdata/job-failed.yaml rename to gitops-engine/pkg/health/testdata/job-failed.yaml diff --git a/pkg/health/testdata/job-running.yaml b/gitops-engine/pkg/health/testdata/job-running.yaml similarity index 100% rename from pkg/health/testdata/job-running.yaml rename to gitops-engine/pkg/health/testdata/job-running.yaml diff --git a/pkg/health/testdata/job-succeeded.yaml b/gitops-engine/pkg/health/testdata/job-succeeded.yaml similarity index 100% rename from pkg/health/testdata/job-succeeded.yaml rename to gitops-engine/pkg/health/testdata/job-succeeded.yaml diff --git a/pkg/health/testdata/job-suspended.yaml b/gitops-engine/pkg/health/testdata/job-suspended.yaml similarity index 100% rename from pkg/health/testdata/job-suspended.yaml rename to gitops-engine/pkg/health/testdata/job-suspended.yaml diff --git a/pkg/health/testdata/knative-service.yaml b/gitops-engine/pkg/health/testdata/knative-service.yaml similarity index 100% rename from pkg/health/testdata/knative-service.yaml rename to gitops-engine/pkg/health/testdata/knative-service.yaml diff --git a/pkg/health/testdata/pod-crashloop.yaml b/gitops-engine/pkg/health/testdata/pod-crashloop.yaml similarity index 100% rename from pkg/health/testdata/pod-crashloop.yaml rename to gitops-engine/pkg/health/testdata/pod-crashloop.yaml diff --git a/pkg/health/testdata/pod-deletion.yaml b/gitops-engine/pkg/health/testdata/pod-deletion.yaml similarity index 100% rename from pkg/health/testdata/pod-deletion.yaml rename to gitops-engine/pkg/health/testdata/pod-deletion.yaml diff --git a/pkg/health/testdata/pod-error.yaml b/gitops-engine/pkg/health/testdata/pod-error.yaml similarity index 100% rename from pkg/health/testdata/pod-error.yaml rename to gitops-engine/pkg/health/testdata/pod-error.yaml diff --git a/pkg/health/testdata/pod-failed.yaml b/gitops-engine/pkg/health/testdata/pod-failed.yaml similarity index 100% rename from pkg/health/testdata/pod-failed.yaml rename to gitops-engine/pkg/health/testdata/pod-failed.yaml diff --git a/pkg/health/testdata/pod-imagepullbackoff.yaml b/gitops-engine/pkg/health/testdata/pod-imagepullbackoff.yaml similarity index 100% rename from pkg/health/testdata/pod-imagepullbackoff.yaml rename to gitops-engine/pkg/health/testdata/pod-imagepullbackoff.yaml diff --git a/pkg/health/testdata/pod-pending.yaml b/gitops-engine/pkg/health/testdata/pod-pending.yaml similarity index 100% rename from pkg/health/testdata/pod-pending.yaml rename to gitops-engine/pkg/health/testdata/pod-pending.yaml diff --git a/pkg/health/testdata/pod-running-not-ready.yaml b/gitops-engine/pkg/health/testdata/pod-running-not-ready.yaml similarity index 100% rename from pkg/health/testdata/pod-running-not-ready.yaml rename to gitops-engine/pkg/health/testdata/pod-running-not-ready.yaml diff --git a/pkg/health/testdata/pod-running-restart-always.yaml b/gitops-engine/pkg/health/testdata/pod-running-restart-always.yaml similarity index 100% rename from pkg/health/testdata/pod-running-restart-always.yaml rename to gitops-engine/pkg/health/testdata/pod-running-restart-always.yaml diff --git a/pkg/health/testdata/pod-running-restart-never.yaml b/gitops-engine/pkg/health/testdata/pod-running-restart-never.yaml similarity index 100% rename from pkg/health/testdata/pod-running-restart-never.yaml rename to gitops-engine/pkg/health/testdata/pod-running-restart-never.yaml diff --git a/pkg/health/testdata/pod-running-restart-onfailure.yaml b/gitops-engine/pkg/health/testdata/pod-running-restart-onfailure.yaml similarity index 100% rename from pkg/health/testdata/pod-running-restart-onfailure.yaml rename to gitops-engine/pkg/health/testdata/pod-running-restart-onfailure.yaml diff --git a/pkg/health/testdata/pod-succeeded.yaml b/gitops-engine/pkg/health/testdata/pod-succeeded.yaml similarity index 100% rename from pkg/health/testdata/pod-succeeded.yaml rename to gitops-engine/pkg/health/testdata/pod-succeeded.yaml diff --git a/pkg/health/testdata/pvc-bound.yaml b/gitops-engine/pkg/health/testdata/pvc-bound.yaml similarity index 100% rename from pkg/health/testdata/pvc-bound.yaml rename to gitops-engine/pkg/health/testdata/pvc-bound.yaml diff --git a/pkg/health/testdata/pvc-pending.yaml b/gitops-engine/pkg/health/testdata/pvc-pending.yaml similarity index 100% rename from pkg/health/testdata/pvc-pending.yaml rename to gitops-engine/pkg/health/testdata/pvc-pending.yaml diff --git a/pkg/health/testdata/statefulset-ondelete.yaml b/gitops-engine/pkg/health/testdata/statefulset-ondelete.yaml similarity index 100% rename from pkg/health/testdata/statefulset-ondelete.yaml rename to gitops-engine/pkg/health/testdata/statefulset-ondelete.yaml diff --git a/pkg/health/testdata/statefulset.yaml b/gitops-engine/pkg/health/testdata/statefulset.yaml similarity index 100% rename from pkg/health/testdata/statefulset.yaml rename to gitops-engine/pkg/health/testdata/statefulset.yaml diff --git a/pkg/health/testdata/svc-clusterip.yaml b/gitops-engine/pkg/health/testdata/svc-clusterip.yaml similarity index 100% rename from pkg/health/testdata/svc-clusterip.yaml rename to gitops-engine/pkg/health/testdata/svc-clusterip.yaml diff --git a/pkg/health/testdata/svc-loadbalancer-nonemptylist.yaml b/gitops-engine/pkg/health/testdata/svc-loadbalancer-nonemptylist.yaml similarity index 100% rename from pkg/health/testdata/svc-loadbalancer-nonemptylist.yaml rename to gitops-engine/pkg/health/testdata/svc-loadbalancer-nonemptylist.yaml diff --git a/pkg/health/testdata/svc-loadbalancer-unassigned.yaml b/gitops-engine/pkg/health/testdata/svc-loadbalancer-unassigned.yaml similarity index 100% rename from pkg/health/testdata/svc-loadbalancer-unassigned.yaml rename to gitops-engine/pkg/health/testdata/svc-loadbalancer-unassigned.yaml diff --git a/pkg/health/testdata/svc-loadbalancer.yaml b/gitops-engine/pkg/health/testdata/svc-loadbalancer.yaml similarity index 100% rename from pkg/health/testdata/svc-loadbalancer.yaml rename to gitops-engine/pkg/health/testdata/svc-loadbalancer.yaml diff --git a/pkg/sync/common/types.go b/gitops-engine/pkg/sync/common/types.go similarity index 100% rename from pkg/sync/common/types.go rename to gitops-engine/pkg/sync/common/types.go diff --git a/pkg/sync/common/types_test.go b/gitops-engine/pkg/sync/common/types_test.go similarity index 100% rename from pkg/sync/common/types_test.go rename to gitops-engine/pkg/sync/common/types_test.go diff --git a/pkg/sync/doc.go b/gitops-engine/pkg/sync/doc.go similarity index 100% rename from pkg/sync/doc.go rename to gitops-engine/pkg/sync/doc.go diff --git a/pkg/sync/hook/delete_policy.go b/gitops-engine/pkg/sync/hook/delete_policy.go similarity index 100% rename from pkg/sync/hook/delete_policy.go rename to gitops-engine/pkg/sync/hook/delete_policy.go diff --git a/pkg/sync/hook/delete_policy_test.go b/gitops-engine/pkg/sync/hook/delete_policy_test.go similarity index 100% rename from pkg/sync/hook/delete_policy_test.go rename to gitops-engine/pkg/sync/hook/delete_policy_test.go diff --git a/pkg/sync/hook/helm/delete_policy.go b/gitops-engine/pkg/sync/hook/helm/delete_policy.go similarity index 100% rename from pkg/sync/hook/helm/delete_policy.go rename to gitops-engine/pkg/sync/hook/helm/delete_policy.go diff --git a/pkg/sync/hook/helm/delete_policy_test.go b/gitops-engine/pkg/sync/hook/helm/delete_policy_test.go similarity index 100% rename from pkg/sync/hook/helm/delete_policy_test.go rename to gitops-engine/pkg/sync/hook/helm/delete_policy_test.go diff --git a/pkg/sync/hook/helm/hook.go b/gitops-engine/pkg/sync/hook/helm/hook.go similarity index 100% rename from pkg/sync/hook/helm/hook.go rename to gitops-engine/pkg/sync/hook/helm/hook.go diff --git a/pkg/sync/hook/helm/hook_test.go b/gitops-engine/pkg/sync/hook/helm/hook_test.go similarity index 100% rename from pkg/sync/hook/helm/hook_test.go rename to gitops-engine/pkg/sync/hook/helm/hook_test.go diff --git a/pkg/sync/hook/helm/type.go b/gitops-engine/pkg/sync/hook/helm/type.go similarity index 100% rename from pkg/sync/hook/helm/type.go rename to gitops-engine/pkg/sync/hook/helm/type.go diff --git a/pkg/sync/hook/helm/type_test.go b/gitops-engine/pkg/sync/hook/helm/type_test.go similarity index 100% rename from pkg/sync/hook/helm/type_test.go rename to gitops-engine/pkg/sync/hook/helm/type_test.go diff --git a/pkg/sync/hook/helm/weight.go b/gitops-engine/pkg/sync/hook/helm/weight.go similarity index 100% rename from pkg/sync/hook/helm/weight.go rename to gitops-engine/pkg/sync/hook/helm/weight.go diff --git a/pkg/sync/hook/helm/weight_test.go b/gitops-engine/pkg/sync/hook/helm/weight_test.go similarity index 100% rename from pkg/sync/hook/helm/weight_test.go rename to gitops-engine/pkg/sync/hook/helm/weight_test.go diff --git a/pkg/sync/hook/hook.go b/gitops-engine/pkg/sync/hook/hook.go similarity index 100% rename from pkg/sync/hook/hook.go rename to gitops-engine/pkg/sync/hook/hook.go diff --git a/pkg/sync/hook/hook_test.go b/gitops-engine/pkg/sync/hook/hook_test.go similarity index 100% rename from pkg/sync/hook/hook_test.go rename to gitops-engine/pkg/sync/hook/hook_test.go diff --git a/pkg/sync/ignore/ignore.go b/gitops-engine/pkg/sync/ignore/ignore.go similarity index 100% rename from pkg/sync/ignore/ignore.go rename to gitops-engine/pkg/sync/ignore/ignore.go diff --git a/pkg/sync/ignore/ignore_test.go b/gitops-engine/pkg/sync/ignore/ignore_test.go similarity index 100% rename from pkg/sync/ignore/ignore_test.go rename to gitops-engine/pkg/sync/ignore/ignore_test.go diff --git a/pkg/sync/reconcile.go b/gitops-engine/pkg/sync/reconcile.go similarity index 100% rename from pkg/sync/reconcile.go rename to gitops-engine/pkg/sync/reconcile.go diff --git a/pkg/sync/reconcile_test.go b/gitops-engine/pkg/sync/reconcile_test.go similarity index 100% rename from pkg/sync/reconcile_test.go rename to gitops-engine/pkg/sync/reconcile_test.go diff --git a/pkg/sync/resource/annotations.go b/gitops-engine/pkg/sync/resource/annotations.go similarity index 100% rename from pkg/sync/resource/annotations.go rename to gitops-engine/pkg/sync/resource/annotations.go diff --git a/pkg/sync/resource/annotations_test.go b/gitops-engine/pkg/sync/resource/annotations_test.go similarity index 100% rename from pkg/sync/resource/annotations_test.go rename to gitops-engine/pkg/sync/resource/annotations_test.go diff --git a/pkg/sync/sync_context.go b/gitops-engine/pkg/sync/sync_context.go similarity index 100% rename from pkg/sync/sync_context.go rename to gitops-engine/pkg/sync/sync_context.go diff --git a/pkg/sync/sync_context_test.go b/gitops-engine/pkg/sync/sync_context_test.go similarity index 100% rename from pkg/sync/sync_context_test.go rename to gitops-engine/pkg/sync/sync_context_test.go diff --git a/pkg/sync/sync_phase.go b/gitops-engine/pkg/sync/sync_phase.go similarity index 100% rename from pkg/sync/sync_phase.go rename to gitops-engine/pkg/sync/sync_phase.go diff --git a/pkg/sync/sync_phase_test.go b/gitops-engine/pkg/sync/sync_phase_test.go similarity index 100% rename from pkg/sync/sync_phase_test.go rename to gitops-engine/pkg/sync/sync_phase_test.go diff --git a/pkg/sync/sync_task.go b/gitops-engine/pkg/sync/sync_task.go similarity index 100% rename from pkg/sync/sync_task.go rename to gitops-engine/pkg/sync/sync_task.go diff --git a/pkg/sync/sync_task_test.go b/gitops-engine/pkg/sync/sync_task_test.go similarity index 100% rename from pkg/sync/sync_task_test.go rename to gitops-engine/pkg/sync/sync_task_test.go diff --git a/pkg/sync/sync_tasks.go b/gitops-engine/pkg/sync/sync_tasks.go similarity index 100% rename from pkg/sync/sync_tasks.go rename to gitops-engine/pkg/sync/sync_tasks.go diff --git a/pkg/sync/sync_tasks_test.go b/gitops-engine/pkg/sync/sync_tasks_test.go similarity index 100% rename from pkg/sync/sync_tasks_test.go rename to gitops-engine/pkg/sync/sync_tasks_test.go diff --git a/pkg/sync/syncwaves/waves.go b/gitops-engine/pkg/sync/syncwaves/waves.go similarity index 100% rename from pkg/sync/syncwaves/waves.go rename to gitops-engine/pkg/sync/syncwaves/waves.go diff --git a/pkg/sync/syncwaves/waves_test.go b/gitops-engine/pkg/sync/syncwaves/waves_test.go similarity index 100% rename from pkg/sync/syncwaves/waves_test.go rename to gitops-engine/pkg/sync/syncwaves/waves_test.go diff --git a/pkg/utils/io/io.go b/gitops-engine/pkg/utils/io/io.go similarity index 100% rename from pkg/utils/io/io.go rename to gitops-engine/pkg/utils/io/io.go diff --git a/pkg/utils/json/json.go b/gitops-engine/pkg/utils/json/json.go similarity index 100% rename from pkg/utils/json/json.go rename to gitops-engine/pkg/utils/json/json.go diff --git a/pkg/utils/kube/convert.go b/gitops-engine/pkg/utils/kube/convert.go similarity index 100% rename from pkg/utils/kube/convert.go rename to gitops-engine/pkg/utils/kube/convert.go diff --git a/pkg/utils/kube/convert_test.go b/gitops-engine/pkg/utils/kube/convert_test.go similarity index 100% rename from pkg/utils/kube/convert_test.go rename to gitops-engine/pkg/utils/kube/convert_test.go diff --git a/pkg/utils/kube/ctl.go b/gitops-engine/pkg/utils/kube/ctl.go similarity index 100% rename from pkg/utils/kube/ctl.go rename to gitops-engine/pkg/utils/kube/ctl.go diff --git a/pkg/utils/kube/ctl_test.go b/gitops-engine/pkg/utils/kube/ctl_test.go similarity index 100% rename from pkg/utils/kube/ctl_test.go rename to gitops-engine/pkg/utils/kube/ctl_test.go diff --git a/pkg/utils/kube/kube.go b/gitops-engine/pkg/utils/kube/kube.go similarity index 100% rename from pkg/utils/kube/kube.go rename to gitops-engine/pkg/utils/kube/kube.go diff --git a/pkg/utils/kube/kube_test.go b/gitops-engine/pkg/utils/kube/kube_test.go similarity index 100% rename from pkg/utils/kube/kube_test.go rename to gitops-engine/pkg/utils/kube/kube_test.go diff --git a/pkg/utils/kube/kubetest/mock.go b/gitops-engine/pkg/utils/kube/kubetest/mock.go similarity index 100% rename from pkg/utils/kube/kubetest/mock.go rename to gitops-engine/pkg/utils/kube/kubetest/mock.go diff --git a/pkg/utils/kube/kubetest/mock_resource_operations.go b/gitops-engine/pkg/utils/kube/kubetest/mock_resource_operations.go similarity index 100% rename from pkg/utils/kube/kubetest/mock_resource_operations.go rename to gitops-engine/pkg/utils/kube/kubetest/mock_resource_operations.go diff --git a/pkg/utils/kube/resource_filter.go b/gitops-engine/pkg/utils/kube/resource_filter.go similarity index 100% rename from pkg/utils/kube/resource_filter.go rename to gitops-engine/pkg/utils/kube/resource_filter.go diff --git a/pkg/utils/kube/resource_ops.go b/gitops-engine/pkg/utils/kube/resource_ops.go similarity index 100% rename from pkg/utils/kube/resource_ops.go rename to gitops-engine/pkg/utils/kube/resource_ops.go diff --git a/pkg/utils/kube/scheme/parser.go b/gitops-engine/pkg/utils/kube/scheme/parser.go similarity index 100% rename from pkg/utils/kube/scheme/parser.go rename to gitops-engine/pkg/utils/kube/scheme/parser.go diff --git a/pkg/utils/kube/scheme/scheme.go b/gitops-engine/pkg/utils/kube/scheme/scheme.go similarity index 100% rename from pkg/utils/kube/scheme/scheme.go rename to gitops-engine/pkg/utils/kube/scheme/scheme.go diff --git a/pkg/utils/kube/scheme/typed.go b/gitops-engine/pkg/utils/kube/scheme/typed.go similarity index 100% rename from pkg/utils/kube/scheme/typed.go rename to gitops-engine/pkg/utils/kube/scheme/typed.go diff --git a/pkg/utils/kube/testdata/appsdeployment.yaml b/gitops-engine/pkg/utils/kube/testdata/appsdeployment.yaml similarity index 100% rename from pkg/utils/kube/testdata/appsdeployment.yaml rename to gitops-engine/pkg/utils/kube/testdata/appsdeployment.yaml diff --git a/pkg/utils/kube/testdata/cr.yaml b/gitops-engine/pkg/utils/kube/testdata/cr.yaml similarity index 100% rename from pkg/utils/kube/testdata/cr.yaml rename to gitops-engine/pkg/utils/kube/testdata/cr.yaml diff --git a/pkg/utils/kube/testdata/extensionsdeployment.yaml b/gitops-engine/pkg/utils/kube/testdata/extensionsdeployment.yaml similarity index 100% rename from pkg/utils/kube/testdata/extensionsdeployment.yaml rename to gitops-engine/pkg/utils/kube/testdata/extensionsdeployment.yaml diff --git a/pkg/utils/kube/testdata/nginx.yaml b/gitops-engine/pkg/utils/kube/testdata/nginx.yaml similarity index 100% rename from pkg/utils/kube/testdata/nginx.yaml rename to gitops-engine/pkg/utils/kube/testdata/nginx.yaml diff --git a/pkg/utils/kube/testdata/openapi_v2.json b/gitops-engine/pkg/utils/kube/testdata/openapi_v2.json similarity index 100% rename from pkg/utils/kube/testdata/openapi_v2.json rename to gitops-engine/pkg/utils/kube/testdata/openapi_v2.json diff --git a/pkg/utils/kube/testdata/v1HPA.yaml b/gitops-engine/pkg/utils/kube/testdata/v1HPA.yaml similarity index 100% rename from pkg/utils/kube/testdata/v1HPA.yaml rename to gitops-engine/pkg/utils/kube/testdata/v1HPA.yaml diff --git a/pkg/utils/kube/testdata/v2beta1HPA.yaml b/gitops-engine/pkg/utils/kube/testdata/v2beta1HPA.yaml similarity index 100% rename from pkg/utils/kube/testdata/v2beta1HPA.yaml rename to gitops-engine/pkg/utils/kube/testdata/v2beta1HPA.yaml diff --git a/pkg/utils/kube/uniqueprotomodels.go b/gitops-engine/pkg/utils/kube/uniqueprotomodels.go similarity index 100% rename from pkg/utils/kube/uniqueprotomodels.go rename to gitops-engine/pkg/utils/kube/uniqueprotomodels.go diff --git a/pkg/utils/testing/testdata.go b/gitops-engine/pkg/utils/testing/testdata.go similarity index 100% rename from pkg/utils/testing/testdata.go rename to gitops-engine/pkg/utils/testing/testdata.go diff --git a/pkg/utils/testing/unstructured.go b/gitops-engine/pkg/utils/testing/unstructured.go similarity index 100% rename from pkg/utils/testing/unstructured.go rename to gitops-engine/pkg/utils/testing/unstructured.go diff --git a/pkg/utils/text/text.go b/gitops-engine/pkg/utils/text/text.go similarity index 100% rename from pkg/utils/text/text.go rename to gitops-engine/pkg/utils/text/text.go diff --git a/pkg/utils/tracing/api.go b/gitops-engine/pkg/utils/tracing/api.go similarity index 100% rename from pkg/utils/tracing/api.go rename to gitops-engine/pkg/utils/tracing/api.go diff --git a/pkg/utils/tracing/logging.go b/gitops-engine/pkg/utils/tracing/logging.go similarity index 100% rename from pkg/utils/tracing/logging.go rename to gitops-engine/pkg/utils/tracing/logging.go diff --git a/pkg/utils/tracing/logging_test.go b/gitops-engine/pkg/utils/tracing/logging_test.go similarity index 100% rename from pkg/utils/tracing/logging_test.go rename to gitops-engine/pkg/utils/tracing/logging_test.go diff --git a/pkg/utils/tracing/nop.go b/gitops-engine/pkg/utils/tracing/nop.go similarity index 100% rename from pkg/utils/tracing/nop.go rename to gitops-engine/pkg/utils/tracing/nop.go diff --git a/pkg/utils/tracing/tracer_testing/doc.go b/gitops-engine/pkg/utils/tracing/tracer_testing/doc.go similarity index 100% rename from pkg/utils/tracing/tracer_testing/doc.go rename to gitops-engine/pkg/utils/tracing/tracer_testing/doc.go diff --git a/pkg/utils/tracing/tracer_testing/logger.go b/gitops-engine/pkg/utils/tracing/tracer_testing/logger.go similarity index 100% rename from pkg/utils/tracing/tracer_testing/logger.go rename to gitops-engine/pkg/utils/tracing/tracer_testing/logger.go diff --git a/specs/deployment-repo-update.md b/gitops-engine/specs/deployment-repo-update.md similarity index 100% rename from specs/deployment-repo-update.md rename to gitops-engine/specs/deployment-repo-update.md diff --git a/specs/design-bottom-up.md b/gitops-engine/specs/design-bottom-up.md similarity index 100% rename from specs/design-bottom-up.md rename to gitops-engine/specs/design-bottom-up.md diff --git a/specs/design-top-down.md b/gitops-engine/specs/design-top-down.md similarity index 100% rename from specs/design-top-down.md rename to gitops-engine/specs/design-top-down.md diff --git a/specs/design.md b/gitops-engine/specs/design.md similarity index 100% rename from specs/design.md rename to gitops-engine/specs/design.md diff --git a/specs/image-update-monitoring.md b/gitops-engine/specs/image-update-monitoring.md similarity index 100% rename from specs/image-update-monitoring.md rename to gitops-engine/specs/image-update-monitoring.md diff --git a/specs/template.md b/gitops-engine/specs/template.md similarity index 100% rename from specs/template.md rename to gitops-engine/specs/template.md diff --git a/sonar-project.properties b/sonar-project.properties deleted file mode 100644 index 960244e49..000000000 --- a/sonar-project.properties +++ /dev/null @@ -1,2 +0,0 @@ -# Exclude test manifests from analysis -sonar.exclusions=pkg/diff/testdata/** \ No newline at end of file From f13be2a393713cb5ab13c13b9dffedc50cf6cf54 Mon Sep 17 00:00:00 2001 From: Leonardo Luz Almeida Date: Tue, 23 Sep 2025 10:08:25 -0400 Subject: [PATCH 2/2] chore: gitops migration test PR Signed-off-by: Leonardo Luz Almeida --- Makefile | 32 -------------------------------- 1 file changed, 32 deletions(-) delete mode 100644 Makefile diff --git a/Makefile b/Makefile deleted file mode 100644 index 8c31d4351..000000000 --- a/Makefile +++ /dev/null @@ -1,32 +0,0 @@ -# docker image publishing options -DOCKER_PUSH?=false -IMAGE_NAMESPACE?= -IMAGE_TAG?=latest -ifdef IMAGE_NAMESPACE -IMAGE_PREFIX=${IMAGE_NAMESPACE}/ -endif - -.PHONY: generate -generate: agent-manifests - -.PHONY: test -test: - go test -race ./... -coverprofile=coverage.out - -.PHONY: lint -lint: - golangci-lint run - -.PHONY: agent-image -agent-image: - docker build -t $(IMAGE_PREFIX)gitops-agent . -f Dockerfile - @if [ "$(DOCKER_PUSH)" = "true" ] ; then docker push $(IMAGE_PREFIX)gitops-agent:$(IMAGE_TAG) ; fi - -.PHONY: agent-manifests -agent-manifests: - kustomize build ./agent/manifests/cluster-install > ./agent/manifests/install.yaml - kustomize build ./agent/manifests/namespace-install > ./agent/manifests/install-namespaced.yaml - -.PHONY: generate-mocks -generate-mocks: - go generate -x -v "github.com/argoproj/gitops-engine/pkg/utils/tracing/tracer_testing"