%define debug_package %{nil} Name: flightctl Version: v0.1.0 Release: 5.20240822143218686241.main.27.ge5be7f1%{?dist} Summary: Flightctl CLI License: XXX URL: https://github.com/flightctl/flightctl Source0: flightctl-v0.1.0.tar.gz BuildRequires: golang BuildRequires: make BuildRequires: git BuildRequires: openssl-devel Requires: openssl %description Flightctl is a command line interface for managing edge device fleets. %package agent Summary: Flightctl Agent %description agent Flightctl Agent is a component of the flightctl tool. %prep %setup -q -n flightctl-v0.1.0 %build # if this is a buggy version of go we need to set GOPROXY as workaround # see https://github.com/golang/go/issues/61928 GOENVFILE=$(go env GOROOT)/go.env if [[ ! -f "{$GOENVFILE}" ]]; then export GOPROXY='https://proxy.golang.org,direct' fi make build %install mkdir -p %{buildroot}/usr/bin cp bin/flightctl %{buildroot}/usr/bin mkdir -p %{buildroot}/usr/lib/systemd/system mkdir -p %{buildroot}/%{_sharedstatedir}/flightctl mkdir -p %{buildroot}/usr/lib/greenboot/check/required.d install -m 0755 packaging/greenboot/flightctl-agent-running-check.sh %{buildroot}/usr/lib/greenboot/check/required.d/20_check_flightctl_agent.sh cp bin/flightctl-agent %{buildroot}/usr/bin cp packaging/must-gather/flightctl-must-gather %{buildroot}/usr/bin cp packaging/systemd/flightctl-agent.service %{buildroot}/usr/lib/systemd/system %files /usr/bin/flightctl %files agent /usr/bin/flightctl-agent /usr/bin/flightctl-must-gather /usr/lib/systemd/system/flightctl-agent.service %{_sharedstatedir}/flightctl /usr/lib/greenboot/check/required.d/20_check_flightctl_agent.sh %changelog * Thu Aug 22 2024 Packit - v0.1.0-5.20240822143218686241.main.27.ge5be7f1 - EDM-367: Increment renderedVersion on device console update (Avishay Traeger) - EDM-298: Write documentation for deployment with keycloak (#483) (Miguel Angel Ajo Pelayo) - EDM-366: Improve token request URL for OCP auth (rawagner) - EDM-359: Return Bad request in case user tries to appove already (#480) (Igal Tsoiref) - EDM-363: Add route support for keycloak and use baseDomain (#481) (Miguel Angel Ajo Pelayo) - EDM-364: agent: add flightctl-must-gather (#482) (Sam Batschelet) - EDM-362: Keycloak storageclass global fix (Miguel Angel Ajo Pelayo) - NO-ISSUE: Adding simulator test to pr (Igal Tsoiref) - NO-ISSUE: Fix simulator 1. Fixing simutalor configuration and pathes 2. Fixing small code issues 3. Adding auto approve for devices that were created by simulator 4. Adding an option to run simulator for given amount of time and exit (Igal Tsoiref) - EDM-361: agent: add version and debug metadata (Sam Batschelet) - EDM-322: CreateOrDelete can create deleted resources in a race (Avishay Traeger) - EDM-353: Allow skipping TLS validation or providing CA cert for auth (rawagner) - EDM-270: Fix localhost/flightctl-db:latest issue (Miguel Angel Ajo Pelayo) - EDM-287: 500 when trying to apply a device yaml without removing the creationTimestamp and resourceVersion (Ori Amizur) * Wed Aug 21 2024 Sam Batschelet - 0.0.1-5 - Add must-gather script to provide a simple mechanism to collect agent debug * Wed Aug 7 2024 Sam Batschelet - 0.0.1-4 - Add basic greenboot support for failed flightctl-agent service * Wed Mar 13 2024 Ricardo Noriega - 0.0.1-3 - New specfile for both CLI and agent packages