Ship sshpiper binary to salt master via minionfs
This commit is contained in:
parent
6502e6c8ea
commit
e38a2f77a7
1 changed files with 8 additions and 0 deletions
|
|
@ -51,6 +51,14 @@ build_sshpiper:
|
||||||
fi
|
fi
|
||||||
- echo "sshpiper built successfully."
|
- echo "sshpiper built successfully."
|
||||||
- ./sshpiperd --help | head -20
|
- ./sshpiperd --help | head -20
|
||||||
|
# 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/
|
||||||
|
- 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
|
||||||
|
- echo "sshpiper binary pushed to salt master via minionfs"
|
||||||
artifacts:
|
artifacts:
|
||||||
paths:
|
paths:
|
||||||
- sshpiperd
|
- sshpiperd
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue