Skip to content

Preparing packaging for next version: v5.1.3-0.a1.0 #76

Preparing packaging for next version: v5.1.3-0.a1.0

Preparing packaging for next version: v5.1.3-0.a1.0 #76

Workflow file for this run

name: oneshot-build
on: push
jobs:
setup-containers:
strategy:
#fail-fast: true
matrix:
os: [ 'el9', 'u20' ]
runs-on: ubuntu-latest
container:
#image: ghcr.io/perfsonar/unibuild/${{ matrix.os }}:latest
options: --privileged
image: ghcr.io/perfsonar/docker-oneshot-builder/${{ matrix.os }}:latest
volumes:
- ${{ github.workspace }}:/build
steps:
- name: Check out Repo
uses: actions/checkout@v3
- name: install deps EL9
if: ${{ matrix.os == 'el9' }}
run: dnf -y install -y http://linux.mirrors.es.net/perfsonar/${{ matrix.os }}/x86_64/5/packages/perfsonar-repo-0.11-1.noarch.rpm
- name: install deps d10
if: ${{ matrix.os == 'd10' }}
run: export DEBIAN_FRONTEND=noninteractive && curl -s http://downloads.perfsonar.net/debian/perfsonar-minor-snapshot.gpg.key | apt-key add - && curl -s -o /etc/apt/sources.list.d/perfsonar-minor-snapshot.list http://downloads.perfsonar.net/debian/perfsonar-minor-snapshot.list && apt-get update && echo && echo
- name: install deps d12
if: ${{ matrix.os == 'd12' }}
run: export DEBIAN_FRONTEND=noninteractive && curl -s http://downloads.perfsonar.net/debian/perfsonar-minor-snapshot.gpg.key | apt-key add - && curl -s -o /etc/apt/sources.list.d/perfsonar-minor-snapshot.list http://downloads.perfsonar.net/debian/perfsonar-minor-snapshot.list && apt-get update && echo && echo
- name: install deps u20
if: ${{ matrix.os == 'u20' }}
run: export DEBIAN_FRONTEND=noninteractive && curl -s http://downloads.perfsonar.net/debian/perfsonar-minor-snapshot.gpg.key | apt-key add - && curl -s -o /etc/apt/sources.list.d/perfsonar-minor-snapshot.list http://downloads.perfsonar.net/debian/perfsonar-minor-snapshot.list && apt-get update && echo && echo
- name: build
run: make
- name: tar files
run: tar -cvf perfsonar_host_metrics.tar *
- name: Archive repo
uses: actions/upload-artifact@v3
with:
name: perfsonar_host_metrics-${{ matrix.os }}.tar
path: perfsonar_host_metrics.tar