pfab 0.54.0 → 0.54.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/pfab/templates/web.rb +4 -3
- data/lib/pfab/version.rb +1 -1
- data/pfab.gemspec +2 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 76cf1e72c2d80c355fdcd4d6a1d4029966302d885106239d4f440b02cd1ecec0
|
4
|
+
data.tar.gz: a89e2b49a230499c16dfacd205b9a025529a72f99bd9d89d0e143d7d90fdbce8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f8250a9a5c42ebdfb55d22c076c4a6be32a1c2596b720b2e77e60b35c86e92879116df789cdda86571e26ce2a0f2e9c1b3da7f4c4bc1edfa60ee81bb8115bc1e
|
7
|
+
data.tar.gz: c1517c24b3d9cde49f77a65b02084b3e200869d529c4c08753378761cb5466ef7ceda829438d65d29cd30718183d7bd4a3fd8fc73684e238167286dc0e88e0f2
|
data/lib/pfab/templates/web.rb
CHANGED
@@ -1,6 +1,7 @@
|
|
1
1
|
require "rubygems/safe_yaml"
|
2
2
|
|
3
3
|
module Pfab
|
4
|
+
LABEL_DEPLOY_UNIQUE_ID = "deploy-unique-id"
|
4
5
|
module Templates
|
5
6
|
class Web < Base
|
6
7
|
def write_to(f)
|
@@ -230,7 +231,7 @@ module Pfab
|
|
230
231
|
]
|
231
232
|
},
|
232
233
|
{
|
233
|
-
key:
|
234
|
+
key: LABEL_DEPLOY_UNIQUE_ID,
|
234
235
|
operator: "In",
|
235
236
|
values: [
|
236
237
|
StyledYAML.double_quoted(deploy_unique_id)
|
@@ -319,7 +320,7 @@ module Pfab
|
|
319
320
|
"deployed-name" => @data['deployed_name'],
|
320
321
|
"application-type" => application_type,
|
321
322
|
"deploy-id" => deploy_id,
|
322
|
-
|
323
|
+
LABEL_DEPLOY_UNIQUE_ID: StyledYAML.double_quoted(deploy_unique_id),
|
323
324
|
"tags.datadoghq.com/env": @data['env'],
|
324
325
|
"tags.datadoghq.com/service": @data['deployed_name'],
|
325
326
|
"tags.datadoghq.com/version": StyledYAML.double_quoted(@data['sha'])
|
@@ -347,7 +348,7 @@ module Pfab
|
|
347
348
|
application: @data['application'],
|
348
349
|
"deployed-name" => @data['deployed_name'],
|
349
350
|
"application-type" => "web",
|
350
|
-
|
351
|
+
LABEL_DEPLOY_UNIQUE_ID => StyledYAML.double_quoted(deploy_unique_id),
|
351
352
|
"tags.datadoghq.com/env": @data['env'],
|
352
353
|
"tags.datadoghq.com/service": @data['deployed_name'],
|
353
354
|
"tags.datadoghq.com/version": StyledYAML.double_quoted(@data['sha'])
|
data/lib/pfab/version.rb
CHANGED
data/pfab.gemspec
CHANGED
@@ -2,11 +2,11 @@
|
|
2
2
|
# DO NOT EDIT THIS FILE DIRECTLY
|
3
3
|
# Instead, edit Juwelier::Tasks in Rakefile, and run 'rake gemspec'
|
4
4
|
# -*- encoding: utf-8 -*-
|
5
|
-
# stub: pfab 0.54.
|
5
|
+
# stub: pfab 0.54.1 ruby lib
|
6
6
|
|
7
7
|
Gem::Specification.new do |s|
|
8
8
|
s.name = "pfab".freeze
|
9
|
-
s.version = "0.54.
|
9
|
+
s.version = "0.54.1"
|
10
10
|
|
11
11
|
s.required_rubygems_version = Gem::Requirement.new(">= 0".freeze) if s.respond_to? :required_rubygems_version=
|
12
12
|
s.require_paths = ["lib".freeze]
|