Commit Graph

1285 Commits

Author SHA1 Message Date
Jian Qiu
db3b6fdb20 Add owner file for sub project (#182)
Signed-off-by: Jian Qiu <jqiu@redhat.com>
2023-06-13 05:21:07 -04:00
Jian Zhu
d3d648283e 🌱 Configure the golangci lint (#180)
* 🌱 Configure the golangci lint

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

* 🌱 Fix lint issues

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

---------

Signed-off-by: zhujian <jiazhu@redhat.com>
2023-06-13 03:51:48 -04:00
Wei Liu
b55881d6d2 expose the spoke informers (#179)
Signed-off-by: Wei Liu <liuweixa@redhat.com>
2023-06-12 23:10:15 -04:00
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
3c9bfea949 🌱 Add a common patcher and adopt it in registration (#178)
* Add a common patcher and adopt it in registration

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

* Add patcher test

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

---------

Signed-off-by: Jian Qiu <jqiu@redhat.com>
2023-06-12 02:40:09 -04:00
xuezhaojun
6d4c48822c Add: upload coverge again when push commit. (#175)
Signed-off-by: xuezhaojun <zxue@redhat.com>
2023-06-08 04:27:10 -04:00
Wei Liu
87d152e115 add more debug info for autoapprove test (#172)
Signed-off-by: Wei Liu <liuweixa@redhat.com>
2023-06-08 04:05:28 -04:00
Jian Qiu
62efbf935b Build common options for agent (#163)
Signed-off-by: Jian Qiu <jqiu@redhat.com>
2023-06-08 02:55:43 -04:00
Wei Liu
9258cc91e4 increase waiting time for lease update goroutine (#174)
Signed-off-by: Wei Liu <liuweixa@redhat.com>
2023-06-08 02:47:58 -04:00
Omar Farag
483612a615 📖 docs Add: Added argocd pull docs (#168)
* Added argocd pull docs

Signed-off-by: Omar Farag <ofarag@redhat.com>

* Resolve suggestions

Signed-off-by: Omar Farag <ofarag@redhat.com>

---------

Signed-off-by: Omar Farag <ofarag@redhat.com>
2023-06-07 16:50:58 -04:00
Jian Qiu
3105fbfc5b Add PR verify action (#171)
Signed-off-by: Jian Qiu <jqiu@redhat.com>
2023-06-07 12:51:55 -04:00
xuezhaojun
83152d4adb Add: Empty Checkers when only having Doc changes. (#169)
Signed-off-by: xuezhaojun <zxue@redhat.com>
2023-06-07 05:01:22 -04:00
youhwsh
a51a1123e7 client certificate expiration seconds must greater or qual to 3600 (#149)
Signed-off-by: johan <wangyouhang@ibm.com>
Co-authored-by: johan <wangyouhang@ibm.com>
2023-06-07 02:54:06 -04:00
Chunlin Yang
6f21760b7e Bump k8s to v0.27.2 (#160)
upgrade to golang 1.20

Signed-off-by: clyang82 <chuyang@redhat.com>
2023-06-06 05:55:07 -04:00
xuezhaojun
652bf923f4 Add: codecov configuration. (#166)
Signed-off-by: xuezhaojun <zxue@redhat.com>
2023-06-06 04:22:08 -04:00
Qing Hao
fed5020c12 stabilize placement integration test (#165)
Signed-off-by: haoqing0110 <qhao@redhat.com>
2023-06-06 01:25:27 -04:00
Jian Qiu
d21057c831 Fix: webhook e2e left some unhandled clusters (#164)
Signed-off-by: Jian Qiu <jqiu@redhat.com>
2023-06-05 10:56:43 -04:00
Jian Qiu
72d87a2ea5 Refactor testing (#161)
* Move common testing fixture to a common location

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

* Add common pkg

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

---------

Signed-off-by: Jian Qiu <jqiu@redhat.com>
2023-06-04 22:47:08 -04:00
Jian Qiu
2b4eee3f98 Move registration e2e and remove staging (#159)
Signed-off-by: Jian Qiu <jqiu@redhat.com>
2023-06-02 01:15:32 -04:00
Jian Qiu
384a3f4205 move placement e2e out of staging (#158)
Signed-off-by: Jian Qiu <jqiu@redhat.com>
2023-06-01 07:46:43 -04:00
Jian Qiu
3db47b7997 Move work e2e out of staging (#157)
* Move work e2e out of staging

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

* some refactor on tester

remove unnecessary field and build a enable feature func

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

---------

Signed-off-by: Jian Qiu <jqiu@redhat.com>
2023-06-01 06:18:21 -04:00
Omar Farag
2a94ee1f93 Add to argocd documentation (#151)
* Add to argocd documentation

Signed-off-by: Omar Farag <ofarag@redhat.com>

* Resolve suggested change

Signed-off-by: Omar Farag <ofarag@redhat.com>

* Added tip to another similar readme

Signed-off-by: Omar Farag <ofarag@redhat.com>

---------

Signed-off-by: Omar Farag <ofarag@redhat.com>
2023-05-31 13:20:26 -04:00
Jian Qiu
95aa3b1a06 Move operator e2e (#156)
Signed-off-by: Jian Qiu <jqiu@redhat.com>
2023-05-31 07:09:42 -04:00
Jian Qiu
3d6b001b0f Use image builder to build image (#154)
Signed-off-by: Jian Qiu <jqiu@redhat.com>
2023-05-31 03:49:35 -04:00
xuezhaojun
58109097f9 Update: ignore changes on docs/solutions in github actions. (#153)
Signed-off-by: xuezhaojun <zxue@redhat.com>
2023-05-31 03:46:55 -04:00
Jian Qiu
8a05d4b030 Refactore integration test (#150)
Signed-off-by: Jian Qiu <jqiu@redhat.com>
2023-05-31 02:34:06 -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
95777bec13 Update CONTRIBUTING.md and links in README. (#145)
Signed-off-by: xuezhaojun <zxue@redhat.com>
2023-05-25 10:00:00 -04:00
Jian Qiu
3728774792 Merge pull request #143 from xuezhaojun/consolidate-code-from-0.11.0
Consolidate code from 0.11.0
2023-05-25 14:19:34 +08: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
a27dd5c4bf Move back origin ocm files.
Signed-off-by: xuezhaojun <zxue@redhat.com>
2023-05-25 12:41:56 +08:00
xuezhaojun
6166294856 Fix gitignore to include cmd changes.
Signed-off-by: xuezhaojun <zxue@redhat.com>
2023-05-25 12:40:45 +08:00
xuezhaojun
ce598a00ef relocate to staging: registration-operator
Signed-off-by: xuezhaojun <zxue@redhat.com>
2023-05-25 12:39:38 +08:00
xuezhaojun
71a8bba2da Merge remote-tracking branch 'remotes/registration-operator/main' into consolidate-code-from-0.11.0 2023-05-25 12:39:32 +08:00
xuezhaojun
30aee6e3e6 relocate to staging: placement
Signed-off-by: xuezhaojun <zxue@redhat.com>
2023-05-25 12:39:10 +08:00
xuezhaojun
7d18d43070 Merge remote-tracking branch 'remotes/placement/main' into consolidate-code-from-0.11.0 2023-05-25 12:39:02 +08:00
xuezhaojun
12fd44892c relocate to staging: work
Signed-off-by: xuezhaojun <zxue@redhat.com>
2023-05-25 12:38:51 +08:00
xuezhaojun
9aa35fcb1b Merge remote-tracking branch 'remotes/work/main' into consolidate-code-from-0.11.0 2023-05-25 12:38:47 +08:00
xuezhaojun
5b3c49e03b relocate to staging: registration
Signed-off-by: xuezhaojun <zxue@redhat.com>
2023-05-25 12:38:18 +08:00
xuezhaojun
d49263f7e6 Merge remote-tracking branch 'remotes/registration/main' into consolidate-code-from-0.11.0 2023-05-25 12:38:13 +08:00
xuezhaojun
a8ac4e4c57 Keep origin ocm files into /origin shortly.
Signed-off-by: xuezhaojun <zxue@redhat.com>
2023-05-25 12:37:47 +08:00
xuezhaojun
4a922496e6 Update api version. (#203)
Signed-off-by: xuezhaojun <zxue@redhat.com>
2023-05-24 22:44:31 -04:00
Zhiwei Yin
a9b50c6def bump to 0.12.0 (#356)
Signed-off-by: Zhiwei Yin <zyin@redhat.com>
2023-05-24 22:41:55 -04:00
Yang Le
6273ea6277 add changelog for v0.11.0 (#204)
Signed-off-by: Yang Le <yangle@redhat.com>
2023-05-24 22:39:19 -04:00
Wei Liu
6c31cc51a0 add v0.11 changelog (#317)
Signed-off-by: Wei Liu <liuweixa@redhat.com>
2023-05-24 04:01:54 -04:00
Zhiwei Yin
d9c40bce99 add changelog 0.11 (#355)
Signed-off-by: Zhiwei Yin <zyin@redhat.com>
2023-05-24 03:00:20 -04:00
Qing Hao
d5cdc5b8f7 add changelog for v0.11.0 (#110)
Signed-off-by: haoqing0110 <qhao@redhat.com>
2023-05-24 03:00:19 -04:00
Qing Hao
85bea2f200 update ocm api to v0.11.0 (#111)
Signed-off-by: haoqing0110 <qhao@redhat.com>
2023-05-24 02:18:51 -04:00
Jian Qiu
ac4d42bd45 Allow return rawjson when featuregate is enabled (#202)
Signed-off-by: Jian Qiu <jqiu@redhat.com>
2023-05-23 22:41:19 -04:00