Files
rishabh625andGitHub 025b3f48f5 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 <[email protected]>

* Added missing mock endpoint

Signed-off-by: rishabh625 <[email protected]>

* removed println and aserted for 1 master branch

Signed-off-by: rishabh625 <[email protected]>

* removed auth header assertion

Signed-off-by: rishabh625 <[email protected]>

* procfile to run binaries instead go run

Signed-off-by: rishabh625 <[email protected]>

* procfile to run binaries instead go run

Signed-off-by: rishabh625 <[email protected]>

* reverted unintentional testdata change

Signed-off-by: rishabh625 <[email protected]>

* Added test for branch do not exists

Signed-off-by: rishabh625 <[email protected]>
2022-05-12 09:07:10 -04:00

31 lines
781 B
Plaintext

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