update 0.68.4
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement:terraform/terragrunt?expand=0&rev=345
This commit is contained in:
commit
1d5cfc83e5
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal 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
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
.osc
|
36
Makefile
Normal file
36
Makefile
Normal 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 github.com/vektra/mockery/v2@v2.43.0 && \
|
||||
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
14
PACKAGING_README.md
Normal 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
19
_service
Normal 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.68.4</param>
|
||||
<param name="versionformat">@PARENT_TAG@</param>
|
||||
<param name="changesgenerate">enable</param>
|
||||
<param name="versionrewrite-pattern">v(.*)</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
4
_servicedata
Normal file
@ -0,0 +1,4 @@
|
||||
<servicedata>
|
||||
<service name="tar_scm">
|
||||
<param name="url">https://github.com/gruntwork-io/terragrunt</param>
|
||||
<param name="changesrevision">0604b6687a47bd33f2326c2e5c9c6ab61c6788d4</param></service></servicedata>
|
3
terragrunt-0.62.1.obscpio
Normal file
3
terragrunt-0.62.1.obscpio
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:0f318e6e4a67422e821a008da8792363c0e6a552ad2f8df1d4a14ac70946ec78
|
||||
size 7724557
|
3
terragrunt-0.62.3.obscpio
Normal file
3
terragrunt-0.62.3.obscpio
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:5016e3e8aea8baf77ec0903f0db4729f940c3d018bf3847ad5c58c7cfb0ea0e5
|
||||
size 7726093
|
3
terragrunt-0.63.2.obscpio
Normal file
3
terragrunt-0.63.2.obscpio
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:b902eda3a2e0fcac846073b3a6005b1b7c62e6480c86edb45e3a9d1bb7c9174e
|
||||
size 7726605
|
3
terragrunt-0.63.6.obscpio
Normal file
3
terragrunt-0.63.6.obscpio
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:09bdcc57b1d3ec97fd5f8ec6b243054f1b3177bcfa1697e9d8775527d8da36f0
|
||||
size 7757325
|
3
terragrunt-0.64.0.obscpio
Normal file
3
terragrunt-0.64.0.obscpio
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:c4d069dddfc7bf60f716fa2a7ed550334d66fa1bb1726bf82617ee07bb68b127
|
||||
size 7762445
|
3
terragrunt-0.64.1.obscpio
Normal file
3
terragrunt-0.64.1.obscpio
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:d5e258c7529794a721942c8722826147a198d1cbc8e8b69223bd5d3bfd97e810
|
||||
size 7766029
|
3
terragrunt-0.64.2.obscpio
Normal file
3
terragrunt-0.64.2.obscpio
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:14d5396a9d7df3875b9bd43df50a09a27fa471d2eabb955cff6bda41f35e1e52
|
||||
size 7772685
|
3
terragrunt-0.66.1.obscpio
Normal file
3
terragrunt-0.66.1.obscpio
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:beef1cf5218bcc979f64d154942d2e8e36830753bcd6fc07a0e1d2e07f008438
|
||||
size 7795213
|
3
terragrunt-0.66.3.obscpio
Normal file
3
terragrunt-0.66.3.obscpio
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:cac9eaa784ae0a9136ba330a210591ea8faa086c454488b78c6b23b3dd29e33d
|
||||
size 7805453
|
3
terragrunt-0.66.4.obscpio
Normal file
3
terragrunt-0.66.4.obscpio
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:3b971957a27e36cfd5aa83e85c726850a69c8d862666e50d490293b1ea926494
|
||||
size 7818253
|
3
terragrunt-0.66.5.obscpio
Normal file
3
terragrunt-0.66.5.obscpio
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:a3542c5686f7b624a5d0ac828be5c819e6b319a02de67d2cd9e1c450b1b79171
|
||||
size 7815693
|
3
terragrunt-0.66.9.obscpio
Normal file
3
terragrunt-0.66.9.obscpio
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:f8e7e05872f885ea56f0b197e4dd7f0359bb089f2b95b4add5ef5478af1f43bc
|
||||
size 7841805
|
3
terragrunt-0.67.10.obscpio
Normal file
3
terragrunt-0.67.10.obscpio
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:25bb062bab1287918d9ed62b49ae6ff64e0cbb1e4ece3788166e484b74245240
|
||||
size 7954445
|
3
terragrunt-0.67.15.obscpio
Normal file
3
terragrunt-0.67.15.obscpio
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:231e7c4b8f0920af8a621b698438201f491566721084ecb8edbc69b3e0baf36d
|
||||
size 7992333
|
3
terragrunt-0.67.16.obscpio
Normal file
3
terragrunt-0.67.16.obscpio
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:fb65790e4e61555e029faaf39836660fd127e9d6074537907bdc149363f4e253
|
||||
size 7993357
|
3
terragrunt-0.67.4.obscpio
Normal file
3
terragrunt-0.67.4.obscpio
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:9ba86ea0f6849fa4565836bd352dd236ab9b743e50c9866f46e1adbd72992bbb
|
||||
size 7891469
|
3
terragrunt-0.68.2.obscpio
Normal file
3
terragrunt-0.68.2.obscpio
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:e8c570f7b626635c7b66399a77ad1b0383b7f5ee6c3fc064aee1674be32cc448
|
||||
size 8010253
|
3
terragrunt-0.68.4.obscpio
Normal file
3
terragrunt-0.68.4.obscpio
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:475bb293cb530f5e1683ba8aad22cad58fb0d83876146f5b30b796cf79d778a5
|
||||
size 8030733
|
1959
terragrunt.changes
Normal file
1959
terragrunt.changes
Normal file
File diff suppressed because it is too large
Load Diff
4
terragrunt.obsinfo
Normal file
4
terragrunt.obsinfo
Normal file
@ -0,0 +1,4 @@
|
||||
name: terragrunt
|
||||
version: 0.68.4
|
||||
mtime: 1729171926
|
||||
commit: 0604b6687a47bd33f2326c2e5c9c6ab61c6788d4
|
56
terragrunt.spec
Normal file
56
terragrunt.spec
Normal file
@ -0,0 +1,56 @@
|
||||
#
|
||||
# spec file for package terragrunt
|
||||
#
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
#
|
||||
# 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/
|
||||
#
|
||||
|
||||
|
||||
%define __arch_install_post export NO_BRP_STRIP_DEBUG=true
|
||||
|
||||
Name: terragrunt
|
||||
Version: 0.68.4
|
||||
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: go1.23
|
||||
|
||||
%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.
|
||||
|
||||
%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}"
|
||||
|
||||
%files
|
||||
%doc README.md
|
||||
%license LICENSE.txt
|
||||
%{_bindir}/%{name}
|
||||
|
||||
%changelog
|
3
vendor.tar.gz
Normal file
3
vendor.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:8e7087aa6f254d6c8aa544d4510c751c1cf7d143ce25645a5d91c75c2238aebd
|
||||
size 19975126
|
Loading…
Reference in New Issue
Block a user