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

feat: Annotation based app paths detection in webhooks #4699

Merged
merged 4 commits into from
Oct 29, 2020

Conversation

alexmt
Copy link
Collaborator

@alexmt alexmt commented Oct 28, 2020

PR is based on #4273 by @carsonoid .

Resolves merges conflicts and addressed comments proposed in the original PR.

Closes #4583

@alexmt alexmt requested review from jessesuen and jannfis and removed request for jessesuen October 28, 2020 20:06
continue
}
} else if change.shaBefore != "" && change.shaAfter != "" {
var cachedManifests cache.CachedManifestResponse
Copy link
Contributor

@mayzhang2000 mayzhang2000 Oct 29, 2020

Choose a reason for hiding this comment

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

What is the purpose of this block? If files are not changed, do we need to store cached manifests?
else if change.shaBefore != "" && change.shaAfter != ""

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

We cannot retrieve previous and next commit SHA for bitbucket, so these fields might be empty. This is to make sure we don't attempt to load/create cache for an empty string instead of SHA.

Copy link
Contributor

@mayzhang2000 mayzhang2000 left a comment

Choose a reason for hiding this comment

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

LGTM

@alexmt alexmt merged commit 21304ee into argoproj:master Oct 29, 2020
terrycorley pushed a commit to terrycorley/argo-cd that referenced this pull request Nov 3, 2020
…zation-generators

* 'master' of github.com:argoproj/argo-cd:
  fix: RevisionFormField component crashes in 'refs' API returns no tags (argoproj#4735)
  docs: add Opensurvey to USERS.md (argoproj#4727)
  docs: correct parameters usage in CLI (argoproj#4725)
  fix: Repo-server has silent unmarshalling errors leading to empty applications (argoproj#4423) (argoproj#4708)
  fix: inject artificial delay between sync waves to better support health assessments (argoproj#4715)
  fix: exclude files listed under exclusions (argoproj#4686)
  feat: support resource actions on CRDs that use status subresources (argoproj#4690)
  feat: Add autocomplete for repo Revisions (argoproj#4645) (argoproj#4713)
  fix: webhook don't refresh apps pointing to HEAD (argoproj#4717)
  feat: Add support for ExecProvider cluster auth (argoproj#4600) (argoproj#4710)
  fix: adding helm values file in New App (argoproj#4635)
  docs: Instructions on `make verify-kube-connect` step when using k3d (argoproj#4687)
  feat:  Annotation based app paths detection in webhooks (argoproj#4699)
  fix: adding commonAnnotations for Kustomize (argoproj#4613)
@alexmt alexmt deleted the carsonoid-webhook-refresh branch November 17, 2020 19:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Improve repo-server performance
3 participants