Closed gscho closed 1 year ago
This is a new omnibus feature that allows users to build from only internal sources.
It works by adding a configuration value to the omnibus.rb file:
omnibus.rb
use_internal_sources true
And then in the software definitions, you can define an internal_source like this:
internal_source
my-software/cacerts.rb
internal_source url: "https://my.internal.source/cacert-#{version}.pem"
When both source and internal_source are set, it will use the internal_source when use_internal_sources is set to true.
use_internal_sources
source url: "https://curl.se/ca/cacert-#{version}.pem" internal_source url: "https://my.internal.source/cacert-#{version}.pem" # uses this one
url:
Please ensure that you check for:
Kudos, SonarCloud Quality Gate passed!
0 Bugs 0 Vulnerabilities 0 Security Hotspots 1 Code Smell
No Coverage information 0.0% Duplication
Description
This is a new omnibus feature that allows users to build from only internal sources.
It works by adding a configuration value to the
omnibus.rb
file:omnibus.rb
And then in the software definitions, you can define an
internal_source
like this:my-software/cacerts.rb
When both source and internal_source are set, it will use the
internal_source
whenuse_internal_sources
is set to true.When
use_internal_sources
is enabled and nointernal_source
is set for a dependency with aurl:
it will throw and exceptionMaintainers
Please ensure that you check for: