Граф коммитов

195 Коммитов

Автор SHA1 Сообщение Дата
Jonathan Innis e8bdc73ff5 Add lastSucceededGeneration for progressing check 2021-06-05 00:57:31 -05:00
Jonathan Innis a851ac4d51 Fix status updates 2021-06-05 00:44:19 -05:00
Jonathan Innis 41b4e51668 Merge branch 'main' into cleanup-reconciler 2021-06-03 22:32:11 -05:00
Jonathan Innis a905400e47 Merge branch 'main' of https://github.com/Azure/orkestra 2021-06-03 21:00:23 -05:00
Jonathan Innis 525863d051
Update argo.go 2021-06-03 07:54:02 -07:00
Jonathan Innis 1eb038f6c5
Add Rollback Create Testing (#267)
* Add additional test, short name, cleanup

* Try rollback scenario

* Add rollback testing

* Fix timeout on testing

* Increase timeout

* Remove using last successful annotation in reconciler struct

* Fix test failures

* Address overwriting annotations

* Split namespaces for separating test cases

* Add ginkgo -p for parallelization

* Use a name override to prevent conflict

* Bookinfo v2

* Seed the rng

* Fix false check on notfound

* Install crd for testing separately

* Add parellelization later

Co-authored-by: Nitish Malhotra <nitish.malhotra@gmail.com>
2021-06-03 07:52:47 -07:00
Nitish Malhotra fe909f91b5
Debug should be disabled by default (#274) 2021-06-02 23:54:26 -07:00
davutkarabay 95970e8bb3 Changes for using action parameter of orkestra workflow executor (#230)
* Changes for using action parameter of orkestra workflow executor

* Base64 encode reverse workflow helm release string

* Resolved PR feedback

* Rebased with the latest main

* Changed action strings to lower-case. Removed ExecutorAction.String() method

* 1) Updated executor image tag to v0.3.0 2) Rebased with the latest main

Co-authored-by: Davut Karabay <davutk@microsoft.com>
2021-06-03 00:11:17 -05:00
Jonathan Innis 824acec996 Merge branch 'more-create-tests' into cleanup-reconciler 2021-05-31 17:38:28 -05:00
Jonathan Innis 7119518f02 Cleanup status and workflow generator 2021-05-31 17:26:20 -05:00
Jonathan Innis e8e7bb5cca Fix test failures 2021-05-31 17:05:26 -05:00
Jonathan Innis 113346995d Remove using last successful annotation in reconciler struct 2021-05-31 00:48:13 -05:00
Jonathan Innis 9b427e6cae Cleanup reconciler code 2021-05-30 18:42:17 -05:00
Jonathan Innis c6139dd0d4 Increase timeout 2021-05-30 18:05:44 -05:00
Jonathan Innis f1e4a229b6 Fix timeout on testing 2021-05-30 16:52:08 -05:00
Jonathan Innis 0cc6d7796c
Merge branch 'main' into more-create-tests 2021-05-30 13:56:24 -07:00
Jonathan Innis 71d3cc481d Add rollback testing 2021-05-30 15:39:59 -05:00
davutkarabay 1344e26445
Changes for using action parameter of orkestra workflow executor (#230)
* Changes for using action parameter of orkestra workflow executor

* Base64 encode reverse workflow helm release string

* Resolved PR feedback

* Rebased with the latest main

* Changed action strings to lower-case. Removed ExecutorAction.String() method

* 1) Updated executor image tag to v0.3.0 2) Rebased with the latest main

Co-authored-by: Davut Karabay <davutk@microsoft.com>
2021-05-28 13:30:07 -07:00
Nitish Malhotra 9a1c2f7b19
Update application subcharts when subcharts are implicit (#258)
* Update ApplicationGroup, application subcharts list if subcharts are implicitly defined

Signed-off-by: Nitish Malhotra <nitish.malhotra@gmail.com>

* Tiltfile should create release in ns default (#266)

Signed-off-by: Nitish Malhotra <nitish.malhotra@gmail.com>

* Handle implicit subchart depedencies

Signed-off-by: Nitish Malhotra <nitish.malhotra@gmail.com>

* Fix lint error

Signed-off-by: Nitish Malhotra <nitish.malhotra@gmail.com>
2021-05-28 10:06:00 -07:00
Nitish Malhotra 0d5db50c01
Update helm chart values after debug/log-level flags change (#269)
Signed-off-by: Nitish Malhotra <nitish.malhotra@gmail.com>
2021-05-27 18:56:20 -07:00
Nitish Malhotra f55b774bd6
Add raw tag to docker workflow (#259)
Signed-off-by: Nitish Malhotra <nitish.malhotra@gmail.com>
2021-05-26 09:39:39 -07:00
Jonathan Innis f203671562 Try rollback scenario 2021-05-25 23:37:39 -05:00
Jonathan Innis e7f83ad792 Merge branch 'main' into more-create-tests 2021-05-25 22:10:35 -05:00
Nitish Malhotra 9efdf89e04
Tiltfile should create release in ns default (#266)
Signed-off-by: Nitish Malhotra <nitish.malhotra@gmail.com>
2021-05-24 19:43:58 -07:00
Jonathan Innis 58d1761afc
Add Debug Makefile Target and Debug mode for Controller (#256)
* Add debug mode to controller for local testing

* Use the local flag instead of mode

* Clean makefile targets

* Make debug level env & skip kind error

Signed-off-by: Nitish Malhotra <nitish.malhotra@gmail.com>

Co-authored-by: Nitish Malhotra <nitish.malhotra@gmail.com>
2021-05-24 10:01:50 -07:00
Jonathan Innis 8fb580a299 Add additional test, short name, cleanup 2021-05-23 21:38:59 -05:00
Jonathan Innis dcf446d00c
Cleanup the Argo Package and Move AppGroup consts to AppGroup Types (#247)
* Cleanup the argo pkg with consts and utils

* Fix failing e2e

* Fix fmt issue

* Move pkg into utils

* Don't export test constants

* Don't export test constants
2021-05-20 10:10:46 -07:00
Jonathan Innis 683fc3f435
Integrate Helm Controller Structs into the AppGroup Spec (#255) 2021-05-18 21:36:49 -07:00
Jonathan Innis 429d372278
Additional Create/Update Testing (#246)
* Add debug flag

* Add additional create/update testing

* Increase executor version, add args

* Remove makefile change

* Fix fmt issues

* Remove debug flag

Co-authored-by: Nitish Malhotra <nitish.malhotra@gmail.com>
2021-05-18 14:42:13 -07:00
Nitish Malhotra 5f7b4a662d
Ignore misc files from parent to subchart (#249)
Signed-off-by: Nitish Malhotra <nitish.malhotra@gmail.com>
2021-05-18 13:05:57 -07:00
Nitish Malhotra 61bba08930
Convert app chart name to dns1123 comp when staging (#244)
Signed-off-by: Nitish Malhotra <nitish.malhotra@gmail.com>
2021-05-18 11:53:17 -07:00
Nitish Malhotra c87c792da4
Pass disableWait flag from app to subchart helmrelease (#243)
* Pass disableWait flag from app to subchart helmrelease

Signed-off-by: Nitish Malhotra <nitish.malhotra@gmail.com>

* Check for nil

Signed-off-by: Nitish Malhotra <nitish.malhotra@gmail.com>

* Check for nil - contd...

Signed-off-by: Nitish Malhotra <nitish.malhotra@gmail.com>
2021-05-17 21:08:54 -07:00
Nitish Malhotra dfe5e00dd6
Concurrency for helm-controller (#239)
Signed-off-by: Nitish Malhotra <nitish.malhotra@gmail.com>
2021-05-15 13:08:17 -07:00
Jonathan Innis b52a2b1917
Initial Create Testing (#223)
* Add basic create test case

* Fix create testing
2021-05-13 11:43:59 -07:00
Nitish Malhotra 6f82284ff8
Use release.timeout as the timeout for the defaultExecutor (#229)
Signed-off-by: Nitish Malhotra <nitish.malhotra@gmail.com>
2021-05-12 09:02:27 -07:00
Nitish Malhotra de882016fa
Find max interval to use as defaultExecutor timout (#227)
Signed-off-by: Nitish Malhotra <nitish.malhotra@gmail.com>
2021-05-11 12:14:53 -07:00
Jonathan Innis d131337643
Change helmrepository sync interval (#224) 2021-05-11 10:17:53 -07:00
Jonathan Innis 7f845c3e77
Fix CrashLoopBackoff when starting Orkestra (#221) 2021-05-10 23:36:57 -07:00
Nitish Malhotra 22d379ddd9
Generate unique names for reverse wf nodes (#219) 2021-05-10 22:45:51 -07:00
Nitish Malhotra 374ddbf100
Make tilt ignore pre-delete hooks (#214)
Signed-off-by: Nitish Malhotra <nitish.malhotra@gmail.com>

Co-authored-by: Jonathan Innis <jonathan.innis.ji@gmail.com>
2021-05-07 13:16:31 -07:00
Nitish Malhotra e2c942dedf
Davutkarabay/reversal workflow 2 (#206)
* Initial changes for reversal workflow

* Resolved PR feedback. Unified the wording from Reversal to Reverse

* Resolved PR feedback

* Resolved PR feedback

* Changes after rebasing with main

* Fixed lint error

* Don't use double pointer argument to initWorkflowObject function

* Pass forward workflow object as argument instead of application group object to GenerateReverse and SubmitReverse functions

* Resolved PR feedback

* Fix the issue that reverse wf finalizer was not removed from the forward wf. Resolved PR feedback too

* Added reversing condition to reconcile on reversal using shorter default duration

Signed-off-by: Nitish Malhotra <nitish.malhotra@gmail.com>

* Changes based on PR feedback

Signed-off-by: Nitish Malhotra <nitish.malhotra@gmail.com>

* Generate manifests after removing reversing cond

Signed-off-by: Nitish Malhotra <nitish.malhotra@gmail.com>

* Replace wf finalizer with simple deletes on completion

Signed-off-by: Nitish Malhotra <nitish.malhotra@gmail.com>

Co-authored-by: Davut Karabay <davutk@microsoft.com>
Co-authored-by: Jonathan Innis <jonathan.innis.ji@gmail.com>
2021-05-07 12:56:11 -07:00
Nitish Malhotra cc78dd0262
Add clarity to E2E testing steps
Add clarity to E2E testing steps
2021-05-06 20:53:41 -07:00
Jonathan Innis ebf5200832
Update issue templates (#210) 2021-05-06 15:27:55 -07:00
Jonathan Innis 546db0f1fa
Add Pre-Delete Hook to Resolve HelmRepository Bug (#205)
* Add hook to resolve helmrepository bug

* Move chartmuseum name to values

* Fix bug in hooks yaml
2021-05-05 23:38:58 -07:00
Jonathan Innis 0b4357bd77
Add Bug Issue Templates (#204)
* Update issue templates

* Update bug_report.md
2021-05-05 23:35:29 -07:00
Nitish Malhotra b39e5d6de2 Add github link to homepage
Signed-off-by: Nitish Malhotra <nitish.malhotra@gmail.com>
2021-05-05 15:58:44 -07:00
Nitish Malhotra 4923093fed Updated Developer Docs for Website
Signed-off-by: Nitish Malhotra <nitish.malhotra@gmail.com>
2021-05-05 15:55:13 -07:00
Nitish Malhotra da781bcc65 Add developer docs for running e2e tests
Signed-off-by: Nitish Malhotra <nitish.malhotra@gmail.com>
2021-05-05 14:31:18 -07:00
Nitish Malhotra d4a8d50d25 Add names for workflow tasks
Signed-off-by: Nitish Malhotra <nitish.malhotra@gmail.com>
2021-05-05 14:11:47 -07:00
Nitish Malhotra 5d313864ea Merge branch 'main' of github.com:azure/orkestra into main
Signed-off-by: Nitish Malhotra <nitish.malhotra@gmail.com>
2021-05-05 14:09:14 -07:00