veilid/scripts/cicd/build-machine/scp-amd64-debs-to-orchestrator.sh
TC Johnson 4d9787fb86
Fixes scp from build machines to orchestrator
Each machine needed a script this specified that machine's arch
and OS type. Also added a rule on the cache and test jobs to not
run if the dry run trigger is present. [ci dryrun]
2024-04-29 17:07:40 -05:00

11 lines
338 B
Bash

#!/bin/bash
mkdir workspace
cd workspace
# if a new GitLab runner is created, the identifier below that follows build/ will be invalid
# it might be available as a runner variable but IDK
cp ~/builds/t338Uo9fn/0/veilid/veilid/target/packages/*.deb .
tar -cf amd64-debs.tar *.deb
scp *.tar gitlab-runner@10.116.0.5:~
cd ~
rm -rf workspace