mirror of
https://gitlab.com/veilid/veilid.git
synced 2025-03-02 11:19:16 -05:00

I thought CICD's working directory was in the project root but the release failed to find the scripts. I've changed the script executions to absolute paths. There's a directory is named for the runner's ID, is different on each machine, and changes if the runner is replaced. There's a variable that should overcome this, CI_RUNNER_ID, which I've used in the asbolute paths. Fingers crossed, let's try it again.
11 lines
338 B
Bash
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 |