First spec and workflows
Build and provide rpm of python-azure-monitor-ingestion / rpmbuild (release) Successful in 1m6s

This commit is contained in:
2025-03-24 00:08:00 +01:00
parent 869df6e231
commit c41a14feac
8 changed files with 142 additions and 2 deletions
+25
View File
@@ -0,0 +1,25 @@
name: Build and provide rpm of python-azure-monitor-ingestion
run-name: Rpmbuild python-azure-monitor-ingestion at ${{ gitea.repository }} by ${{ github.actor }}
on:
workflow_dispatch:
inputs:
runsonlabel:
type: choice
description: "Choose a label"
required: true
options:
- "f40-minimal-rpmbuild"
- "f41-minimal-rpmbuild"
- "f42-minimal-rpmbuild"
jobs:
rpmbuild:
runs-on: ${{ inputs.runsonlabel }}
steps:
- name: Check out repository code
uses: https://git.demus.dk/actions/git-clone@main
- name: Build the rpms
uses: https://git.demus.dk/actions/rpmbuild@main
- name: Deploy to packages
uses: https://git.demus.dk/actions/rpm-deploy@main
with:
pat: ${{ secrets.RPM_REPO_WRITE }}
+15
View File
@@ -0,0 +1,15 @@
name: Build and provide rpm of python-azure-monitor-ingestion
run-name: Rpmbuild python-azure-monitor-ingestion by @${{ github.actor }}
on: [ release ]
jobs:
rpmbuild:
runs-on: f41-minimal-rpmbuild
steps:
- name: Check out repository code
uses: https://git.demus.dk/actions/git-clone@main
- name: Build the rpms
uses: https://git.demus.dk/actions/rpmbuild@main
- name: Deploy to packages
uses: https://git.demus.dk/actions/rpm-deploy@main
with:
pat: ${{ secrets.RPM_REPO_WRITE }}
+15
View File
@@ -0,0 +1,15 @@
name: Build and provide rpm of python-azure-monitor-ingestion
run-name: Rpmbuild python-azure-monitor-ingestion by @${{ github.actor }}
on: [ release ]
jobs:
rpmbuild:
runs-on: f42-minimal-rpmbuild
steps:
- name: Check out repository code
uses: https://git.demus.dk/actions/git-clone@main
- name: Build the rpms
uses: https://git.demus.dk/actions/rpmbuild@main
- name: Deploy to packages
uses: https://git.demus.dk/actions/rpm-deploy@main
with:
pat: ${{ secrets.RPM_REPO_WRITE }}
@@ -0,0 +1,15 @@
name: Build and provide rpm of python-azure-monitor-ingestion
run-name: Rpmbuild python-azure-monitor-ingestion by @${{ github.actor }}
on: [ release ]
jobs:
rpmbuild:
runs-on: rawhide-minimal-rpmbuild
steps:
- name: Check out repository code
uses: https://git.demus.dk/actions/git-clone@main
- name: Build the rpms
uses: https://git.demus.dk/actions/rpmbuild@main
- name: Deploy to packages
uses: https://git.demus.dk/actions/rpm-deploy@main
with:
pat: ${{ secrets.RPM_REPO_WRITE }}
-1
View File
@@ -45,7 +45,6 @@ MANIFEST
# Usually these files are written by a python script from a template
# before PyInstaller builds the exe, so as to inject date/other infos into it.
*.manifest
*.spec
# Installer logs
pip-log.txt
+6 -1
View File
@@ -1,2 +1,7 @@
# python3-rpm-template
# Azure Monitor Ingestion client library for Python
The Azure Monitor Ingestion client library is used to send custom logs to [Azure Monitor](https://learn.microsoft.com/azure/azure-monitor/) using the [Logs Ingestion API](https://learn.microsoft.com/azure/azure-monitor/logs/logs-ingestion-api-overview).
This library allows you to send data from virtually any source to supported built-in tables or to custom tables that you create in Log Analytics workspace. You can even extend the schema of built-in tables with custom columns.
See https://github.com/Azure/azure-sdk-for-python/blob/main/sdk/monitor/azure-monitor-ingestion/
+11
View File
@@ -0,0 +1,11 @@
archful = false
archive_name = "azure-monitor-ingestion-1.0.4.tar.gz"
extras = []
license = "MIT"
license_files_present = true
pypi_name = "azure-monitor-ingestion"
pypi_version = "1.0.4"
python_name = "python-azure-monitor-ingestion"
source = "PyPI"
summary = "Microsoft Azure Monitor Ingestion Client Library for Python"
url = "https://github.com/Azure/azure-sdk-for-python"
+55
View File
@@ -0,0 +1,55 @@
Name: python-azure-monitor-ingestion
Version: 1.0.4
Release: %autorelease
# Fill in the actual package summary to submit package to Fedora
Summary: Microsoft Azure Monitor Ingestion Client Library for Python
# Check if the automatically generated License and its spelling is correct for Fedora
# https://docs.fedoraproject.org/en-US/packaging-guidelines/LicensingGuidelines/
License: MIT
URL: https://github.com/Azure/azure-sdk-for-python
Source: %{pypi_source azure-monitor-ingestion}
BuildArch: noarch
BuildRequires: python3-devel
# Fill in the actual package description to submit package to Fedora
%global _description %{expand:
This is package 'azure-monitor-ingestion' generated automatically by pyp2spec.}
%description %_description
%package -n python3-azure-monitor-ingestion
Summary: %{summary}
%description -n python3-azure-monitor-ingestion %_description
%prep
%autosetup -p1 -n azure-monitor-ingestion-%{version}
%generate_buildrequires
%pyproject_buildrequires
%build
%pyproject_wheel
%install
%pyproject_install
# Add top-level Python module names here as arguments, you can use globs
%pyproject_save_files -l azure
%check
%pyproject_check_import
%files -n python3-azure-monitor-ingestion -f %{pyproject_files}
%changelog
%autochangelog