Vadim Bauer
0c0ca76128
Merge branch 'main' into reduce-image-size
2024-10-15 13:51:10 +02:00
Jim Chen
67d0fecc7b
feat: support Alibaba ACR proxy cache type ( #19692 )
...
* feat: support Alibaba ACR proxy cache type
Signed-off-by: njucjc <njucjc@gmail.com>
* chore: replace 'Alibaba ACR' to 'Alibaba Cloud ACR'
Signed-off-by: njucjc <njucjc@gmail.com>
---------
Signed-off-by: njucjc <njucjc@gmail.com>
Co-authored-by: chenjici.cjc <chenjinci.cjc@alibaba-inc.com>
2024-10-12 11:07:13 +08:00
miner
ab59a46a87
add prepare migration script for 2.12.0 ( #21022 )
...
Signed-off-by: yminer <miner.yang@broadcom.com>
2024-10-10 16:56:33 +08:00
Wang Yan
de281220b5
update golang version ( #21014 )
...
* update golang version
to golang v1.23.2
Signed-off-by: wang yan <wangyan@vmware.com>
2024-10-10 13:36:18 +08:00
Daniel Jiang
f6eec371d7
Bump up trivy adapter ( #21015 )
...
update the version and point to the URL of new repository under goharbor
Signed-off-by: Daniel Jiang <daniel.jiang@broadcom.com>
2024-10-10 11:10:06 +08:00
蝦米
cadd3825aa
Fix #20658 docker-compose version
is obsolete warning ( #20659 )
...
fix `version` is obsolete warning
Signed-off-by: 蝦米 <me@jhdxr.com>
Co-authored-by: Wang Yan <wangyan@vmware.com>
Co-authored-by: MinerYang <yminer@vmware.com>
2024-08-12 06:51:52 +00:00
stonezdj(Daojun Zhang)
eb5193e0ef
Parallel attach ldap group ( #20705 )
...
Parallel attach LDAP group
Add configure LDAP group attach parallel UI
Change the /c/login timeout from 60 (nginx default) to 900 seconds in nginx.conf
Signed-off-by: stonezdj <stone.zhang@broadcom.com>
2024-08-09 15:24:25 +08:00
MinerYang
2dd029e702
make distribution_src configurable ( #20769 )
...
Signed-off-by: yminer <yminer@vmware.com>
2024-07-24 08:41:58 +00:00
Mitsuru Kariya
02d042a6b9
Reduce image size
...
Do following actions to reduce the size of the generated images.
- Change `COPY` command + `chown`/`chmod` command to `COPY` command +
`--chown`/`--chmod` option.
To prevent both files before/after `chown`/`chmod` commands from being
recorded on different layers.
- Put all `tdnf` commands in a single `RUN` command and move `tdnf clean all`
command to the end.
To prevent the `tdnf` cache from being recorded on a layer, and the `tdnf`
database from being recorded on multiple layers.
- Add `--link` option to `COPY` command.
This does not contribute to image size reduction, but makes image building
more efficient.
- Move `chown /etc/pki/tls/certs` to the `Dockerfile.base`.
This does not contribute to image size reduction, but is used in
conjunction with `COPY --link` to make image building more efficient.
The target images and their sizes are as follows. (The sizes are the value
when built locally)
- harbor-core : 185MB -> 118MB
- harbor-db : 285MB -> 263MB
- harbor-exporter : 108MB -> 79.1MB
- harbor-jobservice : 159MB -> 105MB
- harbor-registryctl : 160MB -> 104MB
- redis-photon : 179MB -> 170 MB
- standalone-db-migrator : 328MB -> 284MB
Note that harbor-log, harbor-portal, and nginx-photon have almost no effect,
and prepare is not directly executed by the user, so they are not included.
Also, registry-photon and trivy-adapter-photon are not included, since
PR#20622 and PR#20623 include equivalent action for these two, respectively.
Signed-off-by: Mitsuru Kariya <mitsuru.kariya@nttdata.com>
2024-06-21 02:08:34 +09:00
MinerYang
2da4d5883f
bump golang 1.22.3 ( #20433 )
...
* bump golang 1.22.3
Signed-off-by: yminer <yminer@vmware.com>
* debug api_common_install.sh
Signed-off-by: yminer <yminer@vmware.com>
* remove set DNS for docker v20
Signed-off-by: yminer <yminer@vmware.com>
---------
Signed-off-by: yminer <yminer@vmware.com>
Co-authored-by: Wang Yan <wangyan@vmware.com>
2024-05-16 14:32:59 +08:00
MinerYang
ea3cd06171
add prepare migration script for 2.11.0 ( #20315 )
...
Signed-off-by: yminer <yminer@vmware.com>
correct jaeger agent_host
update ip_family part
2024-04-22 16:34:08 +08:00
MinerYang
7e8032b144
bump golang to 1.22.2 ( #20256 )
...
Signed-off-by: yminer <yminer@vmware.com>
replace go get to go install
update go.mod
2024-04-12 13:46:29 +08:00
MinerYang
680a6a828b
bump golang 1.21.8 on main ( #20197 )
...
bump golang 1.21.8
Signed-off-by: yminer <yminer@vmware.com>
2024-04-02 10:22:03 +08:00
stonezdj(Daojun Zhang)
29cdc398e0
Check if the internal_tls_config is not null when get strong_ssl_ciph… ( #20032 )
...
Check if the internal_tls_config is not null when get strong_ssl_cipher value
Signed-off-by: stonezdj <daojunz@vmware.com>
Co-authored-by: stonezdj <daojunz@vmware.com>
2024-02-26 09:46:40 +00:00
stonezdj(Daojun Zhang)
2b6608fb52
Move strong_ssl_ciphers to top level in harbor.yaml ( #19914 )
...
fixes #19912
Signed-off-by: stonezdj <stonezdj@gmail.com>
2024-02-26 05:08:35 +00:00
Shengwen YU
bca9b14bbf
feat: enable configuration of skip_java_db_update ( #19996 )
...
Signed-off-by: Shengwen Yu <yshengwen@vmware.com>
2024-02-21 10:13:52 +08:00
MinerYang
84b31aaf7f
remove ipfamily config migrate jinja in 2.9 and 2.10 ( #19949 )
...
remove ipfamily config migrate in 2.9 and 2.10
Signed-off-by: yminer <yminer@vmware.com>
2024-02-07 16:41:16 +08:00
MinerYang
a3e1b1eb79
add ip_family config in harbor.yml ( #19934 )
...
add ipFamily config in values.yaml
Signed-off-by: yminer <yminer@vmware.com>
update name
update prepare and migration
update comments
Signed-off-by: yminer <yminer@vmware.com>
remove print msg
update migrate template
update default value
update migrating template
2024-02-02 18:15:25 +08:00
MinerYang
522f96b5cf
add v6 port for nginx and portal config ( #19868 )
...
add v6 port for nginx ad portal config
Signed-off-by: yminer <yminer@vmware.com>
2024-01-24 09:24:42 +00:00
Yang Jiao
aefe1bce9d
Bump up PostgreSQL from 14 to 15 ( #19789 )
...
Fix #19512
Signed-off-by: Yang Jiao <yang.jiao@broadcom.com>
Co-authored-by: Yang Jiao <yang.jiao@broadcom.com>
2024-01-04 14:01:00 +08:00
MinerYang
b38de22054
bump golang 1.21.5 & fix golangci-lint error ( #19722 )
...
bump golang 1.21.5
update golangci-lint && fix revive error
fix white space lint
Signed-off-by: yminer <yminer@vmware.com>
2023-12-19 09:41:26 +08:00
Wang Yan
aa1f79cd0c
bump distribution ( #19669 )
...
Bump up the distribution to v2.8.3
Signed-off-by: wang yan <wangyan@vmware.com>
2023-12-11 10:11:39 +08:00
MinerYang
3b127bc477
fix 2.10 prepare migration version ( #19665 )
...
fix 2.10 prepare migration
Signed-off-by: yminer <yminer@vmware.com>
2023-12-05 15:31:17 +08:00
MinerYang
9875965837
add prepare migration script for 2.10 ( #19600 )
...
Signed-off-by: yminer <yminer@vmware.com>
Co-authored-by: Wang Yan <wangyan@vmware.com>
2023-11-22 13:58:45 +08:00
MinerYang
17c17ffd8e
bump golang to 1.21.4 ( #19601 )
...
Signed-off-by: yminer <yminer@vmware.com>
2023-11-21 19:23:16 +08:00
MinerYang
193b00b9e6
bump golang to 1.21.3 ( #19504 )
...
update ut mock
update go mod
Signed-off-by: yminer <yminer@vmware.com>
2023-10-31 15:01:23 +08:00
MinerYang
1f975edb9c
bump golang to 1.20.10 ( #19430 )
...
Signed-off-by: yminer <yminer@vmware.com>
2023-10-11 13:05:31 +08:00
MinerYang
eb0724d130
fix storage.redirect.disable migrate template error ( #19335 )
...
Signed-off-by: yminer <yminer@vmware.com>
update boolean to lowercase
2023-09-12 03:56:12 +00:00
Chlins Zhang
c7e25295fe
fix: support customize cache db for business ( #19182 )
...
Support to configure the customized redis db for cache layer and other
misc business for core, by default the behavior is same with
previous(stored in db 0).
Signed-off-by: chlins <chenyuzh@vmware.com>
2023-08-18 11:04:16 +08:00
Chlins Zhang
56f6c27c4f
chore: fix incorrect otel timeout in harbor yaml template ( #19120 )
...
Update the incorrect otel timeout sample value in the harbor YAML
configuration template.
Signed-off-by: chlins <chenyuzh@vmware.com>
2023-08-16 16:26:16 +08:00
MinerYang
b8f2ef9c9e
bump golang 1.20.7 on main ( #19111 )
...
Signed-off-by: yminer <yminer@vmware.com>
2023-08-07 15:40:44 +08:00
MinerYang
e1c1f5625d
bump golang 1.20.6 on main ( #19066 )
...
bump golang 1.20.6
Signed-off-by: yminer <yminer@vmware.com>
2023-08-02 11:01:32 +08:00
Yang Jiao
5e130bd06c
Bump up photon version from 4.0 to 5.0 ( #19006 )
...
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2023-08-01 11:52:33 +08:00
Alexis Leroux
84a131773a
Conserve sentinel_master_set value between upgraded versions ( #18875 )
...
fix(migration): Conserve sentinel_master_set value between upgraded versions
Signed-off-by: Alexis Leroux <alexis.leroux@worldline.com>
Co-authored-by: Alexis Leroux <alexis.leroux@worldline.com>
Co-authored-by: MinerYang <yminer@vmware.com>
2023-07-27 18:35:01 +08:00
MinerYang
8102304621
add migration script for 2.9 ( #18997 )
...
add miigration script for 2.9
Signed-off-by: yminer <yminer@vmware.com>
update quota_update_provider
update typo
update comment
2023-07-25 17:52:37 +08:00
Yang Jiao
70554fe4f1
Fix build harbor-db-base error ( #19003 )
...
Fix #19002
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2023-07-25 16:45:23 +08:00
Shengwen YU
320c0d63ca
feat: add config for job_loggers ( #18970 )
...
Signed-off-by: Shengwen Yu <yshengwen@vmware.com>
2023-07-24 22:10:36 +08:00
Chlins Zhang
8ff095d68f
feat: add the configuration for quota update provider ( #18928 )
...
Add the related configurations for the quota update provider to the
harbor.yml.
Signed-off-by: chlins <chenyuzh@vmware.com>
2023-07-24 16:28:19 +08:00
MinerYang
14192dfb06
add strong_ssl_ciphers for nginx https jinja template ( #18748 )
...
Signed-off-by: yminer <yminer@vmware.com>
2023-05-29 21:57:15 +08:00
Stephan Hohn
4f3393e615
http2 enabled and ciphers changed to get an A+ rating instead of B fr… ( #16990 )
...
* Make strong cipher cfg optional
Signed-off-by: Stephan Hohn <stephan.hohn@tech11.com>
---------
Signed-off-by: Stephan Hohn <stephan.hohn@tech11.com>
Signed-off-by: MinerYang <yminer@vmware.com>
Co-authored-by: Stephan Hohn <stephan.hohn@tech11.com>
Co-authored-by: Wang Yan <wangyan@vmware.com>
Co-authored-by: MinerYang <yminer@vmware.com>
2023-05-29 10:37:57 +08:00
malmor
135ca37e3f
Add support for TLSv1.3 in nginx configurations ( #18659 )
...
Signed-off-by: malmor <62105800+malmor@users.noreply.github.com>
Co-authored-by: MinerYang <yminer@vmware.com>
2023-05-26 10:29:54 +08:00
David van der Spek
982ff0aeea
chore: bump registry release to 2.8.2 ( #18685 )
...
Signed-off-by: David van der Spek <vanderspek.david@gmail.com>
2023-05-26 09:37:45 +08:00
Wang Yan
bf7c82b9a8
remove the notary from backend ( #18668 )
...
Since harbor deprecates notary since v2.9.0, this pull request targets to remove the code related with notary.
Signed-off-by: Wang Yan <wangyan@vmware.com>
2023-05-18 18:47:42 +08:00
Yang Jiao
cb8a3d0c74
Fix build db base image symlink error ( #18673 )
...
Fix #18672
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2023-05-12 15:45:27 +08:00
MinerYang
220383147e
bump golang 1.20.4 on main ( #18647 )
...
Signed-off-by: yminer <yminer@vmware.com>
2023-05-09 23:27:26 +08:00
Shijun Sun
2fec790148
Copy swagger.json to the dist folder ( #18646 )
...
Signed-off-by: AllForNothing <sshijun@vmware.com>
2023-05-09 09:27:03 +08:00
Yang Jiao
aaea068cce
Upgrade the internal PostgreSQL to 14 in 2.9.0 ( #18612 )
...
Fix #18338
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
Co-authored-by: Wang Yan <wangyan@vmware.com>
2023-05-05 10:32:39 +08:00
Shijun Sun
0a3509f8a7
Replace python script with node script for portal Dockerfile ( #18635 )
...
Signed-off-by: AllForNothing <sshijun@vmware.com>
2023-05-04 17:38:03 +08:00
MinerYang
2d98e8fe1e
Allow redis password using safe special characters ( #18566 )
...
allow redis password safe special characters
Signed-off-by: yminer <yminer@vmware.com>
string and None type conversion
2023-04-24 11:01:46 +08:00
MinerYang
7afdb932b2
bump golang 1.20.3 on main ( #18492 )
...
Signed-off-by: yminer <yminer@vmware.com>
Co-authored-by: Wang Yan <wangyan@vmware.com>
2023-04-10 09:27:31 +08:00