mirror of
https://gitlab.com/sagidayan/linux-config.git
synced 2024-12-23 06:29:53 +00:00
Compare commits
No commits in common. "061cca81b53be8e20ea633ee2202eb7aeb83e4a6" and "6876d843402bf7a197d1cb7897498cf6780db901" have entirely different histories.
061cca81b5
...
6876d84340
22 changed files with 5 additions and 40 deletions
|
@ -5,12 +5,12 @@ stages:
|
||||||
|
|
||||||
Run Workstation playbook on fedora:
|
Run Workstation playbook on fedora:
|
||||||
stage: dnf_systems
|
stage: dnf_systems
|
||||||
image: fedora:latest
|
image: fedora
|
||||||
script:
|
script:
|
||||||
- dnf install -y ansible python3-pip
|
- dnf install -y ansible python3-pip
|
||||||
- pip3 install -r ci-requirements.txt
|
- pip3 install -r ci-requirements.txt
|
||||||
- mkdir /tmp/artifacts
|
- mkdir /tmp/artifacts
|
||||||
- bash play_workstation.sh
|
- ANSIBLE_CONFIG=$(pwd)/ansible.cfg JUNIT_OUTPUT_DIR=/tmp/artifacts ansible-playbook workstation.yml || (mv /tmp/artifacts/workstation-*.xml report.xml && exit 1)
|
||||||
- cp /tmp/artifacts/workstation-*.xml report.xml
|
- cp /tmp/artifacts/workstation-*.xml report.xml
|
||||||
- ls /tmp/artifacts
|
- ls /tmp/artifacts
|
||||||
artifacts:
|
artifacts:
|
||||||
|
@ -20,13 +20,13 @@ Run Workstation playbook on fedora:
|
||||||
|
|
||||||
Run Workstation playbook on ubuntu:
|
Run Workstation playbook on ubuntu:
|
||||||
stage: apt_systems
|
stage: apt_systems
|
||||||
image: ubuntu:latest
|
image: ubuntu
|
||||||
script:
|
script:
|
||||||
- apt-get update
|
- apt-get update
|
||||||
- apt-get install -y ansible python3-pip python3-apt
|
- apt-get install -y ansible python3-pip python3-apt
|
||||||
- pip3 install -r ci-requirements.txt
|
- pip3 install -r ci-requirements.txt
|
||||||
- mkdir /tmp/artifacts
|
- mkdir /tmp/artifacts
|
||||||
- bash play_workstation.sh
|
- ANSIBLE_CONFIG=$(pwd)/ansible.cfg JUNIT_OUTPUT_DIR=/tmp/artifacts ansible-playbook workstation.yml || (mv /tmp/artifacts/workstation-*.xml report.xml && exit 1)
|
||||||
- mv /tmp/artifacts/workstation-*.xml report.xml
|
- mv /tmp/artifacts/workstation-*.xml report.xml
|
||||||
- ls /tmp/artifacts
|
- ls /tmp/artifacts
|
||||||
artifacts:
|
artifacts:
|
||||||
|
|
|
@ -1,5 +0,0 @@
|
||||||
# Install Dependencies
|
|
||||||
ansible-galaxy collection install community.general
|
|
||||||
|
|
||||||
# Run Playbook
|
|
||||||
ANSIBLE_CONFIG=$(pwd)/ansible.cfg JUNIT_OUTPUT_DIR=/tmp/artifacts ansible-playbook playbooks/workstation.yml || (mv /tmp/artifacts/workstation-*.xml report.xml && exit 1)
|
|
|
@ -1,22 +0,0 @@
|
||||||
---
|
|
||||||
- name: Add the flathub flatpak repository remote
|
|
||||||
community.general.flatpak_remote:
|
|
||||||
name: flathub
|
|
||||||
state: present
|
|
||||||
flatpakrepo_url: https://dl.flathub.org/repo/flathub.flatpakrepo
|
|
||||||
|
|
||||||
- name: Install multiple packages
|
|
||||||
community.general.flatpak:
|
|
||||||
name:
|
|
||||||
- org.gimp.GIMP
|
|
||||||
- org.telegram.desktop
|
|
||||||
- net.christianbeier.Gromit-MPX
|
|
||||||
- md.obsidian.Obsidian
|
|
||||||
- com.bitwarden.desktop
|
|
||||||
- com.github.tchx84.Flatseal
|
|
||||||
- com.github.alexr4535.siglo
|
|
||||||
- com.nextcloud.desktopclient.nextcloud
|
|
||||||
- com.github.unrud.VideoDownloader
|
|
||||||
- fyi.zoey.Boop-GTK
|
|
||||||
- nl.hjdskes.gcolor3
|
|
||||||
state: present
|
|
|
@ -6,16 +6,9 @@
|
||||||
- bat
|
- bat
|
||||||
- wget
|
- wget
|
||||||
- git
|
- git
|
||||||
- flatpak
|
# - podman
|
||||||
state: present
|
state: present
|
||||||
|
|
||||||
- name: Some more packages (RedHat based)
|
|
||||||
become: true
|
|
||||||
package:
|
|
||||||
name:
|
|
||||||
- podman
|
|
||||||
when: ansible_facts['os_family'] == "RedHat"
|
|
||||||
|
|
||||||
- name: Copy gitconfig base
|
- name: Copy gitconfig base
|
||||||
copy:
|
copy:
|
||||||
src: dotfiles/gitconfig
|
src: dotfiles/gitconfig
|
|
@ -9,4 +9,3 @@
|
||||||
- vim_user
|
- vim_user
|
||||||
- alacritty_user
|
- alacritty_user
|
||||||
- lsd_user
|
- lsd_user
|
||||||
- flatpaks
|
|
Loading…
Reference in a new issue