mirror of
https://github.com/ClusterCockpit/cc-metric-collector.git
synced 2025-04-17 10:25:56 +02:00
Added step rpmbuild
This commit is contained in:
parent
7e51e58856
commit
0d2e44bad0
8
.github/workflows/AlmaLinux.yml
vendored
8
.github/workflows/AlmaLinux.yml
vendored
@ -12,7 +12,7 @@ jobs:
|
|||||||
# Job build-1-16
|
# Job build-1-16
|
||||||
# Build on AlmaLinux 8.5 using golang version 1.16
|
# Build on AlmaLinux 8.5 using golang version 1.16
|
||||||
#
|
#
|
||||||
build-1-16:
|
AlmaLinux-rpmbuild:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
container: almalinux:8.5
|
container: almalinux:8.5
|
||||||
steps:
|
steps:
|
||||||
@ -34,12 +34,8 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
go-version: '^1.16.7'
|
go-version: '^1.16.7'
|
||||||
|
|
||||||
# Install libganglia
|
|
||||||
- name: Setup Ganglia
|
|
||||||
run: sudo apt install ganglia-monitor libganglia1
|
|
||||||
|
|
||||||
- name: Build MetricCollector
|
- name: Build MetricCollector
|
||||||
run: make
|
run: rpmbuild -bb scripts/cc-metric-collector.spec
|
||||||
|
|
||||||
- name: Run MetricCollector once
|
- name: Run MetricCollector once
|
||||||
run: ./cc-metric-collector --once --config .github/ci-config.json
|
run: ./cc-metric-collector --once --config .github/ci-config.json
|
||||||
|
Loading…
x
Reference in New Issue
Block a user