mirror of
https://github.com/empayre/fleet.git
synced 2024-11-06 17:05:18 +00:00
7839716b8d
* Prepare TUF scripts for CI and support different dev setups * Allow only generating selected platforms for pkgs * Force linux/amd64 on Dockerfile to support M1
11 lines
243 B
Bash
Executable File
11 lines
243 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -e
|
|
|
|
pkill file-server || true
|
|
echo "Running TUF server"
|
|
go run ./tools/file-server 8081 "${TUF_PATH}/repository" &
|
|
until curl --silent -o /dev/null http://localhost:8081/root.json; do
|
|
sleep 1
|
|
done
|
|
echo "TUF server started" |