Commit graph

27 commits

Author SHA1 Message Date
Jesse Suen
653f9d3913
Remove local git credential test to prevent clobbering of OSX keychain credentials (resolves #315) 2018-06-24 03:39:05 -07:00
Alexander Matyushentsev
aa4291183b
Take into account number of unavailable replicas to decided if deployment is healthy or not (#270)
* Take into account number of unavailable replicas to decided if deployment is healthy or not

* Run one controller for all e2e tests to reduce tests duration

* Apply reviewer notes: use logic from kubectl/rollout_status.go to check deployment health
2018-06-07 11:05:46 -07:00
Andrew Merenbach
6b78cddb19
Add repo browsing endpoint (#229)
* Add skeleton ListDir endpoint

* Update proto with path field

* Add first working file retrieval

* Update git client to support paths

* Update proto file

* Flesh out prototype code for retrieving files

* Create repo server with repoclientset

* Rm unneeded test code

* Update generated code

* Use HTTP queries instead of URL components

* Error out properly

* Add missing fixture test

* Rm commented endpoint, thanks @alexmt

* Skip invalid app specs
2018-05-24 19:09:52 -07:00
Jesse Suen
07aac0bdae
Move local branch deletion as part of git Reset() (resolves #185) (#222) 2018-05-21 15:21:09 -07:00
Jesse Suen
d67ad5acfd
Add connect timeouts when interacting with SSH git repos (resolves #131) (#203) 2018-05-15 10:30:31 -07:00
Jesse Suen
5f65a5128a
Introduce caching layer to repo server to improve query response times (#165) 2018-05-07 11:31:00 -07:00
Jesse Suen
fb2d6b4aff
Refactor repo server and git client (#163)
* added a general purpose GetFile RPC and remove GetKsonnetApp RPC
* reposerver did not talk to kubernetes -- removed all k8s imports
* git client refactored to simply method signatures
2018-05-06 20:51:17 -07:00
Andrew Merenbach
3f4ec0ab22
Expand Git repo URL normalization (#162)
* Expand unit tests for Git functions

* Update tests for IsSSHUrl

* Add TODO

* Add EnsureSuffix tests

* Add EnsureSuffix function

* Lowercase repo name in secret name

* Expand normalization and related tests

* Add tests for EnsurePrefix

* Rm redundant strings.ToLower

* Update repository names to fix broken tests

* Expand tests some more to include missing .git suffix, thanks @jessesuen

* Add additional repository tests, thanks @jessesuen

* Fix typo in comment
2018-05-04 17:31:04 -07:00
Jesse Suen
13558b7ce8
Revert change to redact credentials since logic is reused by controller 2018-05-03 16:42:21 -07:00
Jesse Suen
fdf9515de2 Refactor git library:
* store credentials in files (instead of encoded in URL) to prevent leakage during git errors
* fix issue where HEAD would not track updates from origin/HEAD (resolves #133)
* refactor git library to promote code reuse, and remove shell invocations
2018-04-30 11:01:40 -07:00
Alexander Matyushentsev
63dafa08cc
Issue #110 - Rollback ignores parameter overrides (#117)
* Issue #110 - Rollback ignores parameter overrides

* Issue #110 - Move rollback functionality to separate API endpoint

* Use status.Errorf to report invalid rollback id parameter
2018-04-24 13:34:03 -07:00
Jesse Suen
b24e478224 Add application validation 2018-04-20 16:37:54 -07:00
Alexander Matyushentsev
59dbe8d7ea
Maintain list of recent deployments in app CRD (#59) 2018-03-28 17:35:48 -07:00
Alexander Matyushentsev
234ace173e
Replace ephemeral environments with override parameters (#52) 2018-03-26 08:28:56 -07:00
Alexander Matyushentsev
92b7c6b5f8
Disable strict host key checking while cloning repo in repo-server (#45)
* Disable strict host key checking while cloning repo in repo-server

* Use correct environment during fetching git repo in repo-server
2018-03-20 11:52:42 -07:00
Alexander Matyushentsev
611b0e48d7
Issue #34 - Support ssh git URLs and ssh key authentication (#37)
* Issue #34 - Support ssh git URLs and ssh key authentication

* Add git unit tests
2018-03-15 13:00:54 -07:00
Alexander Matyushentsev
405b47ffe6
Issue #19 - Move Kubernetes manifest generation into separate service (#20) 2018-03-06 22:05:07 -08:00
Alexander Matyushentsev
08344adc1c Fix git client CloneOrFetch: remove local branches after fetching remote changes 2018-03-01 11:52:42 -08:00
Jesse Suen
d61a8e6704
Fix application-controller dockerfile. Install RBAC artifacts. 2018-03-01 04:14:55 -08:00
Alexander Matyushentsev
466d5094fe
Fix git client CloneOrFetch: remove local branches after fetching remote changes (#17) 2018-02-28 23:16:27 -08:00
Jesse Suen
c13699cfe3
Fixes to app comparator 2018-02-27 01:53:14 -08:00
Jesse Suen
4d9a53849f
Update to latest ksonnet with single destination. Fix linting errors. Update build container 2018-02-26 13:47:42 -08:00
Alexander Matyushentsev
f060f44fd2
Synchronize repo processing in app manager (#6) 2018-02-23 12:51:10 -08:00
Alexander Matyushentsev
dd47c741c4
More application manager tests (#5) 2018-02-23 08:58:00 -08:00
Alexander Matyushentsev
c0233ebcec
Update application CRD types, implement application manager draft (#3) 2018-02-22 10:56:14 -08:00
Jesse Suen
d7d7821c3e
Support persistence of repos as secrets 2018-02-21 03:01:43 -08:00
Jesse Suen
0f712e4081
Add repository service, CLI subcommand, and backend implementation 2018-02-20 14:06:15 -08:00