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

255 Коммитов

Автор SHA1 Сообщение Дата
Nitish Malhotra 259e906371
Nitishm/bug/409/custom reverse workflow crash (#410)
* Custom executor example

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

* Instantiate CustomReverse executor with the image instance

Signed-off-by: Nitish Malhotra <nitish.malhotra@gmail.com>
2021-11-12 11:38:53 -08:00
Nitish Malhotra 01a609477f
Custom executor example (#408)
Signed-off-by: Nitish Malhotra <nitish.malhotra@gmail.com>
2021-11-09 14:21:15 -08:00
Nitish Malhotra 50ad731f98
Update README.md 2021-11-09 13:01:45 -08:00
Nitish Malhotra 7bdc4253d9
Add custom executor example to docs (#407)
Signed-off-by: Nitish Malhotra <nitish.malhotra@gmail.com>
2021-11-08 10:45:37 -08:00
Nitish Malhotra 12d0f46e8b
Add workflow generator for custom executor (#406) 2021-11-06 10:23:10 -07:00
Nitish Malhotra 86b28c09ef Accidental checkin of addons chart
Signed-off-by: Nitish Malhotra <nitish.malhotra@gmail.com>
2021-10-07 15:03:43 -07:00
Nitish Malhotra 49cbaebff8 change codeblocks from terminal to shell
Signed-off-by: Nitish Malhotra <nitish.malhotra@gmail.com>
2021-10-07 10:41:25 -07:00
Nitish Malhotra 3e5b682a7b
Add instructions to authenticate with keptn (#400)
Signed-off-by: Nitish Malhotra <nitish.malhotra@gmail.com>
2021-10-07 10:18:51 -07:00
Nitish Malhotra 0bcfd6d3c2
Updated developer notes and added examples section to website (#399)
Signed-off-by: Nitish Malhotra <nitish.malhotra@gmail.com>
2021-10-06 15:57:17 -07:00
Nitish Malhotra 6a2811688f
Set keptn prometheus service and RBAC namespace to Orkestra (#398)
* Set keptn prometheus service and RBAC namespace to Orkestra

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

* Add fully-qualified path to example YAMLs in example READMEs

Signed-off-by: Nitish Malhotra <nitish.malhotra@gmail.com>
2021-10-06 15:01:53 -07:00
Nitish Malhotra a4134302fc
Added new charts and keptn example (#394)
* Added new charts and keptn example

- Added keptn-addons chart to orkestra. Addons include prometheus
  service and job executor services for keptn
- Created a new bookinfo example with istio (WIP)

TODO:
- Add keptn resources to bookinfo info example with istio

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

* Manual keptn testing and configurations

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

* Fix parameter configmap flag for keptn executor

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

* Add keptn configmap for bookinfo example

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

* fix bug where reverse executor does not carry forward the task params

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

* Add README.md

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

* Address review comments

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

* Address comments

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

* Reorder README.md

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

Co-authored-by: Jonathan Innis <jonathan.innis.ji@gmail.com>
2021-10-05 14:40:10 -07:00
Jonathan Innis 6af0807bcf
Fix deepcopy calls (#396) 2021-10-05 14:13:04 -07:00
Nitish Malhotra afc0de09d8
Cleanup root directory (#390) 2021-09-28 22:32:50 -07:00
dependabot[bot] f7ffd97a4e
Bump nokogiri from 1.12.4 to 1.12.5 in /docs (#393)
Bumps [nokogiri](https://github.com/sparklemotion/nokogiri) from 1.12.4 to 1.12.5.
- [Release notes](https://github.com/sparklemotion/nokogiri/releases)
- [Changelog](https://github.com/sparklemotion/nokogiri/blob/main/CHANGELOG.md)
- [Commits](https://github.com/sparklemotion/nokogiri/compare/v1.12.4...v1.12.5)

---
updated-dependencies:
- dependency-name: nokogiri
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-09-28 09:51:52 -07:00
Nitish Malhotra ccc18f3bf7 Add layers png and edits to README/Docs
Signed-off-by: Nitish Malhotra <nitish.malhotra@gmail.com>
2021-09-27 14:25:17 -07:00
Nitish Malhotra b78fb18422 Remove until we have a better image for 5G workflow
Signed-off-by: Nitish Malhotra <nitish.malhotra@gmail.com>
2021-09-25 22:17:14 -07:00
Nitish Malhotra 946b48c8c2 Embed png into README
Signed-off-by: Nitish Malhotra <nitish.malhotra@gmail.com>
2021-09-25 22:15:25 -07:00
Nitish Malhotra b884626812 Add layers png for 5G use case
Signed-off-by: Nitish Malhotra <nitish.malhotra@gmail.com>
2021-09-25 22:14:16 -07:00
Nitish Malhotra ee78fc7ead Minor changes to README
Signed-off-by: Nitish Malhotra <nitish.malhotra@gmail.com>
2021-09-25 22:08:35 -07:00
Nitish Malhotra 1e59ee2e97 Speed up gif in README
Signed-off-by: Nitish Malhotra <nitish.malhotra@gmail.com>
2021-09-25 19:15:28 -07:00
Nitish Malhotra 3f1801b457 Speed up gif
Signed-off-by: Nitish Malhotra <nitish.malhotra@gmail.com>
2021-09-25 19:14:57 -07:00
Nitish Malhotra cf752cf266
Update docs (#386)
Signed-off-by: Nitish Malhotra <nitish.malhotra@gmail.com>
2021-09-25 18:54:53 -07:00
Jonathan Innis 2e25586451
Add Executor Node Logic to Graph (#381)
* Add executor node logic to graph

* Fix template test failure

* Fix tests

* Add additional parameter support to workflow
2021-09-24 13:34:50 -07:00
Jonathan Innis 363b8a8946
Use a Workflow Status Thread Rather than Short Requeue (#382)
* Add tracking for previous applications

* Add purging logic with list

* Fix failing test case

* Fix failing test case

* Add new func test cases

* Add get diff functionality to graph

* Create a rollback new application workflow

* Combine the purge of newer applications with rollback workflow

* Create an executor interface for creating templates

* Increase default workflow executor version

* Use a workflow reconciler to update app group status

* Add finalizer to catch deletion

* Fix calling both rollback and reverse

* Add rolledback status to json printer

* Fix reverse workflow not working properly
2021-09-24 09:38:42 -07:00
Nitish Malhotra e22ff10fdb
API spec changes to support configuring workflow executors (#380)
* API spec changes to support configuring workflow executors

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

* Update api-docs

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

* Address review comments and generate CRD manifests

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

* Add multi-executor example

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

* Update appgroup_types.go

* Update appgroup_types.go

Co-authored-by: Jonathan Innis <jonathan.innis.ji@gmail.com>
2021-09-03 15:46:01 -07:00
Jonathan Innis b7b480a7e6
Purge Newer Applications Deployed on Rollback (#352)
* Add tracking for previous applications

* Add purging logic with list

* Fix failing test case

* Fix failing test case

* Add new func test cases

* Add get diff functionality to graph

* Create a rollback new application workflow

* Combine the purge of newer applications with rollback workflow

* Create an executor interface for creating templates

* Increase default workflow executor version
2021-09-01 09:28:00 -07:00
dependabot[bot] 256ba46dd0
Bump nokogiri from 1.11.3 to 1.12.4 in /docs (#378) 2021-08-31 09:09:06 -07:00
dependabot[bot] 851a8f2df6
Bump nokogiri from 1.11.3 to 1.12.4 in /docs (#375) 2021-08-31 09:06:19 -07:00
Jonathan Innis dd0e111fe2
Fix security vulnerabilities and upgrade deps (#376) 2021-08-31 08:27:47 -07:00
dependabot[bot] 0088d4057b
Bump addressable from 2.7.0 to 2.8.0 in /docs (#374) 2021-08-30 23:24:02 -07:00
Jonathan Innis 5da5590041
Refactor the DAG application logic into Graph (#371)
* Refactor the DAG application logic into the graph creation

* Refactor the DAG application logic into the graph creation

* Add graph testing
2021-08-26 14:00:35 -07:00
Trịnh Đức Bảo Linh 3989de1777
follow conding convetion (#370) 2021-08-04 21:40:09 -07:00
Jonathan Innis 49b90b1fae
Upgrade CI/CD to Newest Version of Kind (#363)
* Test ci cd

* Increase atomic timeout

* Upgrade kind version
2021-07-15 17:37:50 -07:00
Nitish Malhotra 9b8c51cead
Add keptn plugin charts (#358)
Signed-off-by: Nitish Malhotra <nitish.malhotra@gmail.com>
2021-07-09 10:21:26 -07:00
Rajwinder Mahal 878663e8af
Refactor e2e tests (#343)
* [WIP] Parallelize e2e tests

* Fix golangci-lint

* [WIP] Parallelize e2e tests

* Fix golangci-lint

* Add test cases to run in parallel across 4 nodes

* Refactor test code

* Refactor test utils

* Minor changes to tests

* Update Makefile

* Update Makefile

* Unexport consts, add helper functions

* Remove redundant helper functions, rename testutils

* Add comments about helm release count variables
2021-06-27 18:52:48 -07:00
Rajwinder Mahal 02f248c2ba
Fix invalid pointer and slice bug in Graph.bft() (#350) 2021-06-25 21:26:36 -07:00
Nitish Malhotra d2c214a978
Bump up default executor version to v0.4.1 (#348) 2021-06-24 00:52:30 -07:00
Jonathan Innis e822ad1e58
Upgrade Executor to Version v0.4.0 (#347)
* Upgrade executor version

* Fix testcase timeout

* Change default interval to 1s
2021-06-23 22:53:22 -07:00
Rajwinder Mahal f33137a05c
[WIP] Add tests for graph.go (#334) 2021-06-22 22:54:19 -07:00
Nitish Malhotra 49631d9867
Nitishm/bug/344/finalizer check (#346)
* Fix finalizer check

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

* Another fix to reverse

Signed-off-by: Nitish Malhotra <nitish.malhotra@gmail.com>
2021-06-22 13:35:04 -07:00
Nitish Malhotra 96a8d8575f
Fix finalizer check (#345) 2021-06-22 12:26:56 -07:00
Nitish Malhotra 6b636a9362
Workflow serviceaccount not using orkestra SA (#342)
* Workflow serviceaccount not using orkestra SA

Closes #341

* Update values.yaml
2021-06-21 17:36:31 -07:00
Rajwinder Mahal e3d795770d
Refactor + unit tests for pkg/workflow/templates.go (#339) 2021-06-20 10:44:57 -07:00
Heba Elayoty d5520d958e
bug:update makefile to have create/delete kind and add clean target (#302)
* remove e2e target and extra whitespace

* Check if the kind cluster already exists

* Update scripts path

Co-authored-by: Nitish Malhotra <nitish.malhotra@gmail.com>
2021-06-18 11:28:24 -07:00
Rajwinder Mahal 399ba328d1
Add Slack info to CONTRIBUTING.md (#336) 2021-06-17 19:56:39 -07:00
Rajwinder Mahal 4f7c94cc47
bug fix: assignment to entry in nil map (#338) 2021-06-17 17:58:15 -07:00
Rajwinder Mahal 2111de4fa9
Refactor ConvertToDNS1123() (#335) 2021-06-17 13:33:03 -07:00
Jonathan Innis 0ecbdd27a6
Fix finalizer bug (#333) 2021-06-16 18:33:19 -07:00
Jonathan Innis 53f99f3e8c
Remove unused code in rollback (#330) 2021-06-16 10:33:12 -07:00
Jonathan Innis 64ded4a495
Improve Conditions Returned By ApplicationGroup (#313)
* Add error conditions, create rollback workflow client

* Fix patching the status

* Update CRD status names

* Fix golint errors

* Fix rollback testing scenarios

* Fix PR comments

* Fix error returned in condition

* Remove duplicate logging, only log at top level
2021-06-16 09:48:23 -07:00