gha_config 0.21 → 0.22

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: fab829ad50d5bd6bc14923bed4ff281f84c6e5d97be1259a6245495877fb1be5
4
- data.tar.gz: 23755419b447948a847f540319c8e8d0fb7c32b2c0467e8e567f054168e64456
3
+ metadata.gz: e131e9a02772785b75fc3cc808850f94fa87257bd287c1b953a4c86592bf6ba8
4
+ data.tar.gz: 84c4ac5ffdace9fc7434d2b254424170c05a40fcbb3b4f9e24c9fb8f83762bea
5
5
  SHA512:
6
- metadata.gz: c9c58c07938cfe3a465fba48eb274fb4938eaaeb9d5c89f7b96d2e0df02b7b7ebccb5554764a43c84f77833e3e63e41598d22112dbc655a21397527582cdce5d
7
- data.tar.gz: 34ae3c384b458fef9756b04c703fa635ca3d6017fece60ac48105734fa3f4c2aa8a96cecdbc87288feef67f08d7d0a2a0411767f0a72d675620bad7d1744c5bd
6
+ metadata.gz: b95fa77057e1d23e7cd5569229a9d529d61d05239993fc6e37d757e0a69f40ceeab381d0693472ced3fd893ccdad8cb8151af2d6614dde2fd1f9913345db2a5c
7
+ data.tar.gz: c26d179468076535587d36cadb09c8064240d4e00f191d25c7140cabad93e7fed502a130c9c85631a4891e949077c22b5c8637ea65107068be8953fff8d99d69
data/CHANGELOG.md CHANGED
@@ -5,6 +5,9 @@ All notable changes to this project will be documented in this file.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+ # [0.22] - 2021-11-16
9
+ - Fixed so root-level `env` are not overridden by defaults.
10
+
8
11
  ## [0.21] - 2021-08-20
9
12
  - Added ARTIFACTORY env variables by default for Scala builds.
10
13
 
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- gha_config (0.20)
4
+ gha_config (0.21)
5
5
 
6
6
  GEM
7
7
  remote: https://flipplib.jfrog.io/flipplib/api/gems/flipp-gems/
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module GhaConfig
4
- VERSION = '0.21'
4
+ VERSION = '0.22'
5
5
  end
@@ -10,7 +10,7 @@ module GhaConfig
10
10
  default_env = {
11
11
  'SLACK_CHANNEL' => ''
12
12
  }
13
- output_hash['env'] = default_env.merge(config.env).
13
+ output_hash['env'] = default_env.
14
14
  merge({
15
15
  'HOME' => '/home/circleci',
16
16
  'AWS_ACCESS_KEY_ID' => '${{ secrets.AWS_ACCESS_KEY_ID }}',
@@ -31,7 +31,7 @@ module GhaConfig
31
31
  'ARTIFACTORY_PASSWORD' => '${{ secrets.ARTIFACTORY_PASSWORD }}',
32
32
  'ARTIFACTORY_REALM' => '${{ secrets.ARTIFACTORY_REALM }}',
33
33
  'ARTIFACTORY_USER' => '${{ secrets.ARTIFACTORY_USER }}'
34
- })
34
+ }).merge(config.env)
35
35
 
36
36
  output_hash['jobs'] = {}
37
37
  config.parsed_config['jobs'].each do |name, job|
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gha_config
3
3
  version: !ruby/object:Gem::Version
4
- version: '0.21'
4
+ version: '0.22'
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daniel Orner
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-08-20 00:00:00.000000000 Z
11
+ date: 2021-11-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rubocop