Shijun Sun
9973d99f3e
Remove chart api ( #18265 )
...
* remove chart api from swagger
Delete the api path for chart in the swagger
Signed-off-by: Wang Yan <wangyan@vmware.com>
* Remove chart APIs
1. Remove some chart-related steps for Dockerfile for portal container
2. Remove chart APIs for API center
Signed-off-by: AllForNothing <sshijun@vmware.com>
---------
Signed-off-by: Wang Yan <wangyan@vmware.com>
Signed-off-by: AllForNothing <sshijun@vmware.com>
Co-authored-by: Wang Yan <wangyan@vmware.com>
2023-02-24 14:47:42 +08:00
Wang Yan
738fde7d3b
remove chartmuseum backend ( #18191 )
...
Harbor deprecates chartmuseum as of v2.8.0
Epic: https://github.com/goharbor/harbor/issues/17958
Discussion: https://github.com/goharbor/harbor/discussions/15057
Signed-off-by: Wang Yan <wangyan@vmware.com>
2023-02-16 18:11:05 +08:00
Shengwen YU
b44de01c2e
feat: bump-up trivyVersion to v0.37.2, trivyAdapterVersion to v0.30.7 ( #18217 )
...
Signed-off-by: Shengwen Yu <yshengwen@vmware.com>
2023-02-14 17:03:42 +08:00
Shengwen YU
e9a125a1ec
Bump up TRIVYADAPTERVERSION to v0.30.6 ( #18052 )
...
Signed-off-by: Shengwen Yu <yshengwen@vmware.com>
Signed-off-by: Shengwen Yu <yshengwen@vmware.com>
2023-01-05 16:38:10 +08:00
Shengwen YU
a75b960868
fix: upgrade TRIVYADAPTERVERSION to v0.30.5 ( #18002 )
...
Signed-off-by: Shengwen Yu <yshengwen@vmware.com>
Signed-off-by: Shengwen Yu <yshengwen@vmware.com>
2022-12-16 10:39:03 +08:00
MinerYang
d168f080ed
bump up golang to 1.19.4 for main ( #17997 )
...
bump up golang to 1.19.4 in main
Signed-off-by: yminer <yminer@vmware.com>
Signed-off-by: yminer <yminer@vmware.com>
2022-12-15 13:55:30 +08:00
Shengwen YU
dec0b5a3f2
fix: upgrade trivy version to v0.35.0 and trivy-adapter version to v0.30.3 ( #17976 )
...
Signed-off-by: Shengwen Yu <yshengwen@vmware.com>
Signed-off-by: Shengwen Yu <yshengwen@vmware.com>
2022-12-13 18:21:56 +08:00
MinerYang
c678d6cc76
fix lint && add cache clean for linter ( #17943 )
...
fix lint && add cache clean for linter
Signed-off-by: yminer <yminer@vmware.com>
2022-12-08 15:04:10 +08:00
Wang Yan
18a3373725
bump beego ( #17801 )
...
* bump beego
upgrade beego version from v1.10.12 to v2.0.5
1, beego v2 vserver/web refactor
2, beego v2 context refactor
3, beego v2 session refactor
4, beego v2 cache refactor
5, beego v2 orm refactor
Signed-off-by: MinerYang <yminer@vmware.com>
2022-11-24 18:07:42 +08:00
MinerYang
f20a2e433f
bump up golang to 1.19.3 ( #17751 )
...
Signed-off-by: yminer <yminer@vmware.com>
Signed-off-by: yminer <yminer@vmware.com>
2022-11-04 16:17:11 +08:00
MinerYang
6b8cdc03c1
bump up golang to 1.19.2 ( #17694 )
...
Signed-off-by: yminer <yminer@vmware.com>
Signed-off-by: yminer <yminer@vmware.com>
2022-10-26 20:28:19 +08:00
Shengwen YU
0acfbdc7a1
feat: bump TRIVYVERSION to v0.32.1 and bump TRIVYADAPTERVERSION to v0.30.2 ( #17681 )
...
Signed-off-by: Shengwen Yu <yshengwen@vmware.com>
Signed-off-by: Shengwen Yu <yshengwen@vmware.com>
2022-10-25 14:26:53 +08:00
MinerYang
83bc24f6c1
Bump up golang version to v1.19 ( #17588 )
...
Signed-off-by: yminer <yminer@vmware.com>
update
2022-09-22 17:38:26 +08:00
MinerYang
a0d1fef028
add govulncheck tools ( #17587 )
...
Signed-off-by: yminer <yminer@vmware.com>
Signed-off-by: yminer <yminer@vmware.com>
2022-09-22 17:37:44 +08:00
Yang Jiao
b44c9d01dd
Drop build postgresql 9.6 ( #17458 )
...
Drop pg9.6, will not support upgrading from pg9.6 to pg13, if you use pg9.6 you can upgrade to 2.5 and upgrade to 2.7
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2022-09-21 17:59:25 +08:00
Chenyu Zhang
5d7a549620
upgrade: bump up mockery to v2.14.0 ( #17415 )
...
Signed-off-by: chlins <chenyuzh@vmware.com>
2022-08-22 14:21:13 +08:00
MinerYang
c9a61d37e3
adjust golangci-lint installation hint ( #17418 )
...
Signed-off-by: yminer <yminer@vmware.com>
update
2022-08-17 14:55:41 +08:00
MinerYang
0fbff49eb0
bumpup golang to v1.18.5 ( #17307 )
...
Signed-off-by: yminer <yminer@vmware.com>
2022-08-03 17:44:03 +08:00
MinerYang
bd1d441b01
bumpup golang version to v1.18.4 ( #17257 )
...
Signed-off-by: yminer <yminer@vmware.com>
2022-07-29 09:43:01 +08:00
Shengwen YU
0feb2aadcb
fix: bump trivy version to v0.29.2 and bump trivyadapter version to v0.30.0 ( #17071 )
...
Signed-off-by: Shengwen Yu <yshengwen@vmware.com>
2022-06-24 19:18:00 +08:00
MinerYang
b8a71ac348
bump up golang version to v1.18.3 ( #16957 )
...
Signed-off-by: yminer <yminer@vmware.com>
update ci/ut_install.sh
Signed-off-by: yminer <yminer@vmware.com>
2022-06-08 17:56:14 +08:00
MinerYang
9b22e2943f
bumpup mockery to v1.12.3 ( #16955 )
...
Signed-off-by: yminer <yminer@vmmware.com>
Co-authored-by: yminer <yminer@vmmware.com>
2022-06-07 16:04:33 +08:00
MinerYang
9d8e9158de
fix deadcode lint & update golangci-lint.yaml ( #16896 )
...
* fix deadcode lint & update golangci-lint.yaml
Signed-off-by: yminer <yminer@vmmware.com>
mock.go
Signed-off-by: yminer <yminer@vmmware.com>
commentfmt
Signed-off-by: yminer <yminer@vmmware.com>
mock.go update
Signed-off-by: yminer <yminer@vmmware.com>
update makefile
Signed-off-by: yminer <yminer@vmmware.com>
* update /pkg/allowlist/validator.go
Signed-off-by: yminer <yminer@vmmware.com>
Co-authored-by: yminer <yminer@vmmware.com>
2022-05-26 10:32:07 +08:00
MinerYang
1f797fafc4
add lint with golangci-lint, remove golint ( #16821 )
...
Signed-off-by: yminer <yminer@vmmware.com>
test ut_install.sh
Signed-off-by: yminer <yminer@vmmware.com>
test ut_install.sh001
Signed-off-by: yminer <yminer@vmmware.com>
test ut_install002
Signed-off-by: yminer <yminer@vmmware.com>
use curl binary to download golangcilint instead of go get
Signed-off-by: yminer <yminer@vmmware.com>
test ut-ci make lint
Signed-off-by: yminer <yminer@vmmware.com>
check ci GO111MODULE
Signed-off-by: yminer <yminer@vmmware.com>
test ci go env
Signed-off-by: yminer <yminer@vmmware.com>
test ci goenv 002
Signed-off-by: yminer <yminer@vmmware.com>
test ci GO111MODULE=auto
Signed-off-by: yminer <yminer@vmmware.com>
ci test entire ut_install.sh
Signed-off-by: yminer <yminer@vmmware.com>
remove needless debug comment
Signed-off-by: yminer <yminer@vmmware.com>
Co-authored-by: yminer <yminer@vmmware.com>
2022-05-09 11:19:02 +08:00
Wang Yan
98c52e4478
enable default to build bin ( #16763 )
...
Change the default behavrior of building binaries for all the third parties to true.
Signed-off-by: Wang Yan <wangyan@vmware.com>
2022-04-28 17:13:41 +08:00
Daniel Pacak
fbff7ab5cb
chore(deps): bump Trivy adapter from v0.26.0 to v0.28.0 ( #16729 )
...
Trivy replaced the --version flag with version subcommand.
Resolves : #16554
Resolves : #16555
Signed-off-by: Daniel Pacak <pacak.daniel@gmail.com>
2022-04-25 11:00:51 +02:00
Yang Jiao
0fef857e33
Bump TRIVYVERSION to v0.24.2 and bump TRIVYADAPTERVERSION to v0.26.0
...
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2022-03-08 05:43:50 +00:00
MinerYang
74d2670616
bump up Go version to 1.17.7 ( #16415 )
...
Signed-off-by: yminer <yminer@vmmware.com>
update CONTRIBUTING.md 2.4 golang version to 1.17.7
Signed-off-by: yminer <yminer@vmmware.com>
Co-authored-by: yminer <yminer@vmmware.com>
2022-02-25 17:23:18 +08:00
Wang Yan
6c3f9a8366
bump up distribution version to v2.8 ( #16338 )
...
Signed-off-by: Wang Yan <wangyan@vmware.com>
2022-02-10 11:46:58 +08:00
Shengwen YU
0bf5998f96
upgrade Chartmuseum to v0.14.0 ( #16334 )
...
Signed-off-by: Shengwen Yu <yshengwen@vmware.com>
Co-authored-by: Shengwen Yu <yshengwen@vmware.com>
2022-02-09 12:13:05 +08:00
He Weiwei
0b089a16be
Bump up spectral to v6.1.0 ( #16263 )
...
Signed-off-by: He Weiwei <hweiwei@vmware.com>
2022-01-24 14:05:37 +08:00
Shengwen Yu
46f97ecf6c
feat: bump TRIVYVERSION to v0.22.0 and bump TRIVYADAPTERVERSION to v0.25.0
...
Signed-off-by: Shengwen Yu <yshengwen@vmware.com>
2022-01-21 09:14:07 +08:00
Morlay
9ad68aa526
Updates goharbor to var IMAGENAMESPACE in Makefiles to make injectable ( #15218 )
...
Signed-off-by: Morlay <morlay.null@gmail.com>
2022-01-20 12:14:29 +08:00
yminer
9acf3d21ce
bump up go version to v1.17.6
...
Signed-off-by: yminer <yminer@vmmware.com>
2022-01-17 17:45:22 +00:00
He Weiwei
4037a478a9
chore: bump up trivy adapter to v0.24.0 ( #15872 )
...
Signed-off-by: He Weiwei <hweiwei@vmware.com>
2021-10-25 18:48:08 +08:00
Wang Yan
a956758302
bump up go version to v1.17 ( #15865 )
...
* bump up go version to v1.17
Signed-off-by: Wang Yan <wangyan@vmware.com>
* gofmt fail
Signed-off-by: Wang Yan <wangyan@vmware.com>
2021-10-25 17:28:29 +08:00
He Weiwei
619d3e818c
feat: bump up trivy adater to v0.23.0
...
Closes #14983
Signed-off-by: He Weiwei <hweiwei@vmware.com>
2021-10-22 09:07:40 +00:00
Steven Zou
93e644119d
Merge pull request #15219 from danielpacak/bump_up_trivy_adapter_to_v0.20.0
...
chore(trivy): Bump up Trivy adapter from v0.19.0 to v0.20.0
2021-09-29 09:09:52 +08:00
Wang Yan
dbcbc8bad0
bump up go to v1.16.7 ( #15564 )
...
Signed-off-by: Wang Yan <wangyan@vmware.com>
2021-09-09 17:58:00 +08:00
armandxu
a8562b2934
wrong word ( #15187 )
...
Signed-off-by: armandxu <936215300@qq.com>
2021-08-24 15:09:41 +08:00
Wang Yan
494d74d32d
bump up go version to 1.16 ( #15286 )
...
Signed-off-by: Wang Yan <wangyan@vmware.com>
2021-07-08 16:25:15 +08:00
Daniel Pacak
530855e9ad
chore(trivy): Bump up Trivy adapter from v0.19.0 to v0.20.0
...
This version of the adapter service wraps Trivy v0.18.3
that supports Go dependency scanning and various other
improvements.
Signed-off-by: Daniel Pacak <pacak.daniel@gmail.com>
2021-06-29 08:24:54 +02:00
danfengliu
f367aad760
Fix issue of missing db base build process in build base workflow
...
There is extra build step for db base image building since v2.3, so this
step should be added back.
Signed-off-by: danfengliu <danfengl@vmware.com>
2021-06-16 15:22:32 +08:00
danfengliu
d66ea07c2f
Refind build base process in Makefile
...
Remove build base executable in Makefile by replacing it as an input parameter.
Add add more input parameters for controlling docker pull/push to make
build base process flexible for users.
Signed-off-by: danfengliu <danfengl@vmware.com>
2021-06-03 14:48:34 +08:00
Wang Yan
66b8a8f8dd
add build arch parameter in Makefile ( #14995 )
...
* add build arch parameter in Makefile
Add parameter BUILDARCH for make file. DB base builds pg96 for x86_64 only
Signed-off-by: Wang Yan <wangyan@vmware.com>
2021-06-01 10:38:05 +08:00
danfengliu
344e51d2c6
Fix build base workflow issues
...
Signed-off-by: danfengliu <danfengl@vmware.com>
2021-05-25 18:13:15 +08:00
danfengliu
6c14e699b1
Merge pull request #14844 from danfengliu/fix-notary-trust-directory-issue-in-nightly
...
Fix notary trust directory issue in nightly
2021-05-20 21:56:27 +08:00
danfengliu
3ef4dc17fc
Fix notary trust directory issue and add login for each base image in makefile
...
1. Use root instead of ~ in notary parameter;
2. Fix tag immutability issue caused by GUI change;
3. Replace email domain name to harbor test;
4. Add login for each base image in makefile;
5. Add customize look test in nightly.
Signed-off-by: danfengliu <danfengl@vmware.com>
2021-05-20 18:23:13 +08:00
Wang Yan
86185989cf
support pg upgrade ( #14846 )
...
1, use the pg source and photon spec to build postgres 9.6
2, install 9.6 on the photon 4.0
3, then leverage pg_upgrade to handle the pg major version migration
Signed-off-by: Wang Yan <wangyan@vmware.com>
2021-05-20 16:25:50 +08:00
He Weiwei
c6bd7b2ec2
ci: lint the swagger file ( #14916 )
...
Signed-off-by: He Weiwei <hweiwei@vmware.com>
2021-05-19 10:36:09 +08:00