Commit Graph

6540 Commits

Author SHA1 Message Date
karmada-bot 471d850a19
Merge pull request #5913 from chaosi-zju/test
simplify local-up-karmada.sh based on setup-dev-base.sh
2024-12-12 10:25:16 +08:00
karmada-bot 44b59a7d5b
Merge pull request #5869 from mohamedawnallah/unitTestAPIClientUtil
pkg/karmadactl/util: unit test apiclient
2024-12-12 10:16:16 +08:00
karmada-bot a6df137157
Merge pull request #5918 from chaosi-zju/auto-chart-index-v1.12.0
Bump upgrade helm chart index to v1.12.0
2024-12-11 19:47:16 +08:00
Mohamed Awnallah 6ae8cfd3e9 pkg/karmadactl/util: unit test apiclient
In this commit, we unit test apiclient on creating restconfig.

Signed-off-by: Mohamed Awnallah <mohamedmohey2352@gmail.com>
2024-12-11 08:57:27 +02:00
Mohamed Awnallah 627b464489 pkg/search/controllers_test: wait for cache sync
Signed-off-by: Mohamed Awnallah <mohamedmohey2352@gmail.com>
2024-12-11 07:06:43 +02:00
karmada-bot 8457cd2f64
Merge pull request #5933 from zhzhuang-zju/ctl-top
fix flake test of KarmadactlTopPod
2024-12-10 20:45:14 +08:00
zhzhuang-zju 35c4adf0b2 fix flake test of KarmadactlTopPod
Signed-off-by: zhzhuang-zju <m17799853869@163.com>
2024-12-10 14:28:45 +08:00
karmada-bot ff7dc4af44
Merge pull request #5832 from anujagrawal699/addedTests-pkg/resourceinterpreter/customized/webhook/configmanager
Added unit tests for resourceinterpreter webhook configmanager
2024-12-09 20:05:14 +08:00
karmada-bot 96a3a1a58a
Merge pull request #5917 from zhzhuang-zju/jobs
prevent some jobs running from forked repository
2024-12-09 18:37:14 +08:00
karmada-bot 435729a9e4
Merge pull request #5923 from zhzhuang-zju/new
Stop maintaining version 1.9 and maintain version 1.12
2024-12-09 17:45:13 +08:00
zhzhuang-zju f9f45b4ba4 prevent some jobs running from forked repository
Signed-off-by: zhzhuang-zju <m17799853869@163.com>
2024-12-09 17:41:45 +08:00
karmada-bot 2cb2ed93b9
Merge pull request #5920 from karmada-io/dependabot/docker/cluster/images/alpine-3.21.0
build(deps): bump alpine from 3.20.3 to 3.21.0 in /cluster/images
2024-12-09 17:39:13 +08:00
zhzhuang-zju 36cbd011d0 Stop maintaining version 1.9 and maintain version 1.12
Signed-off-by: zhzhuang-zju <m17799853869@163.com>
2024-12-09 14:22:14 +08:00
dependabot[bot] 2564013b3d
build(deps): bump alpine from 3.20.3 to 3.21.0 in /cluster/images
Bumps alpine from 3.20.3 to 3.21.0.

---
updated-dependencies:
- dependency-name: alpine
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-12-09 05:29:13 +00:00
chaosi-zju 2e36b85b1e Bump upgrade helm chart index to v1.12.0
Signed-off-by: chaosi-zju <chaosi@zju.edu.cn>
2024-12-09 12:16:03 +08:00
karmada-bot f0e060d73e
Merge pull request #5876 from tiansuo114/ps_completion
add shell completion code for fish
2024-12-09 11:22:13 +08:00
karmada-bot 8f506d410c
Merge pull request #5910 from kubeservice-stack/bump-k8s-v1.31.3
Bump update kubernetes version to v1.31.3
2024-12-09 11:00:14 +08:00
karmada-bot a8a01a30c2
Merge pull request #5908 from mohamedawnallah/unitUsageOfAddonConstants
cmd+hack+operator+pkg: unify addons constants
2024-12-09 10:46:14 +08:00
karmada-bot 2d6f998622
Merge pull request #5907 from RainbowMango/pr_bump_metrics_server
Bump sigs.k8s.io/metrics-server
2024-12-09 09:48:13 +08:00
karmada-bot acce8fd5d8
Merge pull request #5772 from anujagrawal699/addedTests-pkg/util/lifted/scheduler/cache/node_tree_test.go
Added unit tests for the scheduler's node tree functionality
2024-12-07 19:43:12 +08:00
chaosi-zju 3198dfa9c1 simplify local-up-karmada-by-operator.sh based on setup-dev-base.sh
Signed-off-by: chaosi-zju <chaosi@zju.edu.cn>
2024-12-07 16:52:44 +08:00
chaosi-zju e4c7befbb9 simplify local-up-karmada.sh based on setup-dev-base.sh
Signed-off-by: chaosi-zju <chaosi@zju.edu.cn>
2024-12-07 16:41:56 +08:00
Anuj Agrawal ccea4d22f5 Added unit tests for resourceinterpreter webhook configmanager
Signed-off-by: Anuj Agrawal <anujagrawal380@gmail.com>

Added unit tests for resourceinterpreter webhook configmanager

Signed-off-by: Anuj Agrawal <anujagrawal380@gmail.com>

Added unit tests for resourceinterpreter webhook configmanager

Signed-off-by: Anuj Agrawal <anujagrawal380@gmail.com>
2024-12-06 16:16:51 +05:30
karmada-bot 07157e61a8
Merge pull request #5909 from chaosi-zju/chart-install
Test helm chart with the latest code
2024-12-06 18:28:11 +08:00
Anuj Agrawal 55707d8a4f Added unit tests for the scheduler's node tree functionality
Signed-off-by: Anuj Agrawal <anujagrawal380@gmail.com>

Added unit tests for the scheduler's node tree functionality

Signed-off-by: Anuj Agrawal <anujagrawal380@gmail.com>

Added unit tests for the scheduler's node tree functionality

Signed-off-by: Anuj Agrawal <anujagrawal380@gmail.com>
2024-12-06 15:52:09 +05:30
karmada-bot f72a312d14
Merge pull request #5898 from anujagrawal699/addedTests-pkg/estimator/server/replica/replica.go
Added unit tests for the replica package in the estimator server
2024-12-06 18:11:10 +08:00
chaosi-zju 16e7a0e7b3 install karmada with latest tag images in ci chart-testing
Signed-off-by: chaosi-zju <chaosi@zju.edu.cn>
2024-12-06 17:08:43 +08:00
Mohamed Awnallah 6144ea5a9b cmd+hack+operator+pkg: unify addons constants
In this commit we unify the usage of addon names i.e
`karmada-descheduler`, `karmada-scheduler-estimator`, `karmada-search`,
and `karmada-metrics-adapter` across the codebase.

Signed-off-by: Mohamed Awnallah <mohamedmohey2352@gmail.com>
Co-authored-by: Hongcai Ren <renhongcai@huawei.com>
2024-12-05 18:45:44 +02:00
karmada-bot a655c45f6f
Merge pull request #5864 from anujagrawal699/addedTests-pkg/resourceinterpreter/customized/declarative/configmanager/accessor.go
Added unit tests for custom resource interpreter's configuration manager
2024-12-05 20:05:10 +08:00
karmada-bot 1cbfca0454
Merge pull request #5760 from mohamedawnallah/unitTestClusterInfoBootstrapToken
pkg/karmadactl/cmdinit/bootstraptoken: unit test clusterinfo
2024-12-05 20:02:10 +08:00
dongjiang c5d4aa6a66
update kubernetes v1.31.3
Signed-off-by: dongjiang <dongjiang1989@126.com>
2024-12-05 15:55:20 +08:00
Mohamed Awnallah fc28676516 pkg/karmadactl/cmdinit: unit test clusterinfo
In this commit, we unit test clusterinfo on creating
bootstrap configmap and creating cluster info RBAC rules.

Signed-off-by: Mohamed Awnallah <mohamedmohey2352@gmail.com>
2024-12-05 09:19:33 +02:00
karmada-bot 9cf464607f
Merge pull request #5870 from mohamedawnallah/unitTestUnjoinCluster
pkg/karmadactl: unit test unjoin
2024-12-05 11:58:09 +08:00
Mohamed Awnallah 4e5237449b pkg/karmadactl: unit test unjoin
In this commit, we unit test unjoining cluster by
validating the unjoin cluster operation on arguments passed and
by verifying the deletion of all resources on the unjoining cluster
in case of cluster kubeconfig passed.

Signed-off-by: Mohamed Awnallah <mohamedmohey2352@gmail.com>
2024-12-04 20:30:03 +02:00
karmada-bot 616a95e0d7
Merge pull request #5754 from mohamedawnallah/unitTestInstallAddon
pkg/karmadactl/addons: unit test install addons
2024-12-04 17:17:09 +08:00
karmada-bot 1202cc7b80
Merge pull request #5829 from mohamedawnallah/unitTestCordonKaramdactl
pkg/karmadactl: unit test cordon
2024-12-04 16:43:09 +08:00
RainbowMango ce69be8874 Bump sigs.k8s.io/metrics-server to a pseudo version which use Kuberentes v1.31 but don't rely on Go 1.23
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2024-12-04 14:35:09 +08:00
tiansuo114 ba2a0732fe
add shell completion code for fish shell
Signed-off-by: tiansuo114 <zhaoyi_114@outlook.com>

11

Signed-off-by: tiansuo114 <zhaoyi_114@outlook.com>
2024-12-04 10:55:55 +08:00
karmada-bot b3dad9bdc5
Merge pull request #5819 from anujagrawal699/addedTest-pkg/util/lifted/lua
Added unit tests for safe lua lifted libraries
2024-12-04 09:58:08 +08:00
karmada-bot eea14cb353
Merge pull request #5895 from mohamedawnallah/unitTestPromoteKarmadactl
pkg/karmadactl: unit test promote
2024-12-03 14:17:08 +08:00
Mohamed Awnallah 6af9994ca7 pkg/karmadactl: unit test promote
In this commit, we unti test promoting a namespace-scoped or
cluster-scoped resource in a legacy clsuter and validating the promote
options on karmadactl command.

Signed-off-by: Mohamed Awnallah <mohamedmohey2352@gmail.com>
2024-12-03 05:27:09 +02:00
karmada-bot 7a9e4a18fa
Merge pull request #5901 from RainbowMango/pr_bump_kind
Bump kind dependencis from v0.24.0 to v0.25.0
2024-12-03 09:43:08 +08:00
karmada-bot 3323935575
Merge pull request #5903 from anujagrawal699/fix/default-history-limit-constant
refactor: introduce DefaultHistoryLimit constant for CronFederatedHPA
2024-12-03 09:16:08 +08:00
Anuj Agrawal 47528b417e refactor: introduce DefaultHistoryLimit constant for CronFederatedHPA
Signed-off-by: Anuj Agrawal <anujagrawal380@gmail.com>
2024-12-02 18:59:44 +05:30
karmada-bot 064ccf1140
Merge pull request #5768 from anujagrawal699/addedTests-pkg/helper/status.go-cronfederatedhpa.go
Added unit tests for status and cronfederatedhpa helper utilities
2024-12-02 17:38:07 +08:00
karmada-bot 189acaf5a9
Merge pull request #5871 from mohamedawnallah/unitTestJoinKarmadactl
pkg/karmadactl: unit test join
2024-12-02 17:16:08 +08:00
Anuj Agrawal c25263c19b Added unit tests for the replica package in the estimator server
Signed-off-by: Anuj Agrawal <anujagrawal380@gmail.com>

Added unit tests for the replica package in the estimator server

Signed-off-by: Anuj Agrawal <anujagrawal380@gmail.com>
2024-12-02 14:42:50 +05:30
karmada-bot 93a68eb11a
Merge pull request #5847 from mohamedawnallah/unitTestDescribeKarmadactl
pkg/karmadactl: unit test describe
2024-12-02 14:13:07 +08:00
RainbowMango addc75ee6c Bump kind dependencis from v0.24.0 to v0.25.0
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2024-12-02 12:03:32 +08:00
Mohamed Awnallah d699f1594d pkg/karmadactl: unit test describe
In this commit, we unit test describe command on karmadactl
by mainly validating the describe options.

Signed-off-by: Mohamed Awnallah <mohamedmohey2352@gmail.com>
2024-12-02 04:56:19 +02:00