Skip to content

Commit f277c37

Browse files
committed
Default repository root
Previously, all of the repository_root declarations in the component configurations used the common http://download.pivotal.io.s3.amazonaws.com domain for their repositories. Since any user wanting to move the repositories to a different location (e.g. replication behind a firewall) would have to change many files, this change abstracts the repository root declaration. It does this by introducing a {default.repository.root} substitution variable for repository_roots. This placeholder is substituted with a value configured in config/repository.yml. The use of this placeholder is not required. [#57585912]
1 parent 7b15293 commit f277c37

39 files changed

+271
-194
lines changed

.idea/codeStyleSettings.xml

Lines changed: 13 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/dictionaries/bhale.xml

Lines changed: 4 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/misc.xml

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/runConfigurations/All_Tests.xml

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/runConfigurations/Without_Integration_Tests.xml

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ To learn how to configure various properties of the buildpack, follow the "Confi
4141
* Utilities
4242
* [Caches](docs/util-caches.md) ([Configuration](docs/util-caches.md#configuration))
4343
* [Logging](docs/logging.md) ([Configuration](docs/logging.md#configuration))
44-
* [Repositories](docs/util-repositories.md)
44+
* [Repositories](docs/util-repositories.md) ([Configuration](docs/util-repositories.md#configuration))
4545
* [Other Utiltities](docs/util-other.md)
4646
* [Repository Builder](docs/util-repository-builder.md)
4747
* [Test Applications](docs/util-test-applications.md)

config/appdynamics.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,5 @@
1616
# Configuration for the New Relic framework
1717
---
1818
version: 3.7.+
19-
repository_root: "http://download.pivotal.io.s3.amazonaws.com/app-dynamics"
19+
repository_root: "{default.repository.root}/app-dynamics"
2020
tier_name: Cloud Foundry

config/groovy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,4 @@
1616
# Configuration for the Groovy container
1717
---
1818
version: 2.1.+
19-
repository_root: "http://download.pivotal.io.s3.amazonaws.com/groovy"
19+
repository_root: "{default.repository.root}/groovy"

config/mariadbjdbc.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,4 @@
1616
# Configuration for the MariaDB JDBC framework
1717
---
1818
version: 1.1.+
19-
repository_root: "http://download.pivotal.io.s3.amazonaws.com/mariadb-jdbc"
19+
repository_root: "{default.repository.root}/mariadb-jdbc"

config/newrelic.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,4 @@
1616
# Configuration for the New Relic framework
1717
---
1818
version: 3.1.+
19-
repository_root: "http://download.pivotal.io.s3.amazonaws.com/new-relic"
19+
repository_root: "{default.repository.root}/new-relic"

0 commit comments

Comments
 (0)