Skip to content

Commit 5e3271d

Browse files
committed
fix(terragrunt): filter out additional assets
1 parent 8200021 commit 5e3271d

File tree

4 files changed

+38
-3
lines changed

4 files changed

+38
-3
lines changed

src/terragrunt/install.sh

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,8 @@ $nanolayer_location \
1515
install \
1616
devcontainer-feature \
1717
"ghcr.io/devcontainers-extra/features/gh-release:1.0.25" \
18-
--option repo='gruntwork-io/terragrunt' --option binaryNames='terragrunt' --option version="$VERSION"
19-
20-
18+
--option repo='gruntwork-io/terragrunt' --option binaryNames='terragrunt' --option version="$VERSION" \
19+
--option assetRegex='^(?!.*(\.zip|\.tar\.gz)$).*$'
2120

2221
echo 'Done!'
2322

test/terragrunt/scenarios.json

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,21 @@
44
"features": {
55
"terragrunt": {}
66
}
7+
},
8+
"test_specific_version_before_assets_change": {
9+
"image": "mcr.microsoft.com/devcontainers/base:debian",
10+
"features": {
11+
"terragrunt": {
12+
"version": "0.93.5"
13+
}
14+
}
15+
},
16+
"test_specific_version": {
17+
"image": "mcr.microsoft.com/devcontainers/base:debian",
18+
"features": {
19+
"terragrunt": {
20+
"version": "0.96.0"
21+
}
22+
}
723
}
824
}
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
#!/usr/bin/env bash
2+
3+
set -e
4+
5+
source dev-container-features-test-lib
6+
7+
check "terragrunt --version" terragrunt --version
8+
check "terragrunt version is equal to 0.96.0" sh -c "terragrunt --version | grep '0.96.0'"
9+
10+
reportResults
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
#!/usr/bin/env bash
2+
3+
set -e
4+
5+
source dev-container-features-test-lib
6+
7+
check "terragrunt --version" terragrunt --version
8+
check "terragrunt version is equal to 0.93.5" sh -c "terragrunt --version | grep '0.93.5'"
9+
10+
reportResults

0 commit comments

Comments
 (0)