veilid/scripts/cicd/build machine/scp-to-orchestrator.sh
TC Johnson 06f344ebb4
Migrating CICD scripts to Veilid repo
Copied CICD scripts into the repository so that the community can make
contributions to the build system. Wrote a brief description of the
build and distribute process. Modified the CICD config to use the repo
hosted scripts. [ci skip]
2024-04-21 13:37:45 -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