Commit Graph

13 Commits

Author SHA1 Message Date
Jian Zhu
7332a585c0 🌱 add a verify rule for golang files import order (#177)
* 🌱 add a verify rule for golang files import order

This PR uses the [gci tool](https://github.com/daixiang0/gci) to make all go files' import section with a specific order, it will organize import with group with order:
1. standard library modules
2. 3rd party modules
3. modules in OCM org, like the `open-cluster-management.io/api`
4. current project `open-cluster-management.io/ocm` modules

developers can use the `make fmt-imports` to format the import automatically and the `make verify-fmt-imports` to check for any violation.

Signed-off-by: zhujian <jiazhu@redhat.com>

* 🌱 format the go files import

Signed-off-by: zhujian <jiazhu@redhat.com>

---------

Signed-off-by: zhujian <jiazhu@redhat.com>
2023-06-12 10:23:04 -04:00
Jian Qiu
116ae8cc28 Refactor version/feature/cmd packages (#148)
Signed-off-by: Jian Qiu <jqiu@redhat.com>
2023-05-30 02:07:32 -04:00
xuezhaojun
ad38b9465f Relocate pkgs. (#146)
Signed-off-by: xuezhaojun <zxue@redhat.com>
2023-05-29 07:20:55 -04:00
xuezhaojun
2fc048a096 Setup images build and github actions(without release).
Signed-off-by: xuezhaojun <zxue@redhat.com>
2023-05-25 12:43:57 +08:00
xuezhaojun
12fd44892c relocate to staging: work
Signed-off-by: xuezhaojun <zxue@redhat.com>
2023-05-25 12:38:51 +08:00
Jian Qiu
21fb8d72ba Upgrade kube lib to 1.26 and remove old webhook (#189)
Signed-off-by: Jian Qiu <jqiu@redhat.com>
2023-03-02 03:50:49 +01:00
Jian Qiu
17031158f6 Add informer setup for placemanifestwork (#175)
- add index and informer to watch resources
- build binary for hub manager

Signed-off-by: Jian Qiu <jqiu@redhat.com>

Signed-off-by: Jian Qiu <jqiu@redhat.com>
2023-01-12 15:53:45 -05:00
DangPeng Liu
467124210c use controller runtime to implement webhook (#164)
Signed-off-by: ldpliu <daliu@redhat.com>

Signed-off-by: ldpliu <daliu@redhat.com>
2022-11-06 22:14:16 -05:00
Wei Liu
10b572b2a6 enable log flags (#140)
Signed-off-by: Wei Liu <liuweixa@redhat.com>
2022-06-15 16:18:20 +00:00
Jian Qiu
e56f18849f Change deps and enable action
Signed-off-by: Jian Qiu <jqiu@redhat.com>
2021-06-15 15:33:20 +08:00
Yang Le
a6e71e8083 Fix remediate static scan findings issues/5094 2020-09-09 16:53:11 +08:00
Jian Qiu
440af3438a Add manifestwork validating webhook 2020-07-30 19:31:27 +08:00
Jian Qiu
7ef58f61a5 Add controller base for work agent 2020-04-22 00:24:19 +08:00