Skip to content

Conversation

pasha-codefresh
Copy link
Member

@pasha-codefresh pasha-codefresh commented Sep 22, 2021

Closes: #7279

Signed-off-by: pashavictorovich <pavel@codefresh.io>
Signed-off-by: pashavictorovich <pavel@codefresh.io>
@codecov
Copy link

codecov bot commented Sep 22, 2021

Codecov Report

Merging #7280 (2971b18) into master (6f794d0) will increase coverage by 0.00%.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff            @@
##           master    #7280    +/-   ##
========================================
  Coverage   41.10%   41.10%            
========================================
  Files         160      160            
  Lines       21337    21505   +168     
========================================
+ Hits         8770     8840    +70     
- Misses      11317    11399    +82     
- Partials     1250     1266    +16     
Impacted Files Coverage Δ
server/application/logs.go 82.75% <0.00%> (-2.96%) ⬇️
util/settings/settings.go 46.94% <0.00%> (-0.22%) ⬇️
server/cluster/cluster.go 22.87% <0.00%> (ø)
server/repository/repository.go 35.65% <0.00%> (ø)
pkg/apis/application/v1alpha1/hack.go 0.00% <0.00%> (ø)
controller/appcontroller.go 53.30% <0.00%> (+0.35%) ⬆️
server/application/application.go 32.77% <0.00%> (+0.65%) ⬆️
util/argo/argo.go 63.43% <0.00%> (+0.68%) ⬆️
util/cache/redis_hook.go 62.50% <0.00%> (+50.00%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 6f794d0...2971b18. Read the comment docs.

Copy link
Member

@jannfis jannfis left a comment

Choose a reason for hiding this comment

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

LGTM. Thanks for fixing it @pasha-codefresh, I think we should not access remote Git repositories in unit tests anyway.

@jannfis jannfis merged commit 3952f66 into argoproj:master Sep 22, 2021
@jessesuen
Copy link
Member

Probably the repo got pruned since it may have been associated with my old corporate e-mail which is probably gone by now.

Anyways, I added this test because of following issues:
#1067
src-d/go-git#1058

I think if we are settled on a fork/exec model of git (and I don't ever see us realistically moving away from this), it will be okay to remove this test.

@jessesuen
Copy link
Member

jessesuen commented Sep 22, 2021

@alexec @alexmt suggested we create an argoproj organization and make this an e2e test instead of unit. I went ahead and created the org and repo:

https://dev.azure.com/argoproj/argocd-example-apps

@pasha-codefresh
Copy link
Member Author

i will create e2e test for this

plakyda-codefresh pushed a commit to plakyda-codefresh/argo-cd that referenced this pull request Sep 28, 2021
* remove not existing repo

Signed-off-by: pashavictorovich <pavel@codefresh.io>

* fix test

Signed-off-by: pashavictorovich <pavel@codefresh.io>
Signed-off-by: viktorplakida <plakyda1@gmail.com>
alexmt pushed a commit that referenced this pull request Oct 12, 2021
* remove not existing repo

Signed-off-by: pashavictorovich <pavel@codefresh.io>

* fix test

Signed-off-by: pashavictorovich <pavel@codefresh.io>
pasha-codefresh added a commit to codefresh-io/argo-cd that referenced this pull request Oct 13, 2021
* remove not existing repo

Signed-off-by: pashavictorovich <pavel@codefresh.io>

* fix test

Signed-off-by: pashavictorovich <pavel@codefresh.io>
(cherry picked from commit 3952f66)
roi-codefresh added a commit to codefresh-io/argo-cd that referenced this pull request Feb 6, 2022
* fix(ui): Add Error Boundary around Extensions and comply with new Extensions API (argoproj#7215)

* fix: Add error boundary around Extensions and change path where UI looks for extensions

Signed-off-by: Remington Breeze <remington@breeze.software>

* Add error message to error boundary

Signed-off-by: Remington Breeze <remington@breeze.software>

* docs: Kustomize load_restrictor -> load-restrictor (argoproj#7358)

Signed-off-by: Jan-Otto Kröpke <joe@adorsys.de>

* docs: update v2.3+ roadmap (argoproj#7353)

* docs: update v2.3+ roadmap

Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com>

* Address reviewer notes: Add 'Merge Argo CD Image Updater into Argo CD' and 'Multi-tenancy improvements'

Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com>

* fix: remove not existing repo (argoproj#7280)

* remove not existing repo

Signed-off-by: pashavictorovich <pavel@codefresh.io>

* fix test

Signed-off-by: pashavictorovich <pavel@codefresh.io>

* fix: Application status panel shows Syncing instead of Deleting (argoproj#7486)

Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com>

* fix: Operation has completed with phase: Running (argoproj#7482)

* fix: Operation has completed with phase: Running

Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com>

* Bump version to 2.1.4

* Bump version to 2.1.4

* fix: Invalid memory address or nil pointer dereference in processRequestedAppOperation (argoproj#7501)

Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com>

* Bump version to 2.1.5

* Bump version to 2.1.5

* fix: supporting OCI dependencies. Fixes argoproj#6062 (argoproj#6994)

* fix: supporting OCI dependencies

Signed-off-by: Mohammad Yosefpor <myusefpur@gmail.com>

* chore: add org to USERS.md

Signed-off-by: Mohammad Yosefpor <myusefpur@gmail.com>

* fix(tests): remove invalid TestRepoPermission e2e test

Signed-off-by: Mohammad Yosefpor <myusefpur@gmail.com>

* fix: don't use revision caching during app creation (argoproj#7508)

Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com>

* Bump version to 2.1.6

* Bump version to 2.1.6

* Fix: Kuberenetes manifest to have new Github.com ssh known host keys for ArgoCD deployments (argoproj#7722)

* Kuberenetes manifest to have new ssh known host keys for ArgoCD deployments

https://github.blog/2021-09-01-improving-git-protocol-security-github/
Signed-off-by: smark88 <msarcevicz@influxdata.com>

* added to docs

Signed-off-by: smark88 <msarcevicz@influxdata.com>

* fix: regenerate manifests using 'make manifests'

Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com>

Co-authored-by: Alexander Matyushentsev <AMatyushentsev@gmail.com>

* Bump version to 2.1.7

* Bump version to 2.1.7

* fix: upgraded gitops engine to v0.4.2 (fixes argoproj#7561)

Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com>

* fix: env vars to tune cluster cache were broken (argoproj#7779)

Signed-off-by: Jesse Suen <jesse@akuity.io>

* fix nil point (argoproj#7905)

Signed-off-by: jomenxiao <jomenxiao@gmail.com>

* fix: issue with keepalive (argoproj#7861)

* fix issue with keepalive

Signed-off-by: pashavictorovich <pavel@codefresh.io>

* empty commit

Signed-off-by: pashavictorovich <pavel@codefresh.io>

* Bump version to 2.1.8

* Bump version to 2.1.8

* Merge pull request from GHSA-63qx-x74g-jcr7

Signed-off-by: jannfis <jann@mistrust.net>

* Bump version to 2.1.9

* Bump version to 2.1.9

* fix: Resolve symlinked value files correctly (argoproj#8387)

* fix: Resolve symlinked value files correctly

Signed-off-by: jannfis <jann@mistrust.net>

* fix: Resolve symlinked value files correctly

Signed-off-by: jannfis <jann@mistrust.net>

* Bump version to 2.1.10

* Bump version to 2.1.10

* add CODEFRESH=true to e2e workflow

* codegen

* fix e2e

Co-authored-by: Remington Breeze <remington@breeze.software>
Co-authored-by: Jan-Otto Kröpke <github@jkroepke.de>
Co-authored-by: Alexander Matyushentsev <Alexander_Matyushentsev@intuit.com>
Co-authored-by: pasha-codefresh <pavel@codefresh.io>
Co-authored-by: argo-bot <argoproj@gmail.com>
Co-authored-by: Mohammad Yosefpor <47300215+m-yosefpor@users.noreply.github.com>
Co-authored-by: Mark Sarcevicz <47335998+smark88@users.noreply.github.com>
Co-authored-by: Alexander Matyushentsev <AMatyushentsev@gmail.com>
Co-authored-by: Jesse Suen <jessesuen@users.noreply.github.com>
Co-authored-by: jomenxiao <jomenxiao@gmail.com>
Co-authored-by: jannfis <jann@mistrust.net>
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.

Unit tests not passing inside master branch
3 participants