pfab 0.55.1 → 0.56.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 759f9b61179b683fda65e63ad6e38e956e2dc2f7a0b81d20156cf1887597c524
4
- data.tar.gz: af2bfe076e2e226a304b100d2aad745050f352aed53027ca1fb9a9b0bdc6e7df
3
+ metadata.gz: 5624bc3199cebea0b272e764081ad57da5d0eba2139f3d7b849beef0eb32490f
4
+ data.tar.gz: bd991509dc381b54917ed74c3f4e2b17575ddbedfebd024fafb0d4ff93e57bb3
5
5
  SHA512:
6
- metadata.gz: 6ccc8156e97c66cd2b752d610a8d15a2f6cdcad2ef74f3b587ea19888b62a64e09aeac11c2ce388dec083ea5371a201726def3efa4c2969eb9fd881241ae2179
7
- data.tar.gz: 504a207f7b06588e080c8664219c054f6b578f7760f97c4a1fc5e4b208b9fa9a618a2247e760abb297a5616303d2aca1b370ec56868133d86c57a78dbb56865b
6
+ metadata.gz: 49cdc96d66b5ea4fdaae4ce10910483948eb7b107290efe53940e7ed0e37dccdfa08d54ffa5375f8d210347dd43dd53e10ed2840974bc5541f37f70f2281587b
7
+ data.tar.gz: 61326d6f54566e96b65bb1d318547bf67e74ab9b9aeb1e7178e433efc1cb248d5ba96151c3661aa1352f7d6bb7b9de130c90029cf8fa930b5a7da59ce4bc208e
@@ -80,7 +80,8 @@ module Pfab
80
80
 
81
81
  def env_vars
82
82
  env_vars = { "DEPLOYED_NAME" => { value: @data['deployed_name'] },
83
- "DEPLOY_ID" => { value: deploy_id },
83
+ "DEPLOY_ID" => { value: deploy_id }, # currently this is the same as deployed_name
84
+ "DEPLOY_FAMILY" => { value: @data['application'] },
84
85
  "POD_ID" => { valueFrom: { fieldRef: { fieldPath: 'metadata.name' } } },
85
86
  "SPEC_NODENAME" => { valueFrom: { fieldRef: { fieldPath: 'spec.nodeName' } } },
86
87
  "DD_ENV" => { valueFrom: { fieldRef: { fieldPath: "metadata.labels['tags.datadoghq.com/env']" } } },
data/lib/pfab/version.rb CHANGED
@@ -1,8 +1,8 @@
1
1
  module Pfab
2
2
  module Version
3
3
  MAJOR = 0
4
- MINOR = 55
5
- PATCH = 1
4
+ MINOR = 56
5
+ PATCH = 0
6
6
  BUILD = nil
7
7
 
8
8
  STRING = [MAJOR, MINOR, PATCH, BUILD].compact.join('.')
data/pfab.gemspec CHANGED
@@ -2,16 +2,16 @@
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.55.1 ruby lib
5
+ # stub: pfab 0.56.0 ruby lib
6
6
 
7
7
  Gem::Specification.new do |s|
8
8
  s.name = "pfab".freeze
9
- s.version = "0.55.1"
9
+ s.version = "0.56.0"
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]
13
13
  s.authors = ["Jeff Dwyer".freeze]
14
- s.date = "2024-05-22"
14
+ s.date = "2024-05-31"
15
15
  s.description = "k8s helper".freeze
16
16
  s.email = "jdwyer@prefab.cloud".freeze
17
17
  s.executables = ["pfab".freeze]
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pfab
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.55.1
4
+ version: 0.56.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jeff Dwyer
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-05-22 00:00:00.000000000 Z
11
+ date: 2024-05-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: commander