From 199cca264ddb9ed1e6a307458dc2bb8ec6a02545 Mon Sep 17 00:00:00 2001 From: Steve Smith Date: Mon, 2 Dec 2019 14:49:33 +1100 Subject: [PATCH 1/4] DCD-828: Initial attempt at tar-based server-to-DC transform --- .../restore_conf_server/Dockerfile.j2 | 14 ++++ .../molecule/restore_conf_server/molecule.yml | 30 ++++++++ .../molecule/restore_conf_server/playbook.yml | 74 +++++++++++++++++++ .../restore_conf_server/tests/test_default.py | 15 ++++ roles/restore_backups/tasks/home_restore.yml | 18 +++++ roles/restore_backups/tasks/main.yml | 1 + 6 files changed, 152 insertions(+) create mode 100644 roles/restore_backups/molecule/restore_conf_server/Dockerfile.j2 create mode 100644 roles/restore_backups/molecule/restore_conf_server/molecule.yml create mode 100644 roles/restore_backups/molecule/restore_conf_server/playbook.yml create mode 100644 roles/restore_backups/molecule/restore_conf_server/tests/test_default.py diff --git a/roles/restore_backups/molecule/restore_conf_server/Dockerfile.j2 b/roles/restore_backups/molecule/restore_conf_server/Dockerfile.j2 new file mode 100644 index 0000000..e6aa95d --- /dev/null +++ b/roles/restore_backups/molecule/restore_conf_server/Dockerfile.j2 @@ -0,0 +1,14 @@ +# Molecule managed + +{% if item.registry is defined %} +FROM {{ item.registry.url }}/{{ item.image }} +{% else %} +FROM {{ item.image }} +{% endif %} + +RUN if [ $(command -v apt-get) ]; then apt-get update && apt-get install -y python sudo bash ca-certificates && apt-get clean; \ + elif [ $(command -v dnf) ]; then dnf makecache && dnf --assumeyes install python sudo python-devel python*-dnf bash && dnf clean all; \ + elif [ $(command -v yum) ]; then yum makecache fast && yum install -y python sudo yum-plugin-ovl bash && sed -i 's/plugins=0/plugins=1/g' /etc/yum.conf && yum clean all; \ + elif [ $(command -v zypper) ]; then zypper refresh && zypper install -y python sudo bash python-xml && zypper clean -a; \ + elif [ $(command -v apk) ]; then apk update && apk add --no-cache python sudo bash ca-certificates; \ + elif [ $(command -v xbps-install) ]; then xbps-install -Syu && xbps-install -y python sudo bash ca-certificates && xbps-remove -O; fi diff --git a/roles/restore_backups/molecule/restore_conf_server/molecule.yml b/roles/restore_backups/molecule/restore_conf_server/molecule.yml new file mode 100644 index 0000000..04c0973 --- /dev/null +++ b/roles/restore_backups/molecule/restore_conf_server/molecule.yml @@ -0,0 +1,30 @@ +--- +dependency: + name: galaxy +driver: + name: docker +lint: + name: yamllint +platforms: + - name: amazon_linux2 + image: amazonlinux:2 + groups: + - aws_node_local + ulimits: + - nofile:262144:262144 +provisioner: + name: ansible + options: + skip-tags: runtime_pkg + lint: + name: ansible-lint + options: + x: ["701"] + inventory: + links: + group_vars: ../../../../group_vars/ +verifier: + name: testinfra + lint: + name: flake8 + enabled: false diff --git a/roles/restore_backups/molecule/restore_conf_server/playbook.yml b/roles/restore_backups/molecule/restore_conf_server/playbook.yml new file mode 100644 index 0000000..d526a64 --- /dev/null +++ b/roles/restore_backups/molecule/restore_conf_server/playbook.yml @@ -0,0 +1,74 @@ +--- +- name: Converge + hosts: all + vars: + atl_backup_home_dest: "{{ test_archive }}" + atl_backup_id: 'test-backup' + atl_backup_manifest_url: 'fake_manifest' + atl_backup_home_is_server: 'true' + + atl_product_home_shared: '/media/atl/confluence/shared-home' + atl_backup_home_restore_canary_path: "{{ atl_product_home_shared }}/canary.tmp" + atl_product_edition: 'confluence' + atl_product_user: 'confluence' + atl_product_user_uid: '2001' + atl_product_version_cache: "{{ atl_product_home_shared }}/{{ atl_product_edition }}.version" + + test_archive: '/tmp/hello.tar.gz' + test_archive_file: 'hello.txt' + test_archive_source: '/tmp/hello' + + test_pre_step_prefix: '[PRE-TEST]' + test_product_version_file: "/tmp/{{ atl_product_edition }}.version" + + pre_tasks: + - name: "{{ test_pre_step_prefix }} Install tar and useradd/groupadd binaries" + package: + state: present + name: + - tar + - shadow-utils + + - name: "{{ test_pre_step_prefix }} Create application group" + group: + name: "{{ atl_product_user }}" + gid: "{{ atl_product_user_uid }}" + + - name: "{{ test_pre_step_prefix }} Create application user" + user: + name: "{{ atl_product_user }}" + uid: "{{ atl_product_user_uid }}" + group: "{{ atl_product_user }}" + + - name: "{{ test_pre_step_prefix }} Create a Conf server home directory structure" + file: + path: "{{ item }}" + state: directory + mode: 0755 + with_items: + - "{{ test_archive_source }}" + - "{{ test_archive_source }}/attachments" + - "{{ test_archive_source }}/shared-home" + + - name: "{{ test_pre_step_prefix }} Create files" + copy: + dest: "{{ item }}" + content: "content" + with_items: + - "{{ test_archive_source }}/unwanted.txt" + - "{{ test_archive_source }}/attachments/image.jpg" + - "{{ test_archive_source }}/shared-home/shared-content.txt" + + - name: "{{ test_pre_step_prefix }} Archive the shared home" + archive: + path: + - "{{ test_archive_source }}/*" + dest: "{{ test_archive }}" + owner: "{{ atl_product_user }}" + + tasks: + - name: Install distro-specific restore support packages + include_tasks: "../../tasks/{{ ansible_distribution|lower }}.yml" + + - name: Restore shared home + include_tasks: "../../tasks/home_restore.yml" diff --git a/roles/restore_backups/molecule/restore_conf_server/tests/test_default.py b/roles/restore_backups/molecule/restore_conf_server/tests/test_default.py new file mode 100644 index 0000000..ced7af8 --- /dev/null +++ b/roles/restore_backups/molecule/restore_conf_server/tests/test_default.py @@ -0,0 +1,15 @@ +import os +import pytest + +import testinfra.utils.ansible_runner + +testinfra_hosts = testinfra.utils.ansible_runner.AnsibleRunner( + os.environ['MOLECULE_INVENTORY_FILE']).get_hosts('all') + +def test_conf_server_converted(host): + assert host.file('/media/atl/confluence/shared-home').is_directory + assert host.file('/media/atl/confluence/shared-home/shared-content.txt').is_file + assert host.file('/media/atl/confluence/shared-home/attachments').is_directory + assert host.file('/media/atl/confluence/shared-home/attachments/image.jpg').is_file + + assert not host.file('/media/atl/confluence/shared-home/unwanted.txt').is_file diff --git a/roles/restore_backups/tasks/home_restore.yml b/roles/restore_backups/tasks/home_restore.yml index 4c5f2ad..5c0b7b4 100644 --- a/roles/restore_backups/tasks/home_restore.yml +++ b/roles/restore_backups/tasks/home_restore.yml @@ -18,6 +18,24 @@ src: "{{ atl_backup_home_dest }}" remote_src: yes dest: "{{ atl_product_home_shared }}" + when: atl_backup_home_is_server is not defined or not atl_backup_home_is_server|bool + + - name: Restore a Confluence server home to share-home layout + unarchive: + src: "{{ atl_backup_home_dest }}" + remote_src: yes + dest: "{{ atl_product_home_shared }}" + # Use tar transform to convert the Confluence Server + # (unclustered) layout to shared-home version. What occurs is: + # * --transform runs first, moving attachments into the shared home. + # * --strip-components removes the top-level directory + # NOTE: Also see the `confluence_config` role, which uses + # symlinks to support server and clustered layouts + # concurrently. + extra_opts: + - "--transform=s,^attachments,shared-home/attachments," + - "--strip-components=1" + when: atl_backup_home_is_server is defined and atl_backup_home_is_server|bool - name: Set shared home owner and group to application user file: diff --git a/roles/restore_backups/tasks/main.yml b/roles/restore_backups/tasks/main.yml index 1c81430..6ad9b98 100644 --- a/roles/restore_backups/tasks/main.yml +++ b/roles/restore_backups/tasks/main.yml @@ -58,6 +58,7 @@ atl_backup_id: "{{ atl_backup_manifest.name }}" atl_backup_db_dest: "{{ atl_installer_temp }}/{{ atl_backup_manifest.artifacts.db.location.location | basename }}" atl_backup_home_dest: "{{ atl_installer_temp }}/{{ atl_backup_manifest.artifacts.sharedHome.location.location | basename }}" + atl_backup_home_is_server: "{{ atl_backup_manifest.artifacts.sharedHome.serverHome }}" # FIXME: Here we fetch the backups. However we may wish to stream # these directly from S3 to the target DB/FS to avoid requiring From 55180285415d9ca1f96caa421f47f2eb0d6242cc Mon Sep 17 00:00:00 2001 From: Steve Smith Date: Mon, 2 Dec 2019 14:57:19 +1100 Subject: [PATCH 2/4] DCD-828: Update pipelines. --- bitbucket-pipelines.yml | 80 +++++++++++-------- .../templates/bitbucket-pipelines.yml.j2 | 4 + 2 files changed, 50 insertions(+), 34 deletions(-) diff --git a/bitbucket-pipelines.yml b/bitbucket-pipelines.yml index b51f0f9..71b2462 100644 --- a/bitbucket-pipelines.yml +++ b/bitbucket-pipelines.yml @@ -1,4 +1,8 @@ --- +# This file was generated; to regnerated `cd` to `pipeline_generator` +# and run: +# +# make > ../bitbucket-pipelines.yml image: debian:buster options: @@ -14,7 +18,7 @@ pipelines: - step: name: Pre Parallelization stage script: - - echo "Running tests in 32 batches" + - echo "Running tests in 33 batches" - step: name: Check if number of batches match actual number of scenarios script: @@ -34,7 +38,7 @@ pipelines: script: - apt-get update && ./bin/install-ansible --dev - ./bin/run-tests-in-batches --batch 1 - + - step: name: Molecule Test Batch - 2 services: @@ -42,7 +46,7 @@ pipelines: script: - apt-get update && ./bin/install-ansible --dev - ./bin/run-tests-in-batches --batch 2 - + - step: name: Molecule Test Batch - 3 services: @@ -50,7 +54,7 @@ pipelines: script: - apt-get update && ./bin/install-ansible --dev - ./bin/run-tests-in-batches --batch 3 - + - step: name: Molecule Test Batch - 4 services: @@ -58,7 +62,7 @@ pipelines: script: - apt-get update && ./bin/install-ansible --dev - ./bin/run-tests-in-batches --batch 4 - + - step: name: Molecule Test Batch - 5 services: @@ -66,7 +70,7 @@ pipelines: script: - apt-get update && ./bin/install-ansible --dev - ./bin/run-tests-in-batches --batch 5 - + - step: name: Molecule Test Batch - 6 services: @@ -74,7 +78,7 @@ pipelines: script: - apt-get update && ./bin/install-ansible --dev - ./bin/run-tests-in-batches --batch 6 - + - step: name: Molecule Test Batch - 7 services: @@ -82,7 +86,7 @@ pipelines: script: - apt-get update && ./bin/install-ansible --dev - ./bin/run-tests-in-batches --batch 7 - + - step: name: Molecule Test Batch - 8 services: @@ -90,7 +94,7 @@ pipelines: script: - apt-get update && ./bin/install-ansible --dev - ./bin/run-tests-in-batches --batch 8 - + - step: name: Molecule Test Batch - 9 services: @@ -98,7 +102,7 @@ pipelines: script: - apt-get update && ./bin/install-ansible --dev - ./bin/run-tests-in-batches --batch 9 - + - step: name: Molecule Test Batch - 10 services: @@ -106,7 +110,7 @@ pipelines: script: - apt-get update && ./bin/install-ansible --dev - ./bin/run-tests-in-batches --batch 10 - + - step: name: Molecule Test Batch - 11 services: @@ -114,7 +118,7 @@ pipelines: script: - apt-get update && ./bin/install-ansible --dev - ./bin/run-tests-in-batches --batch 11 - + - step: name: Molecule Test Batch - 12 services: @@ -122,7 +126,7 @@ pipelines: script: - apt-get update && ./bin/install-ansible --dev - ./bin/run-tests-in-batches --batch 12 - + - step: name: Molecule Test Batch - 13 services: @@ -130,7 +134,7 @@ pipelines: script: - apt-get update && ./bin/install-ansible --dev - ./bin/run-tests-in-batches --batch 13 - + - step: name: Molecule Test Batch - 14 services: @@ -138,7 +142,7 @@ pipelines: script: - apt-get update && ./bin/install-ansible --dev - ./bin/run-tests-in-batches --batch 14 - + - step: name: Molecule Test Batch - 15 services: @@ -146,7 +150,7 @@ pipelines: script: - apt-get update && ./bin/install-ansible --dev - ./bin/run-tests-in-batches --batch 15 - + - step: name: Molecule Test Batch - 16 services: @@ -154,7 +158,7 @@ pipelines: script: - apt-get update && ./bin/install-ansible --dev - ./bin/run-tests-in-batches --batch 16 - + - step: name: Molecule Test Batch - 17 services: @@ -162,7 +166,7 @@ pipelines: script: - apt-get update && ./bin/install-ansible --dev - ./bin/run-tests-in-batches --batch 17 - + - step: name: Molecule Test Batch - 18 services: @@ -170,7 +174,7 @@ pipelines: script: - apt-get update && ./bin/install-ansible --dev - ./bin/run-tests-in-batches --batch 18 - + - step: name: Molecule Test Batch - 19 services: @@ -178,7 +182,7 @@ pipelines: script: - apt-get update && ./bin/install-ansible --dev - ./bin/run-tests-in-batches --batch 19 - + - step: name: Molecule Test Batch - 20 services: @@ -186,7 +190,7 @@ pipelines: script: - apt-get update && ./bin/install-ansible --dev - ./bin/run-tests-in-batches --batch 20 - + - step: name: Molecule Test Batch - 21 services: @@ -194,7 +198,7 @@ pipelines: script: - apt-get update && ./bin/install-ansible --dev - ./bin/run-tests-in-batches --batch 21 - + - step: name: Molecule Test Batch - 22 services: @@ -202,7 +206,7 @@ pipelines: script: - apt-get update && ./bin/install-ansible --dev - ./bin/run-tests-in-batches --batch 22 - + - step: name: Molecule Test Batch - 23 services: @@ -210,7 +214,7 @@ pipelines: script: - apt-get update && ./bin/install-ansible --dev - ./bin/run-tests-in-batches --batch 23 - + - step: name: Molecule Test Batch - 24 services: @@ -218,7 +222,7 @@ pipelines: script: - apt-get update && ./bin/install-ansible --dev - ./bin/run-tests-in-batches --batch 24 - + - step: name: Molecule Test Batch - 25 services: @@ -226,7 +230,7 @@ pipelines: script: - apt-get update && ./bin/install-ansible --dev - ./bin/run-tests-in-batches --batch 25 - + - step: name: Molecule Test Batch - 26 services: @@ -234,7 +238,7 @@ pipelines: script: - apt-get update && ./bin/install-ansible --dev - ./bin/run-tests-in-batches --batch 26 - + - step: name: Molecule Test Batch - 27 services: @@ -242,7 +246,7 @@ pipelines: script: - apt-get update && ./bin/install-ansible --dev - ./bin/run-tests-in-batches --batch 27 - + - step: name: Molecule Test Batch - 28 services: @@ -250,7 +254,7 @@ pipelines: script: - apt-get update && ./bin/install-ansible --dev - ./bin/run-tests-in-batches --batch 28 - + - step: name: Molecule Test Batch - 29 services: @@ -258,7 +262,7 @@ pipelines: script: - apt-get update && ./bin/install-ansible --dev - ./bin/run-tests-in-batches --batch 29 - + - step: name: Molecule Test Batch - 30 services: @@ -266,7 +270,7 @@ pipelines: script: - apt-get update && ./bin/install-ansible --dev - ./bin/run-tests-in-batches --batch 30 - + - step: name: Molecule Test Batch - 31 services: @@ -274,7 +278,7 @@ pipelines: script: - apt-get update && ./bin/install-ansible --dev - ./bin/run-tests-in-batches --batch 31 - + - step: name: Molecule Test Batch - 32 services: @@ -282,5 +286,13 @@ pipelines: script: - apt-get update && ./bin/install-ansible --dev - ./bin/run-tests-in-batches --batch 32 - - + + - step: + name: Molecule Test Batch - 33 + services: + - docker + script: + - apt-get update && ./bin/install-ansible --dev + - ./bin/run-tests-in-batches --batch 33 + + diff --git a/pipeline_generator/templates/bitbucket-pipelines.yml.j2 b/pipeline_generator/templates/bitbucket-pipelines.yml.j2 index 6b89e62..4f3a0b7 100644 --- a/pipeline_generator/templates/bitbucket-pipelines.yml.j2 +++ b/pipeline_generator/templates/bitbucket-pipelines.yml.j2 @@ -1,4 +1,8 @@ --- +# This file was generated; to regnerated `cd` to `pipeline_generator` +# and run: +# +# make > ../bitbucket-pipelines.yml image: debian:buster options: From cbe0382abe440a3cbde7d224c3fcf866d65f4dbf Mon Sep 17 00:00:00 2001 From: Steve Smith Date: Tue, 3 Dec 2019 14:57:42 +1100 Subject: [PATCH 3/4] DCD-791: Rename restore test to reflect difference and add test flag. --- roles/restore_backups/molecule/Pipfile | 11 +++++++++++ .../{restore => restore_jira_clustered}/Dockerfile.j2 | 0 .../{restore => restore_jira_clustered}/molecule.yml | 0 .../{restore => restore_jira_clustered}/playbook.yml | 1 + .../tests/test_default.py | 0 5 files changed, 12 insertions(+) create mode 100644 roles/restore_backups/molecule/Pipfile rename roles/restore_backups/molecule/{restore => restore_jira_clustered}/Dockerfile.j2 (100%) rename roles/restore_backups/molecule/{restore => restore_jira_clustered}/molecule.yml (100%) rename roles/restore_backups/molecule/{restore => restore_jira_clustered}/playbook.yml (98%) rename roles/restore_backups/molecule/{restore => restore_jira_clustered}/tests/test_default.py (100%) diff --git a/roles/restore_backups/molecule/Pipfile b/roles/restore_backups/molecule/Pipfile new file mode 100644 index 0000000..219b717 --- /dev/null +++ b/roles/restore_backups/molecule/Pipfile @@ -0,0 +1,11 @@ +[[source]] +url = "https://pypi.python.org/simple" +verify_ssl = true +name = "pypi" + +[packages] + +[dev-packages] + +[requires] +python_version = "3.7" diff --git a/roles/restore_backups/molecule/restore/Dockerfile.j2 b/roles/restore_backups/molecule/restore_jira_clustered/Dockerfile.j2 similarity index 100% rename from roles/restore_backups/molecule/restore/Dockerfile.j2 rename to roles/restore_backups/molecule/restore_jira_clustered/Dockerfile.j2 diff --git a/roles/restore_backups/molecule/restore/molecule.yml b/roles/restore_backups/molecule/restore_jira_clustered/molecule.yml similarity index 100% rename from roles/restore_backups/molecule/restore/molecule.yml rename to roles/restore_backups/molecule/restore_jira_clustered/molecule.yml diff --git a/roles/restore_backups/molecule/restore/playbook.yml b/roles/restore_backups/molecule/restore_jira_clustered/playbook.yml similarity index 98% rename from roles/restore_backups/molecule/restore/playbook.yml rename to roles/restore_backups/molecule/restore_jira_clustered/playbook.yml index 073d24b..a866f32 100644 --- a/roles/restore_backups/molecule/restore/playbook.yml +++ b/roles/restore_backups/molecule/restore_jira_clustered/playbook.yml @@ -6,6 +6,7 @@ atl_backup_home_restore_canary_path: '/tmp/canary.tmp' atl_backup_id: 'test-backup' atl_backup_manifest_url: 'fake_manifest' + atl_backup_home_is_server: 'false' atl_product_edition: 'jira-software' atl_product_home_shared: '/media/atl/jira/shared' diff --git a/roles/restore_backups/molecule/restore/tests/test_default.py b/roles/restore_backups/molecule/restore_jira_clustered/tests/test_default.py similarity index 100% rename from roles/restore_backups/molecule/restore/tests/test_default.py rename to roles/restore_backups/molecule/restore_jira_clustered/tests/test_default.py From 48c9927c507b3aa16a8dd35564f17291f6d9cb39 Mon Sep 17 00:00:00 2001 From: Steve Smith Date: Wed, 4 Dec 2019 11:34:26 +1100 Subject: [PATCH 4/4] DCD-828: Minor cleanups. --- bitbucket-pipelines.yml | 66 +++++++++++++------------- roles/restore_backups/molecule/Pipfile | 11 ----- 2 files changed, 32 insertions(+), 45 deletions(-) delete mode 100644 roles/restore_backups/molecule/Pipfile diff --git a/bitbucket-pipelines.yml b/bitbucket-pipelines.yml index 71b2462..5e77c1b 100644 --- a/bitbucket-pipelines.yml +++ b/bitbucket-pipelines.yml @@ -38,7 +38,7 @@ pipelines: script: - apt-get update && ./bin/install-ansible --dev - ./bin/run-tests-in-batches --batch 1 - + - step: name: Molecule Test Batch - 2 services: @@ -46,7 +46,7 @@ pipelines: script: - apt-get update && ./bin/install-ansible --dev - ./bin/run-tests-in-batches --batch 2 - + - step: name: Molecule Test Batch - 3 services: @@ -54,7 +54,7 @@ pipelines: script: - apt-get update && ./bin/install-ansible --dev - ./bin/run-tests-in-batches --batch 3 - + - step: name: Molecule Test Batch - 4 services: @@ -62,7 +62,7 @@ pipelines: script: - apt-get update && ./bin/install-ansible --dev - ./bin/run-tests-in-batches --batch 4 - + - step: name: Molecule Test Batch - 5 services: @@ -70,7 +70,7 @@ pipelines: script: - apt-get update && ./bin/install-ansible --dev - ./bin/run-tests-in-batches --batch 5 - + - step: name: Molecule Test Batch - 6 services: @@ -78,7 +78,7 @@ pipelines: script: - apt-get update && ./bin/install-ansible --dev - ./bin/run-tests-in-batches --batch 6 - + - step: name: Molecule Test Batch - 7 services: @@ -86,7 +86,7 @@ pipelines: script: - apt-get update && ./bin/install-ansible --dev - ./bin/run-tests-in-batches --batch 7 - + - step: name: Molecule Test Batch - 8 services: @@ -94,7 +94,7 @@ pipelines: script: - apt-get update && ./bin/install-ansible --dev - ./bin/run-tests-in-batches --batch 8 - + - step: name: Molecule Test Batch - 9 services: @@ -102,7 +102,7 @@ pipelines: script: - apt-get update && ./bin/install-ansible --dev - ./bin/run-tests-in-batches --batch 9 - + - step: name: Molecule Test Batch - 10 services: @@ -110,7 +110,7 @@ pipelines: script: - apt-get update && ./bin/install-ansible --dev - ./bin/run-tests-in-batches --batch 10 - + - step: name: Molecule Test Batch - 11 services: @@ -118,7 +118,7 @@ pipelines: script: - apt-get update && ./bin/install-ansible --dev - ./bin/run-tests-in-batches --batch 11 - + - step: name: Molecule Test Batch - 12 services: @@ -126,7 +126,7 @@ pipelines: script: - apt-get update && ./bin/install-ansible --dev - ./bin/run-tests-in-batches --batch 12 - + - step: name: Molecule Test Batch - 13 services: @@ -134,7 +134,7 @@ pipelines: script: - apt-get update && ./bin/install-ansible --dev - ./bin/run-tests-in-batches --batch 13 - + - step: name: Molecule Test Batch - 14 services: @@ -142,7 +142,7 @@ pipelines: script: - apt-get update && ./bin/install-ansible --dev - ./bin/run-tests-in-batches --batch 14 - + - step: name: Molecule Test Batch - 15 services: @@ -150,7 +150,7 @@ pipelines: script: - apt-get update && ./bin/install-ansible --dev - ./bin/run-tests-in-batches --batch 15 - + - step: name: Molecule Test Batch - 16 services: @@ -158,7 +158,7 @@ pipelines: script: - apt-get update && ./bin/install-ansible --dev - ./bin/run-tests-in-batches --batch 16 - + - step: name: Molecule Test Batch - 17 services: @@ -166,7 +166,7 @@ pipelines: script: - apt-get update && ./bin/install-ansible --dev - ./bin/run-tests-in-batches --batch 17 - + - step: name: Molecule Test Batch - 18 services: @@ -174,7 +174,7 @@ pipelines: script: - apt-get update && ./bin/install-ansible --dev - ./bin/run-tests-in-batches --batch 18 - + - step: name: Molecule Test Batch - 19 services: @@ -182,7 +182,7 @@ pipelines: script: - apt-get update && ./bin/install-ansible --dev - ./bin/run-tests-in-batches --batch 19 - + - step: name: Molecule Test Batch - 20 services: @@ -190,7 +190,7 @@ pipelines: script: - apt-get update && ./bin/install-ansible --dev - ./bin/run-tests-in-batches --batch 20 - + - step: name: Molecule Test Batch - 21 services: @@ -198,7 +198,7 @@ pipelines: script: - apt-get update && ./bin/install-ansible --dev - ./bin/run-tests-in-batches --batch 21 - + - step: name: Molecule Test Batch - 22 services: @@ -206,7 +206,7 @@ pipelines: script: - apt-get update && ./bin/install-ansible --dev - ./bin/run-tests-in-batches --batch 22 - + - step: name: Molecule Test Batch - 23 services: @@ -214,7 +214,7 @@ pipelines: script: - apt-get update && ./bin/install-ansible --dev - ./bin/run-tests-in-batches --batch 23 - + - step: name: Molecule Test Batch - 24 services: @@ -222,7 +222,7 @@ pipelines: script: - apt-get update && ./bin/install-ansible --dev - ./bin/run-tests-in-batches --batch 24 - + - step: name: Molecule Test Batch - 25 services: @@ -230,7 +230,7 @@ pipelines: script: - apt-get update && ./bin/install-ansible --dev - ./bin/run-tests-in-batches --batch 25 - + - step: name: Molecule Test Batch - 26 services: @@ -238,7 +238,7 @@ pipelines: script: - apt-get update && ./bin/install-ansible --dev - ./bin/run-tests-in-batches --batch 26 - + - step: name: Molecule Test Batch - 27 services: @@ -246,7 +246,7 @@ pipelines: script: - apt-get update && ./bin/install-ansible --dev - ./bin/run-tests-in-batches --batch 27 - + - step: name: Molecule Test Batch - 28 services: @@ -254,7 +254,7 @@ pipelines: script: - apt-get update && ./bin/install-ansible --dev - ./bin/run-tests-in-batches --batch 28 - + - step: name: Molecule Test Batch - 29 services: @@ -262,7 +262,7 @@ pipelines: script: - apt-get update && ./bin/install-ansible --dev - ./bin/run-tests-in-batches --batch 29 - + - step: name: Molecule Test Batch - 30 services: @@ -270,7 +270,7 @@ pipelines: script: - apt-get update && ./bin/install-ansible --dev - ./bin/run-tests-in-batches --batch 30 - + - step: name: Molecule Test Batch - 31 services: @@ -278,7 +278,7 @@ pipelines: script: - apt-get update && ./bin/install-ansible --dev - ./bin/run-tests-in-batches --batch 31 - + - step: name: Molecule Test Batch - 32 services: @@ -286,7 +286,7 @@ pipelines: script: - apt-get update && ./bin/install-ansible --dev - ./bin/run-tests-in-batches --batch 32 - + - step: name: Molecule Test Batch - 33 services: @@ -294,5 +294,3 @@ pipelines: script: - apt-get update && ./bin/install-ansible --dev - ./bin/run-tests-in-batches --batch 33 - - diff --git a/roles/restore_backups/molecule/Pipfile b/roles/restore_backups/molecule/Pipfile deleted file mode 100644 index 219b717..0000000 --- a/roles/restore_backups/molecule/Pipfile +++ /dev/null @@ -1,11 +0,0 @@ -[[source]] -url = "https://pypi.python.org/simple" -verify_ssl = true -name = "pypi" - -[packages] - -[dev-packages] - -[requires] -python_version = "3.7"