Ship sshpiper binary to salt master via minionfs

This commit is contained in:
Russell Ballestrini 2025-12-21 08:50:39 -05:00
parent 6502e6c8ea
commit e38a2f77a7

View file

@ -51,6 +51,14 @@ build_sshpiper:
fi
- echo "sshpiper built successfully."
- ./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:
paths:
- sshpiperd