Fix: tar sshpiper binary before pushing to salt master
This commit is contained in:
parent
e38a2f77a7
commit
a5663098d6
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue