stonezdj
ff937e90d3
Use orm.Context instead request context in background go routing
...
Fixes #12741 ,
Avoid use ctx info in event handler because it is background go routine
Signed-off-by: stonezdj <stonezdj@gmail.com>
2020-08-14 15:25:06 +08:00
Wenkai Yin(尹文开)
3b7a2e11b4
Merge pull request #12751 from ywk253100/200812_migration
...
Use a separated database table to store the data version
2020-08-14 12:52:52 +08:00
Wenkai Yin
cca1dcca51
Use a separated database table to store the data version
...
Use a separated database table to store the data version.
Fixes #12747
Signed-off-by: Wenkai Yin <yinw@vmware.com>
2020-08-14 11:38:13 +08:00
danfengliu
5cb239af1e
Fix echo parameter issue ( #12775 )
...
Signed-off-by: danfengliu <danfengl@vmware.com>
2020-08-14 10:23:58 +08:00
danfengliu
e1eac2b4d0
Merge pull request #12688 from danfengliu/fix-upgrade-test-wrong-keyword-issue
...
Fix wrong keyword issue in upgrade test
2020-08-14 10:11:37 +08:00
Qian Deng
5dbbfa76d3
Merge pull request #12766 from ninjadq/add_log_dependency_to_trivy
...
Add log denpendency ti trivy
2020-08-13 18:23:09 +08:00
Daniel Jiang
83de495147
Merge pull request #12772 from reasonerjt/update-root-cert-test
...
Refresh CA cert
2020-08-13 18:22:19 +08:00
danfengliu
82037aca64
Merge pull request #12769 from danfengliu/add-priviledge-to-integration.sh
...
Add exec priviledge to integration script
2020-08-13 16:53:34 +08:00
Daniel Jiang
376929d58e
Refresh CA cert
...
This commit refresh the harbor_ca.crt and revert the changes to generate a new CA each time in the test script.
Signed-off-by: Daniel Jiang <jiangd@vmware.com>
2020-08-13 08:43:07 +00:00
danfengliu
8f116d7b38
Add exec priviledge to integration script
...
Signed-off-by: danfengliu <danfengl@vmware.com>
2020-08-13 08:15:42 +00:00
danfengliu
063204f029
Merge pull request #12764 from danfengliu/add-git-for-drone-image
...
Add git/golang/dns config in drone iamge
2020-08-13 16:03:34 +08:00
danfengliu
601d1ef0eb
Add git/golang/dns config in drone image
...
Signed-off-by: danfengliu <danfengl@vmware.com>
2020-08-13 07:24:54 +00:00
Qian Deng
85fa6654ec
Fix: Add privileged for prepare command ( #12689 )
...
Mount `/` dir in container require privilege
And this change will make `z` label useless. So remove them
Signed-off-by: DQ <dengq@vmware.com>
2020-08-13 14:55:42 +08:00
Qian Deng
78d4b54ddc
Merge pull request #12765 from ninjadq/fix_trivy_append_in_2_1_0_config
...
Fix: append trivy every time when run migrate
2020-08-13 14:47:54 +08:00
Sören Rohweder
8e876cb946
remove reset password dialog from sign-in component
...
As mentioned in #10712 forgot password should be removed. The
dialog was left in place.
Signed-off-by: Sören Rohweder <soeren.rohweder@fastleansmart.com>
2020-08-13 08:27:07 +02:00
He Weiwei
e473127343
fix(swagger): format the value of ResourceList as int64 ( #12767 )
...
Closes #12482
Signed-off-by: He Weiwei <hweiwei@vmware.com>
2020-08-13 14:07:53 +08:00
DQ
a251e90507
Add log denpendency ti trivy
...
To void trivy can not start issue
Signed-off-by: DQ <dengq@vmware.com>
2020-08-13 11:35:21 +08:00
Wang Yan
01e4aa61f7
fix gc remove manifest issue ( #12748 )
...
fixes #12720
The GC job doesn't remove the manifest of scheme1.MediaTypeSignedManifest as it's recognized by GC job.
Signed-off-by: wang yan <wangyan@vmware.com>
2020-08-13 11:25:06 +08:00
He Weiwei
e476286fdc
Merge pull request #12755 from heww/expired-blob-size
...
fix(blob): make blob size in redis expired in 24 hours
2020-08-13 11:23:27 +08:00
chlins
b3012ec08d
fix(replication): fix quay adapter authorization
...
Signed-off-by: chlins <chlins.zhang@gmail.com>
2020-08-12 22:12:08 +08:00
He Weiwei
e3fd83aad1
fix(blob): make blob size in redis expired in 24 hours
...
Closes #11873
Signed-off-by: He Weiwei <hweiwei@vmware.com>
2020-08-12 11:45:50 +00:00
danfengliu
7970f77ce2
Merge pull request #12702 from danfengliu/upgrade-python-and-robot-for-drone
...
Upgrade python and robot for drone build
2020-08-12 19:31:56 +08:00
danfengliu
9a2188641d
Upgrade python and robot for drone build
...
1.Separate Dockerfile to drone and nightly e2e, one Dockerfile should cover
both scenarios, it will be resolved later;
2.Fix docker api err type issue, API error has no message attibute;
3.Upgrade docker in nightly e2e images.
Signed-off-by: danfengliu <danfengl@vmware.com>
2020-08-12 10:26:12 +00:00
Wang Yan
980c6291df
fix gc foreign layer issue ( #12736 )
...
fixes #12717
Signed-off-by: wang yan <wangyan@vmware.com>
2020-08-12 16:43:26 +08:00
DQ
7ba498be5b
Fix: append trivy every time run migrate
...
Signed-off-by: DQ <dengq@vmware.com>
2020-08-11 17:43:25 +08:00
Steven Zou
ed80baedc2
Merge pull request #12525 from hyy0322/enhance-default-processor
...
Feat: Enhance default processor to handle user-defined artifact like Machine Learning artifacts
2020-08-11 11:11:45 +08:00
Yiyang Huang
b98dc97fbd
feat: enhanced default processor
...
Signed-off-by: Yiyang Huang <huangyiyang.huangyy@bytedance.com>
2020-08-11 01:31:02 +08:00
Yiyang Huang
b98b8b9159
Unify parameters for functions in Processor interface
...
Signed-off-by: Yiyang Huang <huangyiyang@caicloud.io>
2020-08-11 01:30:00 +08:00
danfengliu
72cf16a99e
Merge pull request #12697 from danfengliu/recovery-drone-script
...
Recovery drone build script
2020-08-10 22:58:31 +08:00
danfengliu
ab7767f539
Fix wrong keyword issue in upgrade test
...
Signed-off-by: danfengliu <danfengl@vmware.com>
2020-08-10 14:47:38 +00:00
danfengliu
4968b6619b
Recovery drone build script
...
Signed-off-by: danfengliu <danfengl@vmware.com>
2020-08-10 14:23:44 +00:00
stonezdj(Daojun Zhang)
2d9c72a6b9
Merge pull request #12695 from danfengliu/upgrade-robotframework-in-drone
...
Modify e2e image for drone build
2020-08-10 21:11:35 +08:00
danfengliu
859ff2e1ef
Modify e2e image for drone build
...
Signed-off-by: danfengliu <danfengl@vmware.com>
2020-08-10 11:40:26 +00:00
He Weiwei
d81fe8d788
Merge pull request #12694 from heww/shadow-package
...
chore(images): install shadow package in base images
2020-08-10 18:58:17 +08:00
He Weiwei
31d2d9ee9f
chore(clair): bump up clair adapter to v1.1.0
...
Signed-off-by: He Weiwei <hweiwei@vmware.com>
2020-08-10 18:45:52 +08:00
He Weiwei
8f036c765a
chore(images): install shadow package in base images
...
The latest `photon:2.0` does not include `groupadd` and `useradd`
we need to install `shadow` package which includes these commands.
Signed-off-by: He Weiwei <hweiwei@vmware.com>
2020-08-10 10:23:48 +00:00
Chlins Zhang
ad158964bb
Merge pull request #12690 from chlins/fix/preheat-disable-instance-precheck
...
fix(preheat): add precheck before disable instance
2020-08-10 17:36:29 +08:00
stonezdj(Daojun Zhang)
49f4559608
Merge pull request #12518 from stonezdj/202020717_duplicate_op
...
Fix #12487 : Proxy cache create duplicated operation log
2020-08-10 17:01:07 +08:00
Wenkai Yin(尹文开)
d599cd98bf
Merge pull request #10455 from chlins/fix/quay-replication-adapter-refactor
...
fix(replication): refactor quay adapter to fix authorization and supp…
2020-08-10 16:37:19 +08:00
疯魔慕薇
ff91b4d283
Ignore folders that not need when build docker image ( #12578 )
...
Signed-off-by: fanjiankong <fanjiankong@tencent.com>
2020-08-10 16:29:12 +08:00
stonezdj
aa8b3a1343
Fix #12487 : Proxy cache create duplicated operation log
...
Change method UseLocalManifest to avoid pull manifest frequently
Signed-off-by: stonezdj <stonezdj@gmail.com>
2020-08-10 16:27:59 +08:00
chlins
3340086af5
fix(preheat): add precheck before disable instance
...
Signed-off-by: chlins <chlins.zhang@gmail.com>
2020-08-10 15:35:44 +08:00
Wenkai Yin(尹文开)
e8f9fb63c0
Merge pull request #12674 from reasonerjt/standalone-db-migrator
...
Provide a standalone migrator to migrate DB schema.
2020-08-10 15:11:52 +08:00
Daniel Pacak
9397dff093
docs: Explain how to use Trivy in offline mode ( #12102 )
...
Resolves : #11985
Signed-off-by: Daniel Pacak <pacak.daniel@gmail.com>
2020-08-10 08:48:04 +02:00
Will Sun
f31b29a01c
Merge pull request #12675 from AllForNothing/p2p-3
...
Add name and endpoint check for p2p-preheat
2020-08-10 10:16:03 +08:00
danfengliu
0b9bbd15c0
Merge pull request #12679 from danfengliu/fix-python-upgrade-issue
...
Fix LDAP API test issue by upgrading python
2020-08-09 15:12:40 +08:00
danfengliu
07f5f549d0
Fix LDAP API test issue by upgrading python
...
Signed-off-by: danfengliu <danfengl@vmware.com>
2020-08-09 06:37:28 +00:00
Chlins Zhang
0cd820ae6c
Merge pull request #12669 from steven-zou/fix/reuse_pro_config
...
fix(preheat):leverage project settings
2020-08-08 13:23:37 +08:00
chlins
b765cfe0ce
fix(replication): refactor quay adapter to fix authorization and support quay.io and enterprise quay ( #10317 )
...
Signed-off-by: chlins <chlins.zhang@gmail.com>
2020-08-08 13:17:01 +08:00
Chlins Zhang
6b9929d848
Merge pull request #12678 from chlins/fix/preheat-delete-instance-precheck
...
fix(preheat): add precheck when delete instance
2020-08-08 12:54:00 +08:00