terraspace_ci_bitbucket 0.1.0 → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7975dcf44742b099697b1331e0420a517015bde5b03e44a2945881916102f35e
4
- data.tar.gz: d749a49df01319ddaf558569606e245cd69a37ad8701dff660e898603fb20a87
3
+ metadata.gz: 6c942eab1b6925d3b9372238ae560aa231a27b1bf95e65991a47b67790d0d4e3
4
+ data.tar.gz: d3297902a15ebdf823321a6c1b855c9d5c7c3c40f2b85f8dee0c2e7f6358224f
5
5
  SHA512:
6
- metadata.gz: 77f5c7b4527caa83a17d55e2272c20dad14acda46b2904faafda4d0e34085cc99583573a83acafc7225e3ad0fe9ffd6194550794d0e86aba0f936c07f139a672
7
- data.tar.gz: c5123892600b410dc4c41d2e648b54ff8f4ec36484e71d3fc5df6f2437754630bdec30c6d3c56e9770810d34a3610061eea4398e75badcb42a7452f2153ddd59
6
+ metadata.gz: 2db0eec6be1822568f8f8e4164be16fee4afee5e8e387b28b013d64056ded9787981d88569606d6e28da481eaa2c002421f1c1bf991584629894959b9e8d9edd
7
+ data.tar.gz: 7ca6894fb52d1e4181772ef8df45480ddcb6c693393cbc1622fabd28d1ed2b277f544dcd0e70052bfd6a8e9b0c9151c462ba6654f6b7efe001b0e904c1964d21
data/CHANGELOG.md CHANGED
@@ -3,6 +3,9 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  This project *tries* to adhere to [Semantic Versioning](http://semver.org/).
5
5
 
6
+ ## [0.2.0] - 2022-07-11
7
+ - [#1](https://github.com/boltops-tools/terraspace_ci_bitbucket/pull/1) install infracost
8
+
6
9
  ## [0.1.0] - 2022-06-09
7
10
 
8
11
  - Initial release
data/LICENSE.txt CHANGED
@@ -1,6 +1,6 @@
1
1
  The MIT License (MIT)
2
2
 
3
- Copyright (c) <%= Time.now.year %>
3
+ Copyright (c) 2022 Tung Nguyen
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # terraspace_ci_bitbucket
2
2
 
3
- [![Gem Version](https://badge.fury.io/rb/terraspace.png)](http://badge.fury.io/rb/terraspace)
3
+ [![Gem Version](https://badge.fury.io/rb/terraspace_ci_bitbucket.png)](http://badge.fury.io/rb/terraspace_ci_bitbucket)
4
4
 
5
5
  [![BoltOps Badge](https://img.boltops.com/boltops/badges/boltops-badge.png)](https://www.boltops.com)
6
6
 
@@ -1,11 +1,16 @@
1
1
  #!/bin/bash
2
+
2
3
  # install terraform
3
4
  git clone https://github.com/tfutils/tfenv.git ~/.tfenv
4
5
  export PATH="$HOME/.tfenv/bin:$PATH"
5
6
  tfenv install latest
6
7
  tfenv use latest
7
8
  terraform --version
9
+
8
10
  # install terraspace
9
11
  bundle
10
12
  bundle exec terraspace new shim
11
13
  export PATH="/usr/local/bin:$PATH"
14
+
15
+ # install infracost
16
+ curl -fsSL https://raw.githubusercontent.com/infracost/infracost/master/scripts/install.sh | sh
@@ -10,6 +10,7 @@ module TerraspaceCiBitbucket
10
10
  # urls
11
11
  pr_url: pr_url,
12
12
  build_url: build_url,
13
+ branch_url: branch_url,
13
14
  # additional properties
14
15
  build_type: build_type, # required IE: pull_request or push
15
16
  pr_number: pr_number, # set when build_type=pull_request
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module TerraspaceCiBitbucket
4
- VERSION = "0.1.0"
4
+ VERSION = "0.2.0"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: terraspace_ci_bitbucket
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tung Nguyen
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-06-10 00:00:00.000000000 Z
11
+ date: 2022-07-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport