Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
628dc32950 | ||
|
|
8f862681e6 |
@ -1 +0,0 @@
|
||||
1
|
||||
8
.gitignore
vendored
8
.gitignore
vendored
@ -1,6 +1,2 @@
|
||||
/go-fdo-client-0.0.2-vendor.tar.bz2
|
||||
/go-fdo-client-0.0.2.tar.gz
|
||||
/go-fdo-client-0.0.3-vendor.tar.bz2
|
||||
/go-fdo-client-0.0.3.tar.gz
|
||||
/go-fdo-client-1.0.0.tar.gz
|
||||
/go-fdo-client-1.0.0-vendor.tar.bz2
|
||||
go-fdo-client-1.0.0-vendor.tar.bz2
|
||||
go-fdo-client-1.0.0.tar.gz
|
||||
|
||||
165
.packit.yaml
165
.packit.yaml
@ -1,165 +0,0 @@
|
||||
---
|
||||
# https://packit.dev/docs/configuration/
|
||||
|
||||
# We want to generate packages with the original commit sha
|
||||
# https://packit.dev/docs/configuration#merge_pr_in_ci
|
||||
merge_pr_in_ci: false
|
||||
|
||||
files_to_sync:
|
||||
- src:
|
||||
- ".packit.yaml"
|
||||
- "build/package/rpm/go-fdo-client.spec"
|
||||
- "build/package/rpm/go-fdo-client-*-vendor.tar.bz2"
|
||||
dest: .
|
||||
|
||||
issue_repository: https://github.com/fido-device-onboard/go-fdo-client
|
||||
|
||||
upstream_package_name: go-fdo-client
|
||||
downstream_package_name: go-fdo-client
|
||||
|
||||
upstream_tag_template: v{version}
|
||||
copy_upstream_release_description: true
|
||||
|
||||
srpm_build_deps:
|
||||
- git
|
||||
- golang
|
||||
- go-vendor-tools
|
||||
- python3-tomlkit
|
||||
- askalono-cli
|
||||
- rpmdevtools
|
||||
|
||||
packages:
|
||||
go-fdo-client-fedora:
|
||||
downstream_package_name: go-fdo-client
|
||||
upstream_package_name: go-fdo-client
|
||||
specfile_path: build/package/rpm/go-fdo-client.spec
|
||||
go-fdo-client-centos:
|
||||
downstream_package_name: go-fdo-client
|
||||
upstream_package_name: go-fdo-client
|
||||
specfile_path: build/package/rpm/go-fdo-client.spec
|
||||
pkg_tool: centpkg
|
||||
|
||||
actions:
|
||||
post-modifications:
|
||||
# https://fedora.gitlab.io/sigs/go/go-vendor-tools/scenarios/#manual-update
|
||||
- |
|
||||
bash -xc '
|
||||
#! /bin/bash
|
||||
export GOTOOLCHAIN=auto
|
||||
export BASE_DIR=${PACKIT_UPSTREAM_REPO}/build/package/rpm
|
||||
export GO_VENDOR_TOOLS_CONFIG=${BASE_DIR}/go-vendor-tools.toml
|
||||
export SPEC_FILE=${BASE_DIR}/go-fdo-client.spec
|
||||
# Download the source tarball (Source0) needed by go_vendor_archive
|
||||
spectool -g -C ${BASE_DIR} ${SPEC_FILE}
|
||||
go_vendor_archive create --config ${GO_VENDOR_TOOLS_CONFIG} ${SPEC_FILE}
|
||||
go_vendor_license \
|
||||
--config ${GO_VENDOR_TOOLS_CONFIG} \
|
||||
--path ${SPEC_FILE} \
|
||||
report \
|
||||
--verify-spec
|
||||
if [ -n "${PACKIT_DOWNSTREAM_REPO}" ]; then
|
||||
cp "${BASE_DIR}/go-fdo-client-${PACKIT_PROJECT_VERSION}-vendor.tar.bz2" "${PACKIT_DOWNSTREAM_REPO}"
|
||||
fi
|
||||
'
|
||||
|
||||
jobs:
|
||||
# Fedora jobs
|
||||
|
||||
# We build and test Fedora 43 ('latest-stable'), Fedora 44 ('latest' when branched) and Fedora Rawhide
|
||||
# because they are the only ones officially released with golang >= 1.25.0
|
||||
- &copr_fedora
|
||||
job: copr_build
|
||||
packages: [go-fdo-client-fedora]
|
||||
trigger: pull_request
|
||||
targets: &copr_fedora_targets
|
||||
- "fedora-latest-stable-x86_64"
|
||||
- "fedora-latest-stable-aarch64"
|
||||
- "fedora-latest-x86_64"
|
||||
- "fedora-latest-aarch64"
|
||||
- "fedora-rawhide-x86_64"
|
||||
- "fedora-rawhide-aarch64"
|
||||
|
||||
# Build all versions in '@fedora-iot/copr' copr because it's possible to add golang >= 1.25.0
|
||||
# see: https://copr.fedorainfracloud.org/coprs/g/fedora-iot/fedora-iot/edit_chroot/fedora-42-x86_64/
|
||||
- <<: *copr_fedora
|
||||
trigger: commit
|
||||
branch: main
|
||||
owner: "@fedora-iot"
|
||||
project: fedora-iot
|
||||
targets:
|
||||
- "fedora-stable-x86_64"
|
||||
- "fedora-stable-aarch64"
|
||||
- "fedora-development-x86_64"
|
||||
- "fedora-development-aarch64"
|
||||
- "fedora-eln-x86_64"
|
||||
- "fedora-eln-aarch64"
|
||||
|
||||
# Only Fedora >= 43 have golang >= 1.25.0
|
||||
- job: propose_downstream
|
||||
trigger: release
|
||||
packages: [go-fdo-client-fedora]
|
||||
dist_git_branches: ["fedora-development", "fedora-latest-stable"]
|
||||
|
||||
- job: koji_build
|
||||
trigger: commit
|
||||
allowed_pr_authors:
|
||||
- packit
|
||||
- all_committers
|
||||
dist_git_branches: &fedora_dist_git_branches
|
||||
- "fedora-latest-stable"
|
||||
- "fedora-latest"
|
||||
- "fedora-rawhide"
|
||||
|
||||
- job: bodhi_update
|
||||
trigger: commit
|
||||
allowed_builders:
|
||||
- packit
|
||||
- all_committers
|
||||
dist_git_branches: *fedora_dist_git_branches
|
||||
|
||||
# Fedora E2E Testing jobs
|
||||
# We build and test Fedora 43 ('latest-stable'), Fedora 44 ('latest' when branched) and Fedora Rawhide
|
||||
# because they are the only ones officially released with golang >= 1.25.0
|
||||
- job: tests
|
||||
trigger: pull_request
|
||||
identifier: e2e-fedora
|
||||
tmt_plan: test/fmf/plans/e2e
|
||||
packages: [go-fdo-client-fedora]
|
||||
targets: *copr_fedora_targets
|
||||
|
||||
# CentOS jobs
|
||||
|
||||
- &copr_centos
|
||||
job: copr_build
|
||||
packages: [go-fdo-client-centos]
|
||||
trigger: pull_request
|
||||
targets: &copr_centos_targets
|
||||
- "centos-stream-9-x86_64"
|
||||
- "centos-stream-9-aarch64"
|
||||
- "centos-stream-10-x86_64"
|
||||
- "centos-stream-10-aarch64"
|
||||
|
||||
# Build also for epel-9 and epel-10 in '@fedora-iot/fedora-iot' copr
|
||||
- <<: *copr_centos
|
||||
trigger: commit
|
||||
branch: main
|
||||
owner: "@fedora-iot"
|
||||
project: fedora-iot
|
||||
targets:
|
||||
- "centos-stream-9-x86_64"
|
||||
- "centos-stream-9-aarch64"
|
||||
- "centos-stream-10-x86_64"
|
||||
- "centos-stream-10-aarch64"
|
||||
- "epel-9-x86"
|
||||
- "epel-9-aarch64"
|
||||
- "epel-10-x86"
|
||||
- "epel-10-aarch64"
|
||||
|
||||
# CentOS E2E Testing jobs
|
||||
#
|
||||
- job: tests
|
||||
trigger: pull_request
|
||||
identifier: e2e-centos
|
||||
tmt_plan: test/fmf/plans/e2e
|
||||
packages: [go-fdo-client-centos]
|
||||
targets: *copr_centos_targets
|
||||
@ -1,3 +0,0 @@
|
||||
This repository is maintained by packit.
|
||||
https://packit.dev/
|
||||
The file was generated using packit 1.13.0.
|
||||
@ -1,6 +0,0 @@
|
||||
--- !Policy
|
||||
product_versions:
|
||||
- rhel-10
|
||||
decision_context: osci_compose_gate
|
||||
rules:
|
||||
- !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional}
|
||||
Binary file not shown.
@ -1,3 +1,13 @@
|
||||
## START: Set by rpmautospec
|
||||
## (rpmautospec version 0.6.5)
|
||||
## RPMAUTOSPEC: autorelease, autochangelog
|
||||
%define autorelease(e:s:pb:n) %{?-p:0.}%{lua:
|
||||
release_number = 3;
|
||||
base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}"));
|
||||
print(release_number + base_release_number - 1);
|
||||
}%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}}
|
||||
## END: Set by rpmautospec
|
||||
|
||||
# Generated by go2rpm 1.18.0
|
||||
%bcond check 1
|
||||
|
||||
@ -61,4 +71,19 @@ install -m 0755 -vp %{gobuilddir}/bin/* %{buildroot}%{_bindir}/
|
||||
%{_bindir}/go-fdo-client
|
||||
|
||||
%changelog
|
||||
%autochangelog
|
||||
## START: Generated by rpmautospec
|
||||
* Wed Apr 29 2026 Antonio Murdaca <antoniomurdaca@gmail.com> - 1.0.0-3
|
||||
- Rebuild to fix CVE-2026-32283
|
||||
|
||||
* Thu Apr 02 2026 Antonio Murdaca <antoniomurdaca@gmail.com> - 1.0.0-2
|
||||
- Rebuild to fix CVE-2026-25679 and CVE-2026-27137
|
||||
|
||||
* Thu Feb 19 2026 Sarita Mahajan <sarmahaj@redhat.com> - 1.0.0-1
|
||||
- Update to 1.0.0 upstream release
|
||||
|
||||
* Mon Feb 02 2026 Paul Whalen <pwhalen@fedoraproject.org> - 0.0.3-2
|
||||
- Add gating test for cs10
|
||||
|
||||
* Mon Feb 02 2026 Paul Whalen <pwhalen@fedoraproject.org> - 0.0.3-1
|
||||
- Initial commit on c10s
|
||||
## END: Generated by rpmautospec
|
||||
|
||||
@ -1,4 +0,0 @@
|
||||
execute:
|
||||
how: tmt
|
||||
discover:
|
||||
how: fmf
|
||||
2
sources
2
sources
@ -1,2 +1,2 @@
|
||||
SHA512 (go-fdo-client-1.0.0.tar.gz) = bc62a31608121b7bec4cb919a4adc551b4d71c4f6483e287ab544bd77ec20d288620c190c6bd9764310d79a4cb3bdd0184e51c1a8d9b40e74091fd32b621622b
|
||||
SHA512 (go-fdo-client-1.0.0-vendor.tar.bz2) = acc95f2d39e0b66ea52385712f5b725e4e093d9a472d87db5bdfa97dc24bc8eb1ae8f4108e5c26aebd47d588ce7132225b6d5f4e6e2a6a90f0c09252d9a1bb5d
|
||||
SHA512 (go-fdo-client-1.0.0.tar.gz) = bc62a31608121b7bec4cb919a4adc551b4d71c4f6483e287ab544bd77ec20d288620c190c6bd9764310d79a4cb3bdd0184e51c1a8d9b40e74091fd32b621622b
|
||||
|
||||
@ -1,3 +0,0 @@
|
||||
test: /usr/bin/go-fdo-client --help
|
||||
require:
|
||||
- go-fdo-client
|
||||
Loading…
Reference in New Issue
Block a user