Skip to content

Commit

Permalink
Add Debian 12 bookworm support; drop Debian 10 buster support
Browse files Browse the repository at this point in the history
  • Loading branch information
nevart committed Aug 6, 2023
1 parent 70b7998 commit e1fa811
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 26 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@ jobs:
name: Integration
uses: systemli/github-ansible-workflow/.github/workflows/ansible-integration-workflow.yaml@v1.2.0
with:
distros: '[ "debian11", "debian10" ]'
distros: '[ "debian12", "debian11" ]'
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ molecule test
Requires Molecule, Vagrant and `python-vagrant` to be installed.For developing and testing the role we use Travis CI, Molecule and Vagrant. On the local environment you can easily test the role with


This will spin up a virtual machine with Debian Buster. Afterwards you can connect to the Schleuder
This will spin up a virtual machine with Debian Bookworm. Afterwards you can connect to the Schleuder
web interface via:

```
Expand Down
2 changes: 1 addition & 1 deletion meta/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@ galaxy_info:
platforms:
- name: Debian
versions:
- bookworm
- bullseye
- buster
8 changes: 4 additions & 4 deletions molecule/default/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@ driver:
name: virtualbox

platforms:
- name: schleuder-bullseye64
box: debian/bullseye64
- name: schleuder-bookworm64
box: debian/bookworm64
memory: 1024
cpus: 2
instance_raw_config_args:
- "vm.network 'forwarded_port', guest: 3000, host: 3000"
- name: schleuder-buster64
box: debian/buster64
- name: schleuder-bullseye64
box: debian/bullseye64
memory: 1024
cpus: 2

Expand Down
9 changes: 0 additions & 9 deletions tasks/main.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,4 @@
---
- name: Install apt dependencies
ansible.builtin.apt:
name: "{{ item }}"
state: "present"
loop:
- python{{ '3' if ansible_python.version.major == 3 else '' }}-apt
when:
- ansible_distribution_release == "buster"

- name: Import schleuder tasks
ansible.builtin.import_tasks: schleuder.yml
tags:
Expand Down
2 changes: 1 addition & 1 deletion tasks/schleuder_gitlab_ticket_plugin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@

- name: Link gitlab-ticketing plugin as schleuder post_decryption filter
ansible.builtin.file:
src: "/var/lib/gems/{% if ansible_distribution_release == 'buster' %}2.5.0{% else %}2.7.0{% endif %}/gems/schleuder-gitlab-ticketing-1.0.0/lib/schleuder/filters/post_decryption/99_gitlab_ticketing.rb"
src: "/var/lib/gems/{% if ansible_distribution_release == 'bullseye' %}2.7.0{% else %}3.1.0{% endif %}/gems/schleuder-gitlab-ticketing-1.0.0/lib/schleuder/filters/post_decryption/99_gitlab_ticketing.rb"
dest: /usr/local/lib/schleuder/filters/post_decryption/99_gitlab_ticketing.rb
state: link

Expand Down
9 changes: 0 additions & 9 deletions tasks/schleuder_web.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,4 @@
---
- name: Install schleuder-web build dependencies on buster
ansible.builtin.apt:
name: "{{ item }}"
state: "present"
loop:
- zlibc
when:
- ansible_distribution_release == "buster"

- name: Install schleuder-web build dependencies
ansible.builtin.apt:
name: "{{ item }}"
Expand Down

0 comments on commit e1fa811

Please sign in to comment.