Skip to content

Commit

Permalink
add aws files into package so they get installed
Browse files Browse the repository at this point in the history
Signed-off-by: Jordi Massaguer Pla <[email protected]>
  • Loading branch information
jordimassaguerpla authored and Danny Sauer committed Feb 20, 2020
1 parent e953956 commit 74ee50f
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions ci/packaging/suse/skuba_spec_template
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,16 @@ for file in ci/infra/bare-metal/*.*; do
install -p -m 0644 $file %{buildroot}/%{_datadir}/caasp/autoyast/bare-metal
done

# Copy aws terraform templates
install -d -m 0755 %{buildroot}/%{_datadir}/caasp/terraform/aws
install -d -m 0755 ci/infra/aws/cloud-init %{buildroot}/%{_datadir}/caasp/terraform/aws/cloud-init
for file in ci/infra/aws/*.*; do
install -p -m 0644 $file %{buildroot}/%{_datadir}/caasp/terraform/aws/
done
for file in ci/infra/aws/cloud-init/*.*; do
install -p -m 0644 $file %{buildroot}/%{_datadir}/caasp/terraform/aws/cloud-init
done

cd $HOME/go/bin
install -D -m 0755 skuba %{buildroot}/%{_bindir}/skuba
install -D -m 0755 kubectl-caasp %{buildroot}/%{_bindir}/kubectl-caasp
Expand Down Expand Up @@ -192,5 +202,7 @@ ln -sf service %{buildroot}%{_sbindir}/rcskuba-update
%{_datadir}/caasp/terraform/vmware/cloud-init
%{_datadir}/caasp/autoyast
%{_datadir}/caasp/autoyast/bare-metal
%{_datadir}/caasp/terraform/aws
%{_datadir}/caasp/terraform/aws/cloud-init

%changelog

0 comments on commit 74ee50f

Please sign in to comment.