goharbor / harbor

An open source trusted cloud native registry project that stores, signs, and scans content.
https://goharbor.io
Apache License 2.0
24.12k stars 4.76k forks source link

Use bosh vendoring packages to replace the packages added in harbor bosh release #4312

Closed jessehu closed 6 years ago

jessehu commented 6 years ago

Harbor bosh release now contains golang/docker/docker-compose binary packages. Should consider replace them with BOSH vendoring packages

2) BOSH vendoring packages:

2.1) Instruction at bosh.io: https://bosh.io/docs/package-vendoring.html

2.2) All packages that can be vendored: https://github.com/bosh-packages

2.3) Example of using vendored golang to compile a source code: https://gitlab.eng.vmware.com/PKS/pks-nsx-t-release/tree/master/packages/pks-nsx-t-osb-proxy

3) Examples of using vendored gems (for cf-uaac), 2 different approaches:

3.1) Using the ruby vendor package and storing vendored gems at the github repo: https://github.com/cloudfoundry-incubator/bosh-aws-cpi-release/tree/master/packages/bosh_aws_cpi

3.2) Using its own ruby package and using a pre_packaging script to vendor gems: https://gitlab.eng.vmware.com/PKS/pks-vrli-release/tree/master/packages/fluentd

3.3) Similar to the above, but packaging uaac: https://github.com/cloudfoundry-community/admin-ui-boshrelease/tree/master/packages/uaac

jessehu commented 6 years ago

The bosh vendor packages do not support docker and docker-compose. So this task can only replace golang used in harbor bosh release with bosh vendor package. Will move this out of PKS 1.1 scope.

stale[bot] commented 6 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

reasonerjt commented 6 years ago

Will only move golang pkg from vendor tracked by #4171