diff --git a/.custom_sources.yml b/.custom_sources.yml index 57722a9802a2ed30091366f1416d0cb667ab27ec_LmN1c3RvbV9zb3VyY2VzLnltbA==..b0744868194b0ab4e9600d639ca90208a17c57d1_LmN1c3RvbV9zb3VyY2VzLnltbA== 100644 --- a/.custom_sources.yml +++ b/.custom_sources.yml @@ -18,6 +18,14 @@ remote: "git@dev.gitlab.org:omnibus-mirror/distribution.git" rb-readline: remote: "git@dev.gitlab.org:omnibus-mirror/rb-readline.git" +prometheus: + remote: "git@dev.gitlab.org:omnibus-mirror/prometheus.git" +node-exporter: + remote: "git@dev.gitlab.org:omnibus-mirror/node_exporter.git" +postgres-exporter: + remote: "git@dev.gitlab.org:omnibus-mirror/postgres_exporter.git" +redis-exporter: + remote: "git@dev.gitlab.org:omnibus-mirror/redis_exporter.git" # For local builds, use the public repositories given below. They are mirrord # from the internal repositories that GitLab uses. @@ -42,3 +50,11 @@ #remote: "https://gitlab.com/omnibus-mirror/distribution.git" #rb-readline: #remote: "https://gitlab.com/omnibus-mirror/rb-readline.git" +#prometheus: + #remote: "https://gitlab.com/omnibus-mirror/prometheus.git" +#node-exporter: + #remote: "https://gitlab.com/omnibus-mirror/node_exporter.git" +#postgres-exporter: + #remote: "https://gitlab.com/omnibus-mirror/postgres_exporter.git" +#redis-exporter: + #remote: "https://gitlab.com/omnibus-mirror/redis_exporter.git" diff --git a/config/software/node-exporter.rb b/config/software/node-exporter.rb index 57722a9802a2ed30091366f1416d0cb667ab27ec_Y29uZmlnL3NvZnR3YXJlL25vZGUtZXhwb3J0ZXIucmI=..b0744868194b0ab4e9600d639ca90208a17c57d1_Y29uZmlnL3NvZnR3YXJlL25vZGUtZXhwb3J0ZXIucmI= 100644 --- a/config/software/node-exporter.rb +++ b/config/software/node-exporter.rb @@ -14,4 +14,6 @@ # limitations under the License. # +require "#{Omnibus::Config.project_root}/lib/gitlab/version" + name 'node-exporter' @@ -17,6 +19,7 @@ name 'node-exporter' -default_version 'v0.13.0' +version = Gitlab::Version.new('node-exporter', '0.13.0') +default_version version.print license 'APACHE-2.0' license_file 'LICENSE' @@ -19,8 +22,8 @@ license 'APACHE-2.0' license_file 'LICENSE' -source git: 'https://github.com/prometheus/node_exporter.git' +source git: version.remote relative_path 'src/github.com/prometheus/node_exporter' diff --git a/config/software/postgres-exporter.rb b/config/software/postgres-exporter.rb index 57722a9802a2ed30091366f1416d0cb667ab27ec_Y29uZmlnL3NvZnR3YXJlL3Bvc3RncmVzLWV4cG9ydGVyLnJi..b0744868194b0ab4e9600d639ca90208a17c57d1_Y29uZmlnL3NvZnR3YXJlL3Bvc3RncmVzLWV4cG9ydGVyLnJi 100644 --- a/config/software/postgres-exporter.rb +++ b/config/software/postgres-exporter.rb @@ -16,4 +16,6 @@ ## # +require "#{Omnibus::Config.project_root}/lib/gitlab/version" + name 'postgres-exporter' @@ -19,6 +21,7 @@ name 'postgres-exporter' -default_version 'v0.1.1' +version = Gitlab::Version.new('postgres-exporter', '0.1.1') +default_version version.print license 'Apache-2.0' license_file "https://raw.githubusercontent.com/wrouesnel/postgres_exporter/#{version}/LICENSE" @@ -21,8 +24,8 @@ license 'Apache-2.0' license_file "https://raw.githubusercontent.com/wrouesnel/postgres_exporter/#{version}/LICENSE" -source git: 'https://github.com/wrouesnel/postgres_exporter.git' +source git: version.remote relative_path 'src/github.com/wrouesnel/postgres_exporter' diff --git a/config/software/prometheus.rb b/config/software/prometheus.rb index 57722a9802a2ed30091366f1416d0cb667ab27ec_Y29uZmlnL3NvZnR3YXJlL3Byb21ldGhldXMucmI=..b0744868194b0ab4e9600d639ca90208a17c57d1_Y29uZmlnL3NvZnR3YXJlL3Byb21ldGhldXMucmI= 100644 --- a/config/software/prometheus.rb +++ b/config/software/prometheus.rb @@ -16,4 +16,6 @@ ## # +require "#{Omnibus::Config.project_root}/lib/gitlab/version" + name 'prometheus' @@ -19,6 +21,7 @@ name 'prometheus' -default_version 'v1.4.1' +version = Gitlab::Version.new('prometheus', '1.4.1') +default_version version.print license 'APACHE-2.0' license_file 'LICENSE' @@ -21,8 +24,8 @@ license 'APACHE-2.0' license_file 'LICENSE' -source git: 'https://github.com/prometheus/prometheus.git' +source git: version.remote relative_path 'src/github.com/prometheus/prometheus' diff --git a/config/software/redis-exporter.rb b/config/software/redis-exporter.rb index 57722a9802a2ed30091366f1416d0cb667ab27ec_Y29uZmlnL3NvZnR3YXJlL3JlZGlzLWV4cG9ydGVyLnJi..b0744868194b0ab4e9600d639ca90208a17c57d1_Y29uZmlnL3NvZnR3YXJlL3JlZGlzLWV4cG9ydGVyLnJi 100644 --- a/config/software/redis-exporter.rb +++ b/config/software/redis-exporter.rb @@ -16,4 +16,6 @@ ## # +require "#{Omnibus::Config.project_root}/lib/gitlab/version" + name 'redis-exporter' @@ -19,6 +21,7 @@ name 'redis-exporter' -default_version 'v0.10.6' +version = Gitlab::Version.new('redis-exporter', '0.10.6') +default_version version.print license 'MIT' license_file 'LICENSE' @@ -21,8 +24,8 @@ license 'MIT' license_file 'LICENSE' -source git: 'https://github.com/oliver006/redis_exporter.git' +source git: version.remote relative_path 'src/github.com/oliver006/redis_exporter'