linux-config/.gitlab-ci.yml

35 lines
797 B
YAML

---
stages:
- dnf_systems
- apt_systems
Run Workstation playbook on fedora:
stage: dnf_systems
image: fedora:latest
script:
- dnf install -y ansible python3-pip
- pip3 install -r ci-requirements.txt
- mkdir /tmp/artifacts
- ./play_workstation.sh
- cp /tmp/artifacts/workstation-*.xml report.xml
- ls /tmp/artifacts
artifacts:
when: always
reports:
junit: report.xml
Run Workstation playbook on ubuntu:
stage: apt_systems
image: ubuntu:latest
script:
- apt-get update
- apt-get install -y ansible python3-pip python3-apt
- pip3 install -r ci-requirements.txt
- mkdir /tmp/artifacts
- ./play_workstation.sh
- mv /tmp/artifacts/workstation-*.xml report.xml
- ls /tmp/artifacts
artifacts:
when: always
reports:
junit: report.xml