• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

coveooss / terragrunt
60%

Build:
DEFAULT BRANCH: master
Repo Added 26 Jun 2019 10:28PM UTC
Files 53
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

LAST BUILD ON BRANCH master
branch: master
CHANGE BRANCH
x
Reset
  • master
  • add-env_vars
  • block-redefined-in-same-file-should-override
  • dependabot/go_modules/github.com/aws/aws-sdk-go-1.20.10
  • dependabot/go_modules/github.com/aws/aws-sdk-go-1.20.12
  • dependabot/go_modules/github.com/aws/aws-sdk-go-1.20.15
  • dependabot/go_modules/github.com/aws/aws-sdk-go-1.20.20
  • dependabot/go_modules/github.com/aws/aws-sdk-go-1.21.1
  • dependabot/go_modules/github.com/aws/aws-sdk-go-1.21.6
  • dependabot/go_modules/github.com/aws/aws-sdk-go-1.21.9
  • dependabot/go_modules/github.com/aws/aws-sdk-go-1.23.3
  • dependabot/go_modules/github.com/aws/aws-sdk-go-1.23.8
  • dependabot/go_modules/github.com/aws/aws-sdk-go-1.24.5
  • dependabot/go_modules/github.com/aws/aws-sdk-go-1.25.6
  • dependabot/go_modules/github.com/hashicorp/terraform-0.12.3
  • dependabot/go_modules/github.com/urfave/cli-1.22.1
  • dependabot/go_modules/gopkg.in/yaml.v2-2.2.4
  • feature/dt-1503-warning-on-invalid-config
  • features/stop-looking-after-match-in-import-variables
  • jg-old/fix-import-variables
  • move-gotemplate
  • v1.4.0

10 Oct 2019 11:24AM UTC coverage: 59.509% (+0.7%) from 58.763%
708

push

travis-ci

web-flow
Properly handle multiple blocks with same name in a single file (#87)

* Properly handle multiple blocks with same name in a single file

If we declare a block with the same name, the normal behavior is to overwrite the previous definition with the latest one. That works if blocks are defined in separated files. But it did not work properly when blocks were declared in the same file.

I fixed this in the generic merge function, but that only worked if multiple blocks were declared in an included file but not for the main configuration file. So, I forced the main file to also go through the merge process (starting with an empty structure).

I also discovered a test `no-tf-variable` that was working even if it used the same block many times in the configuration. Fixing this problem caused that specific test to fail.

To ensure that we don't break existing configuration without being noticed, I added a warning when a block is overridden by another block with the same name in a file.

* Changes following review comments

3589 of 6031 relevant lines covered (59.51%)

80.32 hits per line

Relevant lines Covered
Build:
Build:
6031 RELEVANT LINES 3589 COVERED LINES
80.32 HITS PER LINE
Source Files on master
  • List 0
  • Changed 34
  • Source Changed 11
  • Coverage Changed 34
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
708 master Properly handle multiple blocks with same name in a single file (#87) * Properly handle multiple blocks with same name in a single file If we declare a block with the same name, the normal behavior is to overwrite the previous definition with ... push 10 Oct 2019 11:29AM UTC web-flow travis-ci
59.51
699 master stop looking after match in import variables (#86) - Update gotemplate to use the go modules versions of this library (no other change than version upgrade) - Change the order of import directives to make it uniform * Enhance globFiles - ... push 08 Oct 2019 07:14PM UTC web-flow travis-ci
58.76
681 master Merge pull request #85 from coveooss/dependabot/go_modules/gopkg.in/yaml.v2-2.2.4 Bump gopkg.in/yaml.v2 from 2.2.2 to 2.2.4 push 07 Oct 2019 11:53AM UTC web-flow travis-ci
58.87
675 master Add env vars (#83) * Fix some warnings * Add environment variables support - Add env_vars to extra_args, extra_command, import_variables, pre_hook and post_hook - Move extra_arguments outside of terraform block (also keeping it inside to a... push 05 Oct 2019 12:40PM UTC web-flow travis-ci
58.85
661 master Merge pull request #81 from coveooss/dependabot/go_modules/github.com/aws/aws-sdk-go-1.24.5 Bump github.com/aws/aws-sdk-go from 1.23.9 to 1.24.5 push 24 Sep 2019 07:02PM UTC web-flow travis-ci
56.8
654 master Bump github.com/aws/aws-sdk-go from 1.23.8 to 1.23.9 (#79) Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.23.8 to 1.23.9. - [Release notes](https://github.com/aws/aws-sdk-go/releases) - [Changelog](https://github.co... push 29 Aug 2019 05:34PM UTC jocgir travis-ci
56.82
651 master Bump github.com/aws/aws-sdk-go from 1.21.6 to 1.23.8 (#78) Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.21.6 to 1.23.8. - [Release notes](https://github.com/aws/aws-sdk-go/releases) - [Changelog](https://github.co... push 27 Aug 2019 01:25PM UTC jocgir travis-ci
56.8
650 master Bump github.com/stretchr/testify from 1.3.0 to 1.4.0 (#76) Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.3.0 to 1.4.0. - [Release notes](https://github.com/stretchr/testify/releases) - [Commits](https://github.... push 27 Aug 2019 01:24PM UTC jocgir travis-ci
56.8
636 master Merge pull request #72 from coveooss/dependabot/go_modules/github.com/aws/aws-sdk-go-1.21.6 Bump github.com/aws/aws-sdk-go from 1.21.1 to 1.21.6 push 29 Jul 2019 08:58PM UTC web-flow travis-ci
56.8
633 master Bump github.com/aws/aws-sdk-go from 1.20.15 to 1.21.1 (#71) Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.20.15 to 1.21.1. - [Release notes](https://github.com/aws/aws-sdk-go/releases) - [Changelog](https://github.... push 22 Jul 2019 12:47PM UTC jocgir travis-ci
56.82
See All Builds (66)
  • Repo on GitHub
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc