diff --git a/.github/workflows/ci-debian.yml b/.github/workflows/ci-debian.yml index 63d2dce..21aeca5 100644 --- a/.github/workflows/ci-debian.yml +++ b/.github/workflows/ci-debian.yml @@ -20,7 +20,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v1 with: - python-version: 3.8 + python-version: 3.9 - uses: pre-commit/action@v2.0.0 molecule: @@ -28,7 +28,7 @@ jobs: strategy: matrix: distro: [ubuntu1804, ubuntu2004] - python_version: ["3.8"] + python_version: ["3.9"] fail-fast: false runs-on: ubuntu-latest @@ -39,10 +39,10 @@ jobs: with: path: ${{ env.galaxy-name }} - - name: Set up Python 3.8 + - name: Set up Python 3.9 uses: actions/setup-python@v2 with: - python-version: 3.8 + python-version: 3.9 - name: Upgrade pip run: | diff --git a/meta/main.yml b/meta/main.yml index 185f9b7..5c10b21 100644 --- a/meta/main.yml +++ b/meta/main.yml @@ -2,6 +2,8 @@ allow_duplicates: false galaxy_info: author: "MARVEL NCCR" + role_name: aiida + namespace: marvel_nccr description: "An ansible role that installs and configures [AiiDA](http://www.aiida.net/) on Ubuntu, RHEL, CentOS and Fedora." license: MIT min_ansible_version: 2.5 diff --git a/molecule/default/molecule.yml b/molecule/default/molecule.yml index d32a4e9..bdf5db7 100644 --- a/molecule/default/molecule.yml +++ b/molecule/default/molecule.yml @@ -9,7 +9,9 @@ platforms: # by default the container will initialise with systemd as PID1 command: ${MOLECULE_DOCKER_COMMAND:-""} volumes: - - /sys/fs/cgroup:/sys/fs/cgroup:ro + - /sys/fs/cgroup:/sys/fs/cgroup:rw + - /var/lib/containerd + cgroupns_mode: host privileged: true pre_build_image: true env: @@ -32,7 +34,7 @@ provisioner: all: vars: ansible_python_interpreter: /usr/bin/python3 - aiida_python_version: "${MOLECULE_PYTHON_VERSION:-3.8}" + #aiida_python_version: "${MOLECULE_PYTHON_VERSION:-3.9}" install_node: "${MOLECULE_INSTALL_NODE:-no}" # for testing in docker container jupyter_ip: "0.0.0.0" diff --git a/requirements.txt b/requirements.txt index ba5f5df..b8311d6 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,6 +1,6 @@ # for running -ansible~=2.10.0 +ansible~=7.1.0 tomli # for testing -molecule[docker]~=3.1.0 -docker~=4.3.1 +molecule[docker]~=4.0.4 +docker~=6.0.1