mirror of
https://github.com/empayre/fleet.git
synced 2024-11-06 08:55:24 +00:00
b5be858071
* Fix update checks for orbit at startup * Add tests * Add scripts for testing local TUF server * Remove -x used for debugging
14 lines
445 B
Bash
Executable File
14 lines
445 B
Bash
Executable File
#!/bin/bash
|
|
|
|
system=$1
|
|
target_name=$2
|
|
target_path=$3
|
|
major_version=$4
|
|
TUF_PATH=test_tuf
|
|
|
|
export FLEET_ROOT_PASSPHRASE=p4ssphr4s3
|
|
export FLEET_TARGETS_PASSPHRASE=p4ssphr4s3
|
|
export FLEET_SNAPSHOT_PASSPHRASE=p4ssphr4s3
|
|
export FLEET_TIMESTAMP_PASSPHRASE=p4ssphr4s3
|
|
|
|
./build/fleetctl updates add --path $TUF_PATH --target $target_path --platform $system --name $target_name --version $major_version.0.0 -t $major_version.0 -t $major_version -t stable |