Fix: tar sshpiper binary before pushing to salt master

This commit is contained in:
Russell Ballestrini 2025-12-21 08:53:11 -05:00
parent e38a2f77a7
commit a5663098d6

View file

@ -54,7 +54,7 @@ build_sshpiper:
# Push sshpiper binary to salt master via minionfs for distribution to minions
- echo "Pushing sshpiper binary to salt master via minionfs..."
- mkdir -p $HOME/sshpiper-dist
- cp $CI_PROJECT_DIR/sshpiperd $HOME/sshpiper-dist/
- tar -czvf $HOME/sshpiper-dist/sshpiper.tar.gz -C $CI_PROJECT_DIR sshpiperd
- echo "$(git rev-parse --short HEAD)" > $HOME/sshpiper-dist/commit-hash.txt
- ls -la $HOME/sshpiper-dist/
- sudo /opt/salt-call-put-artifacts-onto-salt-master.sh $HOME/sshpiper-dist