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

go mod vendor not fetching latest argocd packages #4873

Closed
1 task
samuel-sujith opened this issue Nov 20, 2020 · 2 comments
Closed
1 task

go mod vendor not fetching latest argocd packages #4873

samuel-sujith opened this issue Nov 20, 2020 · 2 comments
Labels
bug Something isn't working

Comments

@samuel-sujith
Copy link

If you are trying to resolve an environment-specific issue or have a one-off question about the edge case that does not require a feature then please consider asking a question in argocd slack channel.

Checklist:

  • [ Yes] I've searched in the docs and FAQ for my answer: https://bit.ly/argocd-faq.
  • [ Yes] I've included steps to reproduce the bug.
  • I've pasted the output of argocd version.

Describe the bug

Latest argocd packages not being pulled from VCS

A clear and concise description of what the bug is.

My go.mod file has the below requirement coded
go 1.14

require (
github.com/argoproj/argo-cd v1.7.9

However when I run the go mod vendor, it does not fetch the latest api versions. One of the examples is the types.go in v1alpha1 folder where the EnableOCI flag in the repository type is missing.

This is causing issues in the argo-cd cli repo.go since the program expects repo.EnableOCI flag.

There are more such errors which I could see but then this is one of them.

A list of the steps required to reproduce the issue. Best of all, give us the URL to a repository that exhibits this issue.

Use the below line in go.mod and run go mod vendor
go 1.14

require (
github.com/argoproj/argo-cd v1.7.9

Expected behavior

The latest code should be present in the APi types.go

A clear and concise description of what you expected to happen.

Screenshots

If applicable, add screenshots to help explain your problem.

Version
1.7.9

Paste the output from `argocd version` here.

Logs

Paste any relevant application logs here.
@samuel-sujith samuel-sujith added the bug Something isn't working label Nov 20, 2020
@jessesuen
Copy link
Member

Duplicate of #4055

@jessesuen jessesuen marked this as a duplicate of #4055 Nov 20, 2020
@samuel-sujith
Copy link
Author

I dont think this is the same as #4055 .

WHen i try to vendor argo-cd into the vendor folder, I am not getting the latest source code.

One of the examples is the types.go in v1alpha1 folder where the EnableOCI flag in the repository type is missing.

Even go get github.com/argoproj/argo-cd is not retrieving the latest source code from github.

Sujith.

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
None yet
Development

No branches or pull requests

2 participants