Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b660ee9d80 | ||
|
|
75eb9daa29 |
@ -1 +0,0 @@
|
||||
1
|
||||
8
.gitignore
vendored
8
.gitignore
vendored
@ -1,6 +1,2 @@
|
||||
/go-fdo-server-0.0.4-vendor.tar.bz2
|
||||
/go-fdo-server-0.0.4.tar.gz
|
||||
/go-fdo-server-1.0.0.tar.gz
|
||||
/go-fdo-server-1.0.0-vendor.tar.bz2
|
||||
/go-fdo-server-1.0.1.tar.gz
|
||||
/go-fdo-server-1.0.1-vendor.tar.bz2
|
||||
go-fdo-server-1.0.1-vendor.tar.bz2
|
||||
go-fdo-server-1.0.1.tar.gz
|
||||
|
||||
185
.packit.yaml
185
.packit.yaml
@ -1,185 +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-server.spec"
|
||||
- "build/package/rpm/go-fdo-server-group.conf"
|
||||
- "build/package/rpm/go-fdo-server-*-user.conf"
|
||||
- "build/package/rpm/go-fdo-server-*-vendor.tar.bz2"
|
||||
dest: .
|
||||
|
||||
issue_repository: https://github.com/fido-device-onboard/go-fdo-server
|
||||
|
||||
upstream_package_name: go-fdo-server
|
||||
downstream_package_name: go-fdo-server
|
||||
|
||||
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-server-fedora:
|
||||
downstream_package_name: go-fdo-server
|
||||
upstream_package_name: go-fdo-server
|
||||
specfile_path: build/package/rpm/go-fdo-server.spec
|
||||
go-fdo-server-centos:
|
||||
downstream_package_name: go-fdo-server
|
||||
upstream_package_name: go-fdo-server
|
||||
specfile_path: build/package/rpm/go-fdo-server.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-server.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-server-${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-server-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
|
||||
# https://packit.dev/docs/configuration/upstream/propose_downstream
|
||||
- job: propose_downstream
|
||||
trigger: release
|
||||
packages: [go-fdo-server-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: rpm-e2e-fedora
|
||||
tmt_plan: test/fmf/plans/rpm-e2e
|
||||
packages: [go-fdo-server-fedora]
|
||||
targets: *copr_fedora_targets
|
||||
|
||||
- job: tests
|
||||
trigger: pull_request
|
||||
identifier: bootc-e2e-fedora
|
||||
tmt_plan: test/fmf/plans/bootc-e2e
|
||||
packages: [go-fdo-server-fedora]
|
||||
targets: # Temporarily disabling rawhide due to bug https://issues.redhat.com/browse/HMS-9867
|
||||
- "fedora-latest-stable-x86_64"
|
||||
- "fedora-latest-stable-aarch64"
|
||||
|
||||
# CentOS jobs
|
||||
|
||||
- &copr_centos
|
||||
job: copr_build
|
||||
packages: [go-fdo-server-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"
|
||||
|
||||
# https://packit.dev/docs/configuration/upstream/propose_downstream#syncing-the-release-to-centos-stream
|
||||
- job: propose_downstream
|
||||
trigger: release
|
||||
packages: [go-fdo-server-centos]
|
||||
dist_git_branches:
|
||||
- "c10s"
|
||||
|
||||
# CentOS E2E Testing jobs
|
||||
#
|
||||
- job: tests
|
||||
trigger: pull_request
|
||||
identifier: rpm-e2e-centos
|
||||
tmt_plan: test/fmf/plans/rpm-e2e
|
||||
packages: [go-fdo-server-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.16.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}
|
||||
@ -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 = 1;
|
||||
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
|
||||
|
||||
@ -195,4 +205,23 @@ necessary credentials and configuration for operation.
|
||||
%systemd_postun_with_restart go-fdo-server-owner.service
|
||||
|
||||
%changelog
|
||||
%autochangelog
|
||||
## START: Generated by rpmautospec
|
||||
* Tue May 05 2026 Antonio Murdaca <antoniomurdaca@gmail.com> - 1.0.1-1
|
||||
- Update to 1.0.1 upstream release
|
||||
- Resolves: RHEL-165475
|
||||
|
||||
* 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
|
||||
|
||||
* Tue Feb 17 2026 Antonio Murdaca <antoniomurdaca@gmail.com> - 1.0.0-1
|
||||
- Update to 1.0.0 upstream release
|
||||
|
||||
* Tue Jan 27 2026 Paul Whalen <pwhalen@fedoraproject.org> - 0.0.4-2
|
||||
- Add gating test for cs10
|
||||
|
||||
* Tue Jan 20 2026 Paul Whalen <pwhalen@fedoraproject.org> - 0.0.4-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-server-1.0.1.tar.gz) = 0e13ae97f0bc4ab681b13db75f47c06da56109b31eb954833bd5b0de6aef7e5dbb909c3cee0641ac0f5b999e16117049ce835f789f92ea2d324b5fbd6612b046
|
||||
SHA512 (go-fdo-server-1.0.1-vendor.tar.bz2) = 84ebbc249f899e55667ceb183e9d94b7588125fbdedb2e83c94b059625d3fe3075ff9045f5b6cfec4a94dd30e512fe484685cf05c85e1f5f3ab5ec4de4209923
|
||||
SHA512 (go-fdo-server-1.0.1.tar.gz) = 0e13ae97f0bc4ab681b13db75f47c06da56109b31eb954833bd5b0de6aef7e5dbb909c3cee0641ac0f5b999e16117049ce835f789f92ea2d324b5fbd6612b046
|
||||
|
||||
@ -1,3 +0,0 @@
|
||||
test: /usr/bin/go-fdo-server --help
|
||||
require:
|
||||
- go-fdo-server
|
||||
Loading…
Reference in New Issue
Block a user