Skip to content

Commit

Permalink
chore(ci/cd): improve build
Browse files Browse the repository at this point in the history
  • Loading branch information
markuslf committed Jan 25, 2025
1 parent 51b3c9e commit 78d42c2
Showing 1 changed file with 0 additions and 54 deletions.
54 changes: 0 additions & 54 deletions .github/workflows/lf-linux-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,32 +61,6 @@ jobs:


# Debian
test-debian10:
runs-on:
- 'rhel8'
- 'self-hosted'
needs:
- 'prepare'

steps:

- name: Harden Runner
uses: step-security/harden-runner@cb605e52c26070c328afc4562f0b4ada7618a84e # v2.10.4
with:
egress-policy: audit

- name: 'mkdir ${{ env.BASE_DIR }}/output/debian10'
run: 'mkdir ${{ env.BASE_DIR }}/output/debian10'

- name: 'Test on Debian 10'
run: |-
podman run --interactive --rm \
--mount type=bind,source=${{ env.BASE_DIR }}/output/debian10,destination=/output,relabel=private \
--mount type=bind,source=${{ env.BASE_DIR }}/repos,destination=/repos,relabel=shared,ro=true \
--mount type=bind,source=${{ env.BASE_DIR }}/monitoring-plugins-linux-packages/debian10,destination=/packages,relabel=shared,ro=true \
docker.io/library/debian:buster /bin/bash -x /repos/monitoring-plugins/testing/debian/run-all
test-debian11:
runs-on:
- 'rhel8'
Expand Down Expand Up @@ -193,32 +167,6 @@ jobs:
# Ubuntu
test-ubuntu1804:
runs-on:
- 'rhel8'
- 'self-hosted'
needs:
- 'prepare'

steps:

- name: Harden Runner
uses: step-security/harden-runner@cb605e52c26070c328afc4562f0b4ada7618a84e # v2.10.4
with:
egress-policy: audit

- name: 'mkdir ${{ env.BASE_DIR }}/output/ubuntu1804'
run: 'mkdir ${{ env.BASE_DIR }}/output/ubuntu1804'

- name: 'Test on Ubuntu 18.04'
run: |-
podman run --interactive --rm \
--mount type=bind,source=${{ env.BASE_DIR }}/output/ubuntu1804,destination=/output,relabel=private \
--mount type=bind,source=${{ env.BASE_DIR }}/repos,destination=/repos,relabel=shared,ro=true \
--mount type=bind,source=${{ env.BASE_DIR }}/monitoring-plugins-linux-packages/ubuntu1804,destination=/packages,relabel=shared,ro=true \
docker.io/library/ubuntu:18.04 /bin/bash -x /repos/monitoring-plugins/testing/ubuntu/run-all
test-ubuntu2004:
runs-on:
- 'rhel8'
Expand Down Expand Up @@ -304,12 +252,10 @@ jobs:
- 'rhel8'
- 'self-hosted'
needs: # we want this to run after the above jobs
- 'test-debian10'
- 'test-debian11'
- 'test-debian12'
- 'test-rocky8'
- 'test-rocky9'
- 'test-ubuntu1804'
- 'test-ubuntu2004'
- 'test-ubuntu2204'
- 'test-ubuntu2404'
Expand Down

0 comments on commit 78d42c2

Please sign in to comment.