Commit Graph

108 Commits

Author SHA1 Message Date
liujian
ecdffc7d73 fix: add tls when get repository index. (#6195)
* fix: add tls when get repository index.

Signed-off-by: joyceliu <joyceliu@yunify.com>

* Update staging/src/kubesphere.io/utils/helm/repo_index.go

Signed-off-by: hongming <coder.scala@gmail.com>

* fix: add tls when get repository index.

Signed-off-by: joyceliu <joyceliu@yunify.com>

---------

Signed-off-by: joyceliu <joyceliu@yunify.com>
Signed-off-by: hongming <coder.scala@gmail.com>
Co-authored-by: joyceliu <joyceliu@yunify.com>
Co-authored-by: hongming <coder.scala@gmail.com>
2024-09-23 15:05:14 +08:00
KubeSphere CI Bot
447a51f08b feat: kubesphere 4.0 (#6115)
* feat: kubesphere 4.0

Signed-off-by: ci-bot <ci-bot@kubesphere.io>

* feat: kubesphere 4.0

Signed-off-by: ci-bot <ci-bot@kubesphere.io>

---------

Signed-off-by: ci-bot <ci-bot@kubesphere.io>
Co-authored-by: ks-ci-bot <ks-ci-bot@example.com>
Co-authored-by: joyceliu <joyceliu@yunify.com>
2024-09-06 11:05:52 +08:00
hongming
9725b664db bump golangci-lint to v1.55.2 (#5975) 2023-11-07 18:24:46 +08:00
hongming
39a0d6f84e chore: install goimports automatically (#5609) 2023-03-27 15:58:23 +08:00
dependabot[bot]
e4b7840343 Bump golang.org/x/net from 0.5.0 to 0.7.0 in /hack/tools (#5535)
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.5.0 to 0.7.0.
- [Release notes](https://github.com/golang/net/releases)
- [Commits](https://github.com/golang/net/compare/v0.5.0...v0.7.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-20 16:22:14 +08:00
hongming
a979342f56 Update dependencies (#5518) 2023-02-12 23:09:20 +08:00
hongming
decde97a91 chore: Bump golangci-lint to v1.51.1 (#5511) 2023-02-09 12:08:16 +08:00
hongming
1c49fcd57e Bump sigs.k8s.io/controller-runtime to v0.14.4 (#5507)
* Bump sigs.k8s.io/controller-runtime to v0.14.4

* Update gofmt
2023-02-08 14:06:15 +08:00
hongming
129e6fbec3 chore: Generating CRDs supports multiple versions (#5497)
Generating CRDs supports multiple versions
2023-01-31 15:23:12 +08:00
hongzhouzi
44167aa47a Upgrade k8s package verison (#5358)
* upgrade k8s package version

Signed-off-by: hongzhouzi <hongzhouzi@kubesphere.io>

* Script upgrade and code formatting.

Signed-off-by: hongzhouzi <hongzhouzi@kubesphere.io>

Signed-off-by: hongzhouzi <hongzhouzi@kubesphere.io>
2022-11-15 14:56:38 +08:00
hongzhouzi
3800d738f9 Use controller-gen to generate deepcopy code replacing deepcopy-gen. (#5297)
Use controller-gen to generate deepcopy code, and replace the deepcopy-gen tags with the kubebuilder tags.

Signed-off-by: hongzhouzi <hongzhouzi@kubesphere.io>

Signed-off-by: hongzhouzi <hongzhouzi@kubesphere.io>
2022-10-20 17:37:40 +08:00
andrew_li
03da05dd91 skip generated code when fmt code (#5078) 2022-07-20 16:58:51 +08:00
andrew_li
77b1085eba golint with new commit (#5074) 2022-07-20 15:27:51 +08:00
andrew_li
0726cf591f change default comment style of license header (#5069) 2022-07-19 10:49:49 +08:00
hongming
521cb40c21 Upgrade go version to 1.18 (#5045)
* Upgrade go version to 1.18

* fix go 1.18 compatibility

* update gofmt

* ignore golangci-lint staticcheck

* update gofmt
2022-07-18 10:42:48 +08:00
andrew_li
641c73c010 golang-lint skips dir pkg/client (#5038)
goling skips dir pkg/client
2022-07-07 10:58:35 +08:00
andrew_li
f289795312 Add golangci-lint workflow (#4999)
* fix lint workflow

* add golang lint

* close http response body
2022-06-29 11:58:36 +08:00
mango
f018a23023 chore: add licenses check tools (#4706)
* feat: check licenses header with skywalking-eye and support check tools.

Signed-off-by: mango <xu.weiKyrie@foxmail.com>

* feat: check licenses header with skywalking-eye and support check tools.

Signed-off-by: mango <xu.weiKyrie@foxmail.com>

* feat: check licenses header with skywalking-eye and support check tools.

Signed-off-by: mango <xu.weiKyrie@foxmail.com>

* remove verify-licenses because verify-all exist.

Signed-off-by: mango <xu.weiKyrie@foxmail.com>

* update modules.txt

Signed-off-by: mango <xu.weiKyrie@foxmail.com>

* revert go.mod

Signed-off-by: mango <xu.weiKyrie@foxmail.com>

* update vendor directory.

Signed-off-by: mango <xu.weiKyrie@foxmail.com>

* revert go.sum

Signed-off-by: mango <xu.weiKyrie@foxmail.com>

* revert go.sum

Signed-off-by: mango <xu.weiKyrie@foxmail.com>

* ignore `pkg/controller/application/status.go`

Signed-off-by: mango <xu.weiKyrie@foxmail.com>

* add license header.

Signed-off-by: mango <xu.weiKyrie@foxmail.com>
2022-03-09 10:25:13 +08:00
anhoder
3760ed2325 fix: generate manifests 2021-11-26 13:56:54 +08:00
zryfish
edcd8e1449 fix gitMajor and gitMinor missing in version api (#4361)
* fix version missing
* suppress shellcheck warnings
2021-10-13 17:40:54 +08:00
zryfish
84f66199ed add kind-e2e to Makefile (#4304) 2021-09-29 12:11:29 +08:00
nathannaveen
5d5f7366d5 Removed hack/install_kubebuilder.sh
* removed hack/install_kubebuilder.sh https://github.com/kubesphere/kubesphere/issues/4187
2021-08-31 18:01:39 -05:00
yuswift
a242eaa4eb fix shellcheck typo
Signed-off-by: yuswift <yuswift2018@gmail.com>
2021-08-30 19:40:39 +08:00
yuswift
6064853692 add new entry for env setup
Signed-off-by: yuswift <yuswift2018@gmail.com>
2021-08-30 18:04:18 +08:00
Roland.Ma
d5f4b2f5ef pin go mod
Signed-off-by: Roland.Ma <rolandma@yunify.com>
2021-08-16 06:58:12 +00:00
LiHui
1b5590d3dd downloads vendor for hack/tools 2021-07-21 17:23:55 +08:00
Jeff
c6c61cb5a2 fix make cross target failed 2021-07-20 07:01:36 +00:00
yuswift
04645180c4 fix shellcheck typo
Signed-off-by: yuswift <yuswift2018@gmail.com>
2021-07-15 12:14:35 +08:00
yuswift
e9695cba4c fix spelling typo
Signed-off-by: yuswift <yuswift2018@gmail.com>
2021-07-15 11:06:07 +08:00
Jeff
341a51d28e fix wrong target in Dockerfile
Signed-off-by: Jeff <jeffzhang@yunify.com>
2021-06-25 06:21:30 +00:00
Jeff
6cdd050184 * rewrite dockerfile to multiple stage build
* add verification scripts

Signed-off-by: Jeff <jeffzhang@yunify.com>
2021-06-23 16:27:05 +00:00
hongming
3d391ec31b Add cherry_pick_pull.sh
Signed-off-by: hongming <talonwan@yunify.com>
2021-06-01 14:16:30 +08:00
Roland.Ma
c37a11c5f9 move api to staging
Signed-off-by: Roland.Ma <rolandma@yunify.com>
2021-04-29 08:20:05 +00:00
lxm
b7043621f1 multi arch build error
Signed-off-by: lxm <lxm.xupt@gmail.com>
2021-04-28 13:51:14 +08:00
lxm
31fbe51327 add suffix to image tag
Signed-off-by: lxm <lxm.xupt@gmail.com>
2021-04-22 11:34:13 +08:00
lxm
af536c0c96 [feature] use buildx to produce multi arch image kubesphere#3683
Signed-off-by: lxm <lxm.xupt@gmail.com>
2021-04-10 00:06:07 +08:00
yuswift
9bc6e6eedb ignore pkg/apis dir when running make goimports
Signed-off-by: yuswift <yuswiftli@yunify.com>
2021-04-01 10:29:30 +08:00
zryfish
ac275b6e98 add goimports format action (#3630)
Signed-off-by: Jeff <jeffzhang@yunify.com>
2021-03-30 13:44:24 +08:00
wanjunlei
e3cf58e84b Integrate all receivers into one crd, and all configs into another crd
Signed-off-by: wanjunlei <wanjunlei@yunify.com>
2021-03-10 18:55:46 +08:00
wanjunlei
d6d2cf002f resolve conversation
Signed-off-by: wanjunlei <wanjunlei@yunify.com>
2021-03-10 17:40:51 +08:00
wanjunlei
f9213fcdc8 support customize notification receiver
Signed-off-by: wanjunlei <wanjunlei@yunify.com>
2021-03-10 17:32:48 +08:00
LiHui
83e6221f3a openpitrix crd
Signed-off-by: LiHui <andrewli@yunify.com>

delete helm repo, release and app

Signed-off-by: LiHui <andrewli@yunify.com>

Fix Dockerfile

Signed-off-by: LiHui <andrewli@yunify.com>

add unit test for category controller

Signed-off-by: LiHui <andrewli@yunify.com>

resource api

Signed-off-by: LiHui <andrewli@yunify.com>

miscellaneous

Signed-off-by: LiHui <andrewli@yunify.com>

resource api

Signed-off-by: LiHui <andrewli@yunify.com>

add s3 repo indx

Signed-off-by: LiHui <andrewli@yunify.com>

attachment api

Signed-off-by: LiHui <andrewli@yunify.com>

repo controller test

Signed-off-by: LiHui <andrewli@yunify.com>

application controller test

Signed-off-by: LiHui <andrewli@yunify.com>

release metric

Signed-off-by: LiHui <andrewli@yunify.com>

helm release controller test

Signed-off-by: LiHui <andrewli@yunify.com>

move constants to /pkg/apis/application

Signed-off-by: LiHui <andrewli@yunify.com>

remove unused code

Signed-off-by: LiHui <andrewli@yunify.com>

add license header

Signed-off-by: LiHui <andrewli@yunify.com>

Fix bugs

Signed-off-by: LiHui <andrewli@yunify.com>

cluster cluent

Signed-off-by: LiHui <andrewli@yunify.com>

format code

Signed-off-by: LiHui <andrewli@yunify.com>

move workspace,cluster from spec to labels

Signed-off-by: LiHui <andrewli@yunify.com>

add license header

Signed-off-by: LiHui <andrewli@yunify.com>

openpitrix test

Signed-off-by: LiHui <andrewli@yunify.com>

add worksapce labels for app in appstore

Signed-off-by: LiHui <andrewli@yunify.com>
2021-03-09 18:30:02 +08:00
KubeSphere CI Bot
65f935d0df Merge pull request #3344 from wansir/workspace-quota
support workspace resource quota
2021-03-03 11:19:59 +08:00
Roland.Ma
298a5d3827 fix update vendor script
Signed-off-by: Roland.Ma <rolandma@yunify.com>
2021-03-02 05:35:05 +00:00
hongming
70fa24010c support workspace resource quota
Signed-off-by: hongming <talonwan@yunify.com>
2021-03-02 10:42:09 +08:00
Roland.Ma
7aa602e124 e2e github action
Signed-off-by: Roland.Ma <rolandma@yunify.com>
2021-02-24 06:56:23 +00:00
Roland.Ma
72441f4f14 update e2e build script
Signed-off-by: Roland.Ma <rolandma@yunify.com>
2021-02-22 02:01:13 +00:00
rick
530c6911a5 Fix the incorrect approvable check of Pipeline input
Signed-off-by: rick <rick@jenkins-zh.cn>
2021-01-27 11:25:14 +08:00
zackzhang
324f4aebbb support pass customized repo
Signed-off-by: zackzhang <zackzhang@yunify.com>
2021-01-05 16:21:25 +08:00
rick
164ffbbfda Discard these changes base the discussion on github
discussion thread is here https://github.com/kubesphere/kubesphere/pull/3163#discussion_r533959311

Signed-off-by: rick <rick@jenkins-zh.cn>
2020-12-02 16:12:41 +08:00