Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Auto deploy failed with GitOps approach #23

Closed
zmotso opened this issue Oct 27, 2023 · 1 comment
Closed

Auto deploy failed with GitOps approach #23

zmotso opened this issue Oct 27, 2023 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@zmotso
Copy link
Contributor

zmotso commented Oct 27, 2023

Precondition:
Set up GitOps repository

STR: 

  • Create any application codebase and run the build pipeline
  • Create CD pipeline with auto deploy stage
  • Deploy application manually using GitOps repo
  • Run the build pipeline again

ER: The new application image version should be deployed

AR: Error appeared in the codebase operator 

{
  "level": "error",
  "ts": "2023-10-25T13:53:07Z",
  "msg": "Reconciler error",
  "controller": "cdstagedeploy",
  "controllerGroup": "v2.edp.epam.com",
  "controllerKind": "CDStageDeploy",
  "CDStageDeploy": {
    "name": "mypipe-dev-test-go-go",
    "namespace": "edp-delivery-sf-dev"
  },
  "namespace": "edp-delivery-sf-dev",
  "name": "mypipe-dev-test-go-go",
  "reconcileID": "70df0de2-b70c-4ca0-bfa5-4a2b9c3891a9",
  "error": "failed to process default chainFactory: failed to patch ArgoCD Application: Application.argoproj.io \"test-go-go-86zac\" is invalid: spec.source.repoURL: Required value",
  "stacktrace": "sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler\n\t/go/pkg/mod/sigs.k8s.io/[email protected]/pkg/internal/controller/controller.go:329\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem\n\t/go/pkg/mod/sigs.k8s.io/[email protected]/pkg/internal/controller/controller.go:274\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func2.2\n\t/go/pkg/mod/sigs.k8s.io/[email protected]/pkg/internal/controller/controller.go:235"
}
@zmotso zmotso added the bug Something isn't working label Oct 27, 2023
@zmotso zmotso self-assigned this Oct 27, 2023
epmd-edp pushed a commit that referenced this issue Oct 27, 2023
Change-Id: I4d2439e4926574958657c425947f984be6e098d9
@zmotso
Copy link
Contributor Author

zmotso commented Oct 31, 2023

fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Development

No branches or pull requests

1 participant