Skip to content
Snippets Groups Projects
Commit 66789699 authored by Jörg Sachse's avatar Jörg Sachse
Browse files

Merge branch 'ci' into 'master'

style: use deb822 format and remove deprecated apt_key (resolves #2233 / ND-2723)

See merge request !1
parents e8776e24 f5c9e4b9
No related branches found
No related tags found
1 merge request!1style: use deb822 format and remove deprecated apt_key (resolves #2233 / ND-2723)
Pipeline #6044 passed
...@@ -27,7 +27,8 @@ test-job: ...@@ -27,7 +27,8 @@ test-job:
script: script:
# make sure that Ansible Vaults are present and can be decrypted # make sure that Ansible Vaults are present and can be decrypted
- echo "${VAULT_SANITYTEST}" > ../lza_sanitytest.pass - echo "${VAULT_SANITYTEST}" > ../lza_sanitytest.pass
- export ANSIBLE_VAULT_IDENTITY_LIST="../lza_sanitytest.pass" #- export ANSIBLE_VAULT_IDENTITY_LIST="../../../lza_sanitytest.pass"
#- export ANSIBLE_VAULT_IDENTITY_LIST="../lza_sanitytest.pass"
- rm -rf ../ansible_vaults/ - rm -rf ../ansible_vaults/
- git clone https://gitlab+deploy-token-25:${VAULT_ACCESS_TOKEN}@git.slub-dresden.de/slub-referat-2-3/ansible_vaults.git ../ansible_vaults/; \ - git clone https://gitlab+deploy-token-25:${VAULT_ACCESS_TOKEN}@git.slub-dresden.de/slub-referat-2-3/ansible_vaults.git ../ansible_vaults/; \
# run Molecule tests # run Molecule tests
......
...@@ -12,7 +12,7 @@ platforms: ...@@ -12,7 +12,7 @@ platforms:
# Check out the documentation at # Check out the documentation at
# https://github.com/ansible-community/molecule-vagrant#documentation # https://github.com/ansible-community/molecule-vagrant#documentation
# for more platform parameters. # for more platform parameters.
- name: mol-samity - name: mol-sanity
box: debian/bookworm64 box: debian/bookworm64
memory: 1024 memory: 1024
# List of raw Vagrant `config` options. # List of raw Vagrant `config` options.
...@@ -28,7 +28,7 @@ provisioner: ...@@ -28,7 +28,7 @@ provisioner:
config_options: config_options:
defaults: defaults:
# https://stackoverflow.com/questions/57435811/ansible-molecule-pass-multiple-vault-ids # https://stackoverflow.com/questions/57435811/ansible-molecule-pass-multiple-vault-ids
vault_identity_list: "../../../lza_sanitytest.pass" vault_identity_list: " ../lza_sanitytest.pass, ../../../lza_sanitytest.pass"
vvv: false vvv: false
playbooks: playbooks:
# create: ../resources/playbooks/create.yml # create: ../resources/playbooks/create.yml
......
...@@ -14,7 +14,9 @@ ...@@ -14,7 +14,9 @@
name: [ name: [
'cifs-utils', 'cifs-utils',
'cpanminus', 'cpanminus',
'gcc',
'git', 'git',
'libxml2',
'make', 'make',
'perl', 'perl',
'perl-base', 'perl-base',
...@@ -41,6 +43,7 @@ ...@@ -41,6 +43,7 @@
- name: install Perl packages from CPAN - name: install Perl packages from CPAN
community.general.cpanm: community.general.cpanm:
name: "{{ item }}" name: "{{ item }}"
mode: "new"
loop: loop:
# these are part of the "perl-base" Debian 10 package, so we get them for free: # these are part of the "perl-base" Debian 10 package, so we get them for free:
# - "Carp" # - "Carp"
...@@ -50,7 +53,8 @@ ...@@ -50,7 +53,8 @@
# - "IO::Handle" # - "IO::Handle"
# and these are not, so they must be installed using cpanm: # and these are not, so they must be installed using cpanm:
- "Bloom::Filter" - "Bloom::Filter"
- "File::Find" - "File::Find" # For some reason unknown, this package is not idempotent.
- "File::Sort" - "File::Sort"
- "Path::Tiny" - "Path::Tiny"
- "XML::LibXML::XPathContext" - "XML::LibXML::XPathContext"
changed_when: false
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment