mirror of
https://gitlab.com/sagidayan/linux-config.git
synced 2024-12-22 22:19:52 +00:00
35 lines
803 B
YAML
35 lines
803 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
|
|
- bash 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
|
|
- bash play_workstation.sh
|
|
- mv /tmp/artifacts/workstation-*.xml report.xml
|
|
- ls /tmp/artifacts
|
|
artifacts:
|
|
when: always
|
|
reports:
|
|
junit: report.xml
|