mirror of
https://github.com/empayre/fleet.git
synced 2024-11-07 01:15:22 +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
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 |