Commit Graph

30 Commits

Author SHA1 Message Date
Simon Behar
f185137ed1 Added Kustomize, Helm, and Kubectl to argocd version (#2329) 2019-10-03 17:07:56 -07:00
Alex Collins
f0d3a042a3 Adds a timeout to all external commands. Closes #1821 (#1823) 2019-06-28 10:44:01 -07:00
Alexander Matyushentsev
be40dbc8cc Issue #1326 - Rollback UI is not showing correct ksonnet parameters in preview (#1464) 2019-04-16 08:52:48 -07:00
Jesse Suen
28fa4a7571 MAGA: Make ArgoCD Golang Again! (#1279) 2019-04-04 02:35:13 -07:00
Jesse Suen
39174ab969 Move parameters listing from GenerateManifests to GetAppDetails (#1221)
* Move parameters listing from GenerateManifests to GetAppDetails
* Fix logging to use standard logger to honor CLI loglevel
2019-03-05 14:56:47 -08:00
Alex Collins
31e801425f Lints local imports. Closes #1197 (#1198) 2019-02-27 18:05:55 -08:00
Jesse Suen
04564add01 Make injected application instance label configurable from default (#944)
* Make injected application instance label configurable from default
Stop removing ksonnet.io/component label, unless using legacy label

* Fix applying of resources when namespace is empty
2018-12-23 22:25:04 -08:00
Andrew Merenbach
1eaa813f28 Use ksonnet CLI instead of ksonnet libs (#590) (#626) 2018-09-27 11:52:08 -07:00
Andrew Merenbach
3c755a2002 Upgrade Ksonnet (#506) 2018-08-15 12:56:41 -07:00
Jesse Suen
a7c7523a8c Support helm charts and yaml directories as an application source (#432)
* Support helm charts and yaml directories as an application source
* Run e2e test in parallel and increase timeout
2018-07-24 16:37:12 -07:00
dthomson25
3dbb6f3002 Add ksonnet version to version endpoint (#433)
* Add ksonnet version to version endpoint

I needed to move config.go out of the cli package to fix a circular dependency.

* Remove ksonnetVersion field from the ArgoCD version struct
2018-07-20 09:13:16 -07:00
Jesse Suen
c0367ed595 Add support for hook deletion policies (OnSuccess, OnFailure) (resolves #374) (#412) 2018-07-16 10:15:53 -07:00
Jesse Suen
92c481330d App creation was not defaulting to server and namespace defined in app.yaml 2018-05-15 01:35:43 -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
Alexander Matyushentsev
a36cc8946c Issue #136 - Use custom formatter to get desired state of deployment and service (#145)
* Issue #136 - Use custom formatter to get desired state of deployment and service

* Remove unnecessary break, document default removals
2018-04-30 13:29:35 -07:00
Jesse Suen
b320238487 ksonnet util was not locating a ksonnet app dir correctly 2018-04-28 02:57:03 -07:00
Jesse Suen
050f937a24 Update ksonnet to v0.10.0-alpha.3 2018-04-20 17:16:03 -07:00
Jesse Suen
b24e478224 Add application validation 2018-04-20 16:37:54 -07:00
Jesse Suen
ee924bda6e Update ksonnet binary in image to ks tip. Begin using ksonnet as library instead of parsing stdout 2018-04-04 16:51:37 -07:00
Alexander Matyushentsev
10a8d521ef Add application source and component parameters into recentDeployment field of application CRD (#53)
* Add application source and component parameters into recentDeployment field of application CRD

* Fix broken test
2018-03-26 11:37:38 -07:00
Alexander Matyushentsev
234ace173e Replace ephemeral environments with override parameters (#52) 2018-03-26 08:28:56 -07:00
Andrew Merenbach
98754c7fe1 Persist parameters during deployment (Sync) (#39)
* Add basic skeleton for improvements

* Update protobuf config for repository API

* Update skeleton of deploy params code

* Add DeploymentInfo struct

* Add comment, comment out code

* Update repository.pb.go

* Update comment in repository.proto

* Update reposerver subpackage

* Comment out for now

* Start getting function into shape

* Flesh out logic further

* Get unit test started for TestListEnvParams

* Add missing interface declaration

* Finish unit test for ListEnvParams

* Use string literals for regexp.MustCompile

* Clean up RPC response code

* Use map[string]interface{} for now, thanks @alexmt

* First draft attempt to integrate deployment info retrieval

* Install more wiring

* DRY

* Move CRD update to after successful deployment, thanks @alexmt

* Move app params update to after successful deployment, too

* Don't replace application status, thanks @alexmt

* Convert to string types

* Don't create unused var

* Log received values

* Unquote quoted params

* Use string as value type

* Use named returns, no magic number

* Use map for gRPC data transfer

* Update generated code

* Log actual map, not wrapper object

* Fix unit test
2018-03-16 14:58:59 -07:00
Alexander Matyushentsev
d1311bdc8c Upgrade ksonnet version 2018-03-08 14:51:52 -08:00
Jesse Suen
a369d51a27 Add ability to sync an application to its target state 2018-02-28 03:07:56 -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
f25a7f6547 Add argo ci config, temporary skip failing tests (#11) 2018-02-26 09:48:58 -08:00
Jesse Suen
787ee520b4 Add diff utility library for comparing unstructured object(s) 2018-02-25 18:36:19 -08:00
Jesse Suen
be0a7e992a Fix linting errors 2018-02-25 00:44:40 -08:00
Jesse Suen
3082409330 Libraries for the equivalent of ks show env and kubectl get all -l mylabel=val 2018-02-24 04:15:36 -08:00
Jesse Suen
fe7bc15694 Add initial stubs for ksonnet util 2018-02-22 18:42:35 -08:00