2025-08-05 06:22:56 +00:00
committed by Git OBS Bridge
commit e55a9a2e5b
78 changed files with 4987 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

1
.gitignore vendored Normal file
View File

@@ -0,0 +1 @@
.osc

36
Makefile Normal file
View File

@@ -0,0 +1,36 @@
NAME = terragrunt
mkfile_path := $(abspath $(lastword $(MAKEFILE_LIST)))
mkfile_dir := $(dir $(mkfile_path))
export GOPATH := $(mkfile_dir)/tmpdir/
# make sure ./ is in the path,
# otherwise mockery is not found...
export PATH := :$(mkfile_dir)/tmpdir/bin:$(PATH)
default: clean tar
clean:
rm -rf $(NAME) $(NAME)-*.obscpio vendor.tar.gz ./tmpdir
tar:
osc service manualrun
mkdir -p ./tmpdir/src/ && \
rm -rf ./tmpdir/src/ && \
echo "Copy files to ./tmpdir/src/" && \
cp -r ./terragrunt/ ./tmpdir/src && \
cd ./tmpdir/src/ && \
echo "Installing mockery" && \
go install go.uber.org/mock/mockgen@v0.5.2 && \
echo "Starting go generate" && \
go generate ./... && \
go mod download && \
go mod vendor && \
echo "Creating tarball vendor.tar.gz" && \
tar czf ../../vendor.tar.gz ./vendor && \
ls -lh ../../vendor.tar.gz && \
echo "Cleaning up" && \
go clean -modcache && \
cd ../../ && \
rm -rf ./tmpdir && \
echo "Finished"

14
PACKAGING_README.md Normal file
View File

@@ -0,0 +1,14 @@
# Packaging terragrunt
terragrunt 0.58.4 changed the Makefile. Since then, the `mocks` need to be
prepared during build.
This also means, that vendoring fails without first creating the mocks...
1. Change the version in the `_service` file
3. Run `make`
4. Check the autogenerated changelog entry
5. Commit the changes as usual
For the OBS workflow you need `obs-service-tar_scm`.
For the `make` part you need `make` and a recent go installation.

19
_service Normal file
View File

@@ -0,0 +1,19 @@
<services>
<service name="obs_scm" mode="manual">
<param name="url">https://github.com/gruntwork-io/terragrunt</param>
<param name="scm">git</param>
<param name="exclude">.git</param>
<param name="revision">v0.84.1</param>
<param name="versionformat">@PARENT_TAG@</param>
<param name="versionrewrite-pattern">v(.*)</param>
<param name="changesgenerate">enable</param>
</service>
<service name="set_version" mode="manual">
<param name="basename">terragrunt</param>
</service>
<service name="tar" mode="buildtime"/>
<service name="recompress" mode="buildtime">
<param name="file">*.tar</param>
<param name="compression">gz</param>
</service>
</services>

4
_servicedata Normal file
View File

@@ -0,0 +1,4 @@
<servicedata>
<service name="tar_scm">
<param name="url">https://github.com/gruntwork-io/terragrunt</param>
<param name="changesrevision">2a5b90df9f7386794756ed4dc071d40c7ee9bb5b</param></service></servicedata>

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:0f318e6e4a67422e821a008da8792363c0e6a552ad2f8df1d4a14ac70946ec78
size 7724557

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:5016e3e8aea8baf77ec0903f0db4729f940c3d018bf3847ad5c58c7cfb0ea0e5
size 7726093

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b902eda3a2e0fcac846073b3a6005b1b7c62e6480c86edb45e3a9d1bb7c9174e
size 7726605

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:09bdcc57b1d3ec97fd5f8ec6b243054f1b3177bcfa1697e9d8775527d8da36f0
size 7757325

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:c4d069dddfc7bf60f716fa2a7ed550334d66fa1bb1726bf82617ee07bb68b127
size 7762445

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d5e258c7529794a721942c8722826147a198d1cbc8e8b69223bd5d3bfd97e810
size 7766029

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:14d5396a9d7df3875b9bd43df50a09a27fa471d2eabb955cff6bda41f35e1e52
size 7772685

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:beef1cf5218bcc979f64d154942d2e8e36830753bcd6fc07a0e1d2e07f008438
size 7795213

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:cac9eaa784ae0a9136ba330a210591ea8faa086c454488b78c6b23b3dd29e33d
size 7805453

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:3b971957a27e36cfd5aa83e85c726850a69c8d862666e50d490293b1ea926494
size 7818253

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a3542c5686f7b624a5d0ac828be5c819e6b319a02de67d2cd9e1c450b1b79171
size 7815693

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:f8e7e05872f885ea56f0b197e4dd7f0359bb089f2b95b4add5ef5478af1f43bc
size 7841805

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:25bb062bab1287918d9ed62b49ae6ff64e0cbb1e4ece3788166e484b74245240
size 7954445

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:231e7c4b8f0920af8a621b698438201f491566721084ecb8edbc69b3e0baf36d
size 7992333

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:fb65790e4e61555e029faaf39836660fd127e9d6074537907bdc149363f4e253
size 7993357

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:9ba86ea0f6849fa4565836bd352dd236ab9b743e50c9866f46e1adbd72992bbb
size 7891469

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:afaa6358d55cd101b3e4db5aa13dd671af167ae2b8ef43e59b8a8edd5e29277e
size 8079373

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:e61737268f4b77b9d41889f3acee69284d2742265d883f53c23331ad16d9bc7d
size 8133133

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:e8c570f7b626635c7b66399a77ad1b0383b7f5ee6c3fc064aee1674be32cc448
size 8010253

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:475bb293cb530f5e1683ba8aad22cad58fb0d83876146f5b30b796cf79d778a5
size 8030733

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d53b78d12741c6d0a354aa4e43bf391477a8ca2cd4b89c335ec9c474d98b9b85
size 8045069

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:dea0e4d5367c58d09f157eb1a19c470fd2b09fa4945517e659f42348f9ebbb47
size 8047117

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:47baf65cd59c4b39a83bcf09282bc313a0d9a0439122e7d6a8fd2365af8c7ca0
size 8291853

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:eef9b7355a4d7edb7b7324f77a482d321727707aac729442c83e6a146bf077af
size 8302093

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:4e0f168b4247ca4e88594295f5f1c16a6fa09c598cfb2153a3d821615bd20d49
size 8332301

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d0b4f66e7b593880177497013bd00da313b2fc03ec837e14b48d9d778e363e3c
size 8347661

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:7fe58b45f2fb25ac520036aa8489381b9fc4636e48efda06f96125aa96be0add
size 8351245

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:f75ac785fe284ace2d8ba3c333cdb3f0508c2249fe90254da7b3367bea5d595a
size 8353805

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b0559ba56fccc741957c1267cb2710de5feab971ee38085c1d93e2ea07063592
size 8354317

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:aacbfd32502533171a2de6acc7cccd8c2fb6946d04261228c50f01fb18eb6f1c
size 8474125

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:c1ac8d97fc874c1afac4f00e7071791cbc64ebded3e1ac81f82f15cfb996cc5c
size 8486925

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:4f413d468bd6fbb6cb2d7da98486c934ee750e5d81f35413f946b055a890ab45
size 8530957

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:bac3bf00fff8112f60c3f7591cc239303606b04c9bbbdd23a8427ab996bc891f
size 8530957

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:1d762345a19f00c179b70119062798416dfc876e32bb883bda1fd6de8084f29f
size 8571405

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:0dd98a670f21221ed4fc850395566b62da3a68f58d2a2e7f1db4087237f857e9
size 8648205

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:efb2d5690d289a2df7e28cf21446d34943eed673c3d816e7136afdda19a4bfb7
size 8656397

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:2b2dcaeba71f3030539d53fca2c5060968cec69f25ae1e8f41c702a391d91feb
size 11689485

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:7103e85a1841f467bc50bf580892835e10e194b7ec624a295a8fe04c7bb8a407
size 11716109

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:149389fc14d4bbfce6853bf863f885d38153495860b2f2a7974168e3f3f62d5a
size 11839501

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:48f9efc80d6b42b58f472d4fc92ffad6f1baa69c98aec7ff11777acde0806629
size 11979277

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:ab948a088dfb5a223df1f83034100310bddc7cc456b1778c7c626da852a89d01
size 12161549

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:2dff211449dbd8cb9552cb3a2d39a830758ef37ab8ea0cd4ef7587281a9078e3
size 12166669

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:67afb0eda06f87511e1a26c74113cf5ddbd76df3b0d85a22c06d870e726bb69f
size 12175373

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:95901bf9883612a92e659f6a2485e883c16eea6cdd3113e19d773083dbf39cd3
size 12197389

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:553d382a018044bc353e52530bc567cd8cdd798823c906cbdb6bf9c500395291
size 11897869

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:08530a44cbb3f9c5b86d360f1adaa652cdf59501dfd34132ead5c987c873cbbe
size 12205069

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:3174fba31def4e71db05c52e22d46c23baab86eccd526acc39c243d918f099bd
size 12227597

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:7ed946d6894f58ee70f227962f58fb5984721cc7df48d41b341fc5eee9a5a27b
size 12232205

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:31e06ae30355b1c40cccb46a5d7accb8ab0cf42baad12794766a239f6f59bf9c
size 12431373

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b29f046d0e2821d63d4bbe1aa7eae9f672df1249edc6372a46338e38b9af56fe
size 13344269

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b0693f121f0d899400e1e37661b04e2bbaf492bdc27c0153ed9a986bf8cd3b3e
size 13410317

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:5ffd025ba53d5193baa5658356604baeacbf58c766b4fc36204011ec57cb1bb2
size 13694477

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:75ac37cc0e4449c6a705112ef37c57fa4f043983e8370d493c9b17be77b40e17
size 13693965

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:95fcee510ce50dc973969f522e02b51d4abfb12c79649db40fadffb7427bcc89
size 13670413

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:17381967f51ae4c7b6f398041bb5b2d32afdbcea2d83fc139af5555bfb77a622
size 13679629

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:eb0c4efa368940b6503d3dfc47082733e0c503aa267c14b23968d9c8c78c7381
size 13755405

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:6459e9c2c0bcc1fceea02b330416ac4bf49244ced1746529592766ff41fc7564
size 13770253

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:8d9710c71b49a84b908f1909f02aee08e9e03adb300a2ffc5355c7c10ca2145c
size 13827597

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:29b535ff3e958f0466c3f6e2dc1b1111989b5b3affb737dfbed8fb8a2d36b062
size 13884429

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:e7916e47db5178ceab4ebd634d1196640a9ad214dc4ddf8ebe316312f8c40c17
size 13892621

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:f8ad7d9444ba509c973b85b2d8821bff586546f73bdaeb154494e25a2ff49795
size 13916173

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:18ff77cdbbb32d967b5cdddad370763e965cd67610fee0226ee6188d7714e1a9
size 14176269

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:ba85f2a441fe738226adb9e312d4a40b9650fcd874868c3a0946e48a353fa589
size 14278157

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:0c089991ad088e5613056c5d1c9eadca54393bc5222e08d318b1438da80ebdbf
size 14418445

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:60523ea4522e3ebbadbb0251971f15ee63f8dce00df95ce755d3499b299b5ac9
size 14298125

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b52c8e234ee74aca65eb07a45813a62623b65d993214eedc3c09e0e4ba7729c8
size 14311437

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:90c28f6c5a28cdf9d6f622eb1a0c7a6ba02e2d0d53aa3aa858d9053c56b465ec
size 14360589

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:8979b3480ff9274ea9a969bb6ec6fcbbbea875bb8664fc6071469e8b10516787
size 14361101

4576
terragrunt.changes Normal file

File diff suppressed because it is too large Load Diff

4
terragrunt.obsinfo Normal file
View File

@@ -0,0 +1,4 @@
name: terragrunt
version: 0.84.1
mtime: 1754075956
commit: 2a5b90df9f7386794756ed4dc071d40c7ee9bb5b

103
terragrunt.spec Normal file
View File

@@ -0,0 +1,103 @@
#
# spec file for package terragrunt
#
# Copyright (c) 2025 SUSE LLC and contributors
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: terragrunt
Version: 0.84.1
Release: 0
Summary: Thin wrapper for Terraform for working with multiple Terraform modules
License: MIT
URL: https://github.com/gruntwork-io/terragrunt
Source: terragrunt-%{version}.tar.gz
Source1: vendor.tar.gz
Source2: Makefile
Source3: PACKAGING_README.md
BuildRequires: bash-completion
BuildRequires: zsh
BuildRequires: golang(API) >= 1.24
%description
Terragrunt is a thin wrapper for Terraform that provides extra tools for
keeping your Terraform configurations DRY, working with multiple Terraform
modules, and managing remote state.
%package -n %{name}-bash-completion
Summary: Bash Completion for %{name}
Group: System/Shells
Requires: %{name} = %{version}
Requires: bash-completion
Supplements: (%{name} and bash-completion)
BuildArch: noarch
%description -n %{name}-bash-completion
Bash command line completion support for %{name}.
%package -n %{name}-zsh-completion
Summary: Zsh Completion for %{name}
Group: System/Shells
Requires: %{name} = %{version}
Requires: zsh
Supplements: (%{name} and zsh)
BuildArch: noarch
%description -n %{name}-zsh-completion
zsh command line completion support for %{name}.
%prep
%autosetup -p1 -a 1
%build
go build \
-mod=vendor \
-buildmode=pie \
-ldflags="-X github.com/gruntwork-io/go-commons/version.Version=v%{version}"
%install
# Install the binary.
install -D -m 0755 %{name} %{buildroot}/%{_bindir}/%{name}
# create the shell completion files
rm -f ~/.bashrc ~/.zshrc
touch ~/.bashrc ~/.zshrc
%{buildroot}/%{_bindir}/%{name} --install-autocomplete
sed -i 's#%{buildroot}##g' ~/.bashrc ~/.zshrc
# install the bash completion file
mkdir -p %{buildroot}%{_datarootdir}/bash-completion/completions/
install -m 0644 ~/.bashrc %{buildroot}%{_datarootdir}/bash-completion/completions/%{name}
# install the zsh completion file
mkdir -p %{buildroot}%{_datarootdir}/zsh/site-functions/
install -m 0644 ~/.zshrc %{buildroot}%{_datarootdir}/zsh/site-functions/_%{name}
%check
%{buildroot}/%{_bindir}/%{name} --version | grep v%{version}
%files
%doc README.md
%license LICENSE.txt
%{_bindir}/%{name}
%files -n %{name}-bash-completion
%{_datarootdir}/bash-completion/completions/%{name}
%files -n %{name}-zsh-completion
%{_datarootdir}/zsh/site-functions/_%{name}
%changelog

3
vendor.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:f22b3ca55dbfe6f568fbbd8f9ca08e2527aefcae4b7cf05ed60dae190c33335d
size 21862857