Add CI

master
Rasmus Rosengren 3 years ago
parent bdef040c31
commit 6d9c924764
Signed by: rsrp
GPG Key ID: A13BC7BC4F81CF5F
  1. 3
      .ansible-lint
  2. 21
      .drone.yml
  3. 1
      roles/disksetup/efi_gpt_btrfs/partitioning/defaults/main.yml
  4. 1
      roles/disksetup/efi_gpt_luks_btrfs/partitioning/defaults/main.yml
  5. 1
      roles/display_manager/lightdm/tasks/main.yml
  6. 1
      roles/display_server/xorg/tasks/main.yml
  7. 1
      roles/window_manager/i3/tasks/main.yml

@ -0,0 +1,3 @@
---
skip_list:
- yaml

@ -0,0 +1,21 @@
---
kind: pipeline
type: docker
name: Lint
steps:
- name: yamllint
image: cytopia/yamllint
commands:
- yamllint .
- name: ansible-playbook syntax check
image: cytopia/ansible
commands:
- ansible-galaxy install -r requirements.yml
- ansible-playbook main.yml --syntax-check
- name: ansible-lint
image: cytopia/ansible-lint
commands:
- ansible-lint main.yml

@ -19,6 +19,7 @@ partitioning_priv_esp_size: "{{ 512 * 1024 * 1024 }}"
# +-- @home (to be mmounted at /home) # +-- @home (to be mmounted at /home)
# +-- ... # +-- ...
# #
# yamllint disable-line rule:line-length
partitioning_priv_btrfs_subvolumes: "{{ partitioning_priv_core_btrfs_subvolumes + partitioning_priv_extra_btrfs_subvolumes }}" partitioning_priv_btrfs_subvolumes: "{{ partitioning_priv_core_btrfs_subvolumes + partitioning_priv_extra_btrfs_subvolumes }}"
# These subvolumes should always be present. DO NOT OVERRIDE. # These subvolumes should always be present. DO NOT OVERRIDE.

@ -19,6 +19,7 @@ partitioning_priv_esp_size: "{{ 512 * 1024 * 1024 }}"
# +-- @home (to be mmounted at /home) # +-- @home (to be mmounted at /home)
# +-- ... # +-- ...
# #
# yamllint disable-line rule:line-length
partitioning_priv_btrfs_subvolumes: "{{ partitioning_priv_core_btrfs_subvolumes + partitioning_priv_extra_btrfs_subvolumes }}" partitioning_priv_btrfs_subvolumes: "{{ partitioning_priv_core_btrfs_subvolumes + partitioning_priv_extra_btrfs_subvolumes }}"
# These subvolumes should always be present. DO NOT OVERRIDE. # These subvolumes should always be present. DO NOT OVERRIDE.

@ -1,3 +1,4 @@
---
- name: Install lightdm. - name: Install lightdm.
pacman: pacman:
name: name:

@ -1,3 +1,4 @@
---
- name: Install packages. - name: Install packages.
aur: aur:
name: name:

@ -1,3 +1,4 @@
---
- name: Install i3. - name: Install i3.
pacman: pacman:
name: name:

Loading…
Cancel
Save