argo-cd/cmd/argocd/commands/testdata/config
rishabh625 e59060cb0e
fix: added github and gitlab response mock and replaced external calls (#9305)
* Added mock for gitlab and github for Unit test

Signed-off-by: rishabh625 <rishabhmishra625@gmail.com>

* Added missing mock endpoint

Signed-off-by: rishabh625 <rishabhmishra625@gmail.com>

* removed println and aserted for 1 master branch

Signed-off-by: rishabh625 <rishabhmishra625@gmail.com>

* removed auth header assertion

Signed-off-by: rishabh625 <rishabhmishra625@gmail.com>

* procfile to run binaries instead go run

Signed-off-by: rishabh625 <rishabhmishra625@gmail.com>

* procfile to run binaries instead go run

Signed-off-by: rishabh625 <rishabhmishra625@gmail.com>

* reverted unintentional testdata change

Signed-off-by: rishabh625 <rishabhmishra625@gmail.com>

* Added test for branch do not exists

Signed-off-by: rishabh625 <rishabhmishra625@gmail.com>
2022-05-12 09:07:10 -04:00

31 lines
No EOL
781 B
Text

clusters:
- cluster:
server: argocd1.example.com:443
name: argocd1.example.com:443
- cluster:
server: argocd2.example.com:443
name: argocd2.example.com:443
- cluster:
server: localhost:8080
name: localhost:8080
contexts:
- context:
server: argocd1.example.com:443
user: argocd1.example.com:443
cluster: argocd1.example.com:443
name: argocd1.example.com:443
- context:
server: argocd2.example.com:443
user: argocd2.example.com:443
cluster: argocd2.example.com:443
name: argocd2.example.com:443
- context:
server: localhost:8080
user: localhost:8080
cluster: localhost:8080
name: localhost:8080
current-context: localhost:8080
users:
- name: argocd1.example.com:443
- name: argocd2.example.com:443
- name: localhost:8080