From dab73834e7cb7210ca701e9f3ec2fe279a4bb9f1 Mon Sep 17 00:00:00 2001 From: ananthu-kuttattu Date: Thu, 21 Mar 2024 18:31:03 +0530 Subject: [PATCH] Release v2.0.0 --- .github/workflows/ansible-test.yml | 117 ++++++++---------- CHANGELOG.rst | 8 ++ README.md | 64 +++++----- changelogs/.plugin-cache.yaml | 2 +- changelogs/changelog.yaml | 5 + codecov.yml | 3 + docs/CONTRIBUTING.md | 8 +- docs/INSTALLATION.md | 4 +- docs/ISSUE_TRIAGE.md | 4 +- docs/MAINTAINER_GUIDE.md | 2 +- docs/Release Notes.md | 12 +- docs/SECURITY.md | 2 +- galaxy.yml | 8 +- meta/runtime.yml | 107 +++++++--------- plugins/doc_fragments/unity.py | 4 +- .../{ignore-2.13.txt => ignore-2.16.txt} | 0 tests/sanity/ignore-2.17.txt | 32 +++++ tests/{ => unit}/requirements.txt | 0 18 files changed, 200 insertions(+), 182 deletions(-) create mode 100644 codecov.yml rename tests/sanity/{ignore-2.13.txt => ignore-2.16.txt} (100%) create mode 100644 tests/sanity/ignore-2.17.txt rename tests/{ => unit}/requirements.txt (100%) diff --git a/.github/workflows/ansible-test.yml b/.github/workflows/ansible-test.yml index 58d3ea0..ff8d181 100644 --- a/.github/workflows/ansible-test.yml +++ b/.github/workflows/ansible-test.yml @@ -2,9 +2,8 @@ name: CI on: push: - branches: [ main ] + branches: [main] pull_request: - branches: [ main ] schedule: - cron: '0 3 * * *' @@ -15,15 +14,15 @@ jobs: strategy: fail-fast: false matrix: - ansible-version: [stable-2.13] + ansible-version: [stable-2.14, stable-2.15, stable-2.16, devel] steps: - name: Check out code - uses: actions/checkout@v2 + uses: actions/checkout@v3 - - name: Set up Python 3.9 - uses: actions/setup-python@v1 + - name: Set up Python 3.11 + uses: actions/setup-python@v4 with: - python-version: 3.9 + python-version: 3.11 - name: Install ansible (${{ matrix.ansible-version }}) run: pip install https://github.com/ansible/ansible/archive/${{ matrix.ansible-version }}.tar.gz --disable-pip-version-check @@ -39,45 +38,36 @@ jobs: ### # Unit tests (OPTIONAL) - # + # # https://docs.ansible.com/ansible/latest/dev_guide/testing_units.html unit: - name: Unit Tests + name: Unit Tests (Ⓐ${{ matrix.ansible }} with ${{ matrix.python }} python) needs: [build] runs-on: ubuntu-latest strategy: fail-fast: false matrix: - python-version: ["3.9", "3.10", "3.11"] - ansible-version: [stable-2.13, stable-2.14, stable-2.15] + python: ['3.9', '3.10', '3.11'] + ansible: + - stable-2.14 + - stable-2.15 + - stable-2.16 + - devel exclude: - # Python 3.11 is supported only from ansible-core 2.14 onwards - - python-version: "3.11" - ansible-version: stable-2.13 + - ansible: stable-2.16 + python: '3.9' + - ansible: devel + python: '3.9' steps: - - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v1 + - name: Perform unit testing with ansible-test + uses: ansible-community/ansible-test-gh-action@release/v1 with: - python-version: ${{ matrix.python-version }} - - - name: Install ansible (${{ matrix.ansible-version }}) version - run: pip install https://github.com/ansible/ansible/archive/${{ matrix.ansible-version }}.tar.gz --disable-pip-version-check - - - name: Download migrated collection artifacts - uses: actions/download-artifact@v1 - with: - name: collection - path: .cache/collection-tarballs - - - name: Setup Unit test Pre-requisites - run: | - ansible-galaxy collection install .cache/collection-tarballs/*.tar.gz - if [ -f /home/runner/.ansible/collections/ansible_collections/dellemc/unity/tests/requirements.txt ]; then pip install -r /home/runner/.ansible/collections/ansible_collections/dellemc/unity/tests/requirements.txt; fi - - name: Run Unit tests using ansible-test - run: ansible-test units -v --color --python ${{ matrix.python-version }} --coverage - working-directory: /home/runner/.ansible/collections/ansible_collections/dellemc/unity + testing-type: units + coverage: always + ansible-core-version: ${{ matrix.ansible }} + target-python-version: ${{ matrix.python }} ### # Sanity tests (REQUIRED) @@ -85,40 +75,31 @@ jobs: # https://docs.ansible.com/ansible/latest/dev_guide/testing_sanity.html sanity: - name: Sanity Tests - runs-on: ubuntu-latest + name: Sanity (Ⓐ${{ matrix.ansible }} with ${{ matrix.python }} python) needs: [build] strategy: - fail-fast: false matrix: - ansible-version: [stable-2.13, stable-2.14, stable-2.15] - + python: ['3.9', '3.10', '3.11'] + ansible: + - stable-2.14 + - stable-2.15 + - stable-2.16 + - devel + exclude: + - ansible: stable-2.16 + python: '3.9' + - ansible: devel + python: '3.9' + runs-on: ubuntu-latest steps: - - name: Set up Python 3.9 - uses: actions/setup-python@v1 - with: - # it is just required to run that once as "ansible-test sanity" in the docker image - # will run on all python versions it supports. - python-version: 3.9 - - - name: Install ansible (${{ matrix.ansible-version }}) version - run: pip install https://github.com/ansible/ansible/archive/${{ matrix.ansible-version }}.tar.gz --disable-pip-version-check - - - name: Download migrated collection artifacts - uses: actions/download-artifact@v1 + - name: Perform sanity testing + uses: ansible-community/ansible-test-gh-action@release/v1 with: - name: collection - path: .cache/collection-tarballs - - - name: Setup Sanity test Pre-requisites - run: ansible-galaxy collection install .cache/collection-tarballs/*.tar.gz - - # run ansible-test sanity inside of Docker. - # The docker container has all the pinned dependencies that are required - # and all python versions ansible supports. - - name: Run sanity tests - run: ansible-test sanity --docker -v --color - working-directory: /home/runner/.ansible/collections/ansible_collections/dellemc/unity + ansible-core-version: ${{ matrix.ansible }} + target-python-version: ${{ matrix.python }} + testing-type: sanity + pull-request-change-detection: true + coverage: never lint: name: Ansible lint @@ -128,7 +109,13 @@ jobs: fail-fast: false matrix: python-version: ["3.9", "3.10", "3.11"] - ansible-version: [stable-2.13, stable-2.14, stable-2.15] + ansible-version: [stable-2.14, stable-2.15, stable-2.16, devel] + exclude: + # Ansible-core 2.16 is supported only from Python 3.10 onwards + - python-version: "3.9" + ansible-version: stable-2.16 + - python-version: '3.9' + ansible-version: devel steps: # Important: This sets up your GITHUB_WORKSPACE environment variable @@ -138,7 +125,7 @@ jobs: fetch-depth: 0 # needed for progressive mode to work - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v1 + uses: actions/setup-python@v4 with: python-version: ${{ matrix.python-version }} diff --git a/CHANGELOG.rst b/CHANGELOG.rst index cf231b6..db0cba7 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -5,6 +5,14 @@ Dellemc.Unity Change Log .. contents:: Topics +v2.0.0 +====== + +Major Changes +------------- + +- Adding support for Unity Puffin v5.4. + v1.7.1 ====== diff --git a/README.md b/README.md index a507547..19d5b17 100644 --- a/README.md +++ b/README.md @@ -6,60 +6,60 @@ The capabilities of the Ansible modules are managing consistency groups, filesys ## Table of contents -* [Code of conduct](https://github.com/dell/ansible-unity/blob/1.7.1/docs/CODE_OF_CONDUCT.md) -* [Maintainer guide](https://github.com/dell/ansible-unity/blob/1.7.1/docs/MAINTAINER_GUIDE.md) -* [Committer guide](https://github.com/dell/ansible-unity/blob/1.7.1/docs/COMMITTER_GUIDE.md) -* [Contributing guide](https://github.com/dell/ansible-unity/blob/1.7.1/docs/CONTRIBUTING.md) -* [Branching strategy](https://github.com/dell/ansible-unity/blob/1.7.1/docs/BRANCHING.md) -* [List of adopters](https://github.com/dell/ansible-unity/blob/1.7.1/docs/ADOPTERS.md) -* [Maintainers](https://github.com/dell/ansible-unity/blob/1.7.1/docs/MAINTAINERS.md) -* [Support](https://github.com/dell/ansible-unity/blob/1.7.1/docs/SUPPORT.md) +* [Code of conduct](https://github.com/dell/ansible-unity/blob/2.0.0/docs/CODE_OF_CONDUCT.md) +* [Maintainer guide](https://github.com/dell/ansible-unity/blob/2.0.0/docs/MAINTAINER_GUIDE.md) +* [Committer guide](https://github.com/dell/ansible-unity/blob/2.0.0/docs/COMMITTER_GUIDE.md) +* [Contributing guide](https://github.com/dell/ansible-unity/blob/2.0.0/docs/CONTRIBUTING.md) +* [Branching strategy](https://github.com/dell/ansible-unity/blob/2.0.0/docs/BRANCHING.md) +* [List of adopters](https://github.com/dell/ansible-unity/blob/2.0.0/docs/ADOPTERS.md) +* [Maintainers](https://github.com/dell/ansible-unity/blob/2.0.0/docs/MAINTAINERS.md) +* [Support](https://github.com/dell/ansible-unity/blob/2.0.0/docs/SUPPORT.md) * [License](#license) -* [Security](https://github.com/dell/ansible-unity/blob/1.7.1/docs/SECURITY.md) +* [Security](https://github.com/dell/ansible-unity/blob/2.0.0/docs/SECURITY.md) * [Prerequisites](#prerequisites) * [List of Ansible modules for Dell Unity](#list-of-ansible-modules-for-dell-unity) * [Installation and execution of Ansible modules for Dell Unity](#installation-and-execution-of-ansible-modules-for-dell-unity) * [Releasing, Maintenance and Deprecation](#releasing-maintenance-and-deprecation) ## License -The Ansible collection for Unity is released and licensed under the GPL-3.0 license. See [LICENSE](https://github.com/dell/ansible-unity/blob/1.7.1/LICENSE) for the full terms. Ansible modules and module utilities that are part of the Ansible collection for Unity are released and licensed under the Apache 2.0 license. See [MODULE-LICENSE](https://github.com/dell/ansible-unity/blob/1.7.1/MODULE-LICENSE) for the full terms. +The Ansible collection for Unity is released and licensed under the GPL-3.0 license. See [LICENSE](https://github.com/dell/ansible-unity/blob/2.0.0/LICENSE) for the full terms. Ansible modules and module utilities that are part of the Ansible collection for Unity are released and licensed under the Apache 2.0 license. See [MODULE-LICENSE](https://github.com/dell/ansible-unity/blob/2.0.0/MODULE-LICENSE) for the full terms. ## Supported Platforms - * Dell Unity Arrays version 5.1, 5.2, 5.3 + * Dell Unity Arrays version 5.2, 5.3, 5.4 ## Prerequisites This table provides information about the software prerequisites for the Ansible Modules for Dell Unity. | **Ansible Modules** | **Python version** | **Storops - Python SDK version** | **Ansible** | |---------------------|--------------------|----------------------------------|-------------| -| v1.7.1 | 3.9
3.10
3.11 | 1.2.11 | 2.13
2.14
2.15| +| v2.0.0 | 3.9
3.10
3.11 | 1.2.11 | 2.14
2.15
2.16| ## Idempotency The modules are written in such a way that all requests are idempotent and hence fault-tolerant. It essentially means that the result of a successfully performed request is independent of the number of times it is executed. ## List of Ansible Modules for Dell Unity - * [Consistency group module](https://github.com/dell/ansible-unity/blob/1.7.1/docs/modules/consistencygroup.rst) - * [Filesystem module](https://github.com/dell/ansible-unity/blob/1.7.1/docs/modules/filesystem.rst) - * [Filesystem snapshot module](https://github.com/dell/ansible-unity/blob/1.7.1/docs/modules/filesystem_snapshot.rst) - * [Info module](https://github.com/dell/ansible-unity/blob/1.7.1/docs/modules/info.rst) - * [Host module](https://github.com/dell/ansible-unity/blob/1.7.1/docs/modules/host.rst) - * [CIFS server module](https://github.com/dell/ansible-unity/blob/1.7.1/docs/modules/cifsserver.rst) - * [NAS server module](https://github.com/dell/ansible-unity/blob/1.7.1/docs/modules/nasserver.rst) - * [NFS server module](https://github.com/dell/ansible-unity/blob/1.7.1/docs/modules/nfsserver.rst) - * [NFS export module](https://github.com/dell/ansible-unity/blob/1.7.1/docs/modules/nfs.rst) - * [SMB share module](https://github.com/dell/ansible-unity/blob/1.7.1/docs/modules/smbshare.rst) - * [Interface module](https://github.com/dell/ansible-unity/blob/1.7.1/docs/modules/interface.rst) - * [Snapshot module](https://github.com/dell/ansible-unity/blob/1.7.1/docs/modules/snapshot.rst) - * [Snapshot schedule module](https://github.com/dell/ansible-unity/blob/1.7.1/docs/modules/snapshotschedule.rst) - * [Storage pool module](https://github.com/dell/ansible-unity/blob/1.7.1/docs/modules/storagepool.rst) - * [User quota module](https://github.com/dell/ansible-unity/blob/1.7.1/docs/modules/user_quota.rste) - * [Quota tree module ](https://github.com/dell/ansible-unity/blob/1.7.1/docs/modules/tree_quota.rst) - * [Volume module](https://github.com/dell/ansible-unity/blob/1.7.1/docs/modules/volume.rst) - * [Replication session module](https://github.com/dell/ansible-unity/blob/1.7.1/docs/modules/replication_session.rst) + * [Consistency group module](https://github.com/dell/ansible-unity/blob/2.0.0/docs/modules/consistencygroup.rst) + * [Filesystem module](https://github.com/dell/ansible-unity/blob/2.0.0/docs/modules/filesystem.rst) + * [Filesystem snapshot module](https://github.com/dell/ansible-unity/blob/2.0.0/docs/modules/filesystem_snapshot.rst) + * [Info module](https://github.com/dell/ansible-unity/blob/2.0.0/docs/modules/info.rst) + * [Host module](https://github.com/dell/ansible-unity/blob/2.0.0/docs/modules/host.rst) + * [CIFS server module](https://github.com/dell/ansible-unity/blob/2.0.0/docs/modules/cifsserver.rst) + * [NAS server module](https://github.com/dell/ansible-unity/blob/2.0.0/docs/modules/nasserver.rst) + * [NFS server module](https://github.com/dell/ansible-unity/blob/2.0.0/docs/modules/nfsserver.rst) + * [NFS export module](https://github.com/dell/ansible-unity/blob/2.0.0/docs/modules/nfs.rst) + * [SMB share module](https://github.com/dell/ansible-unity/blob/2.0.0/docs/modules/smbshare.rst) + * [Interface module](https://github.com/dell/ansible-unity/blob/2.0.0/docs/modules/interface.rst) + * [Snapshot module](https://github.com/dell/ansible-unity/blob/2.0.0/docs/modules/snapshot.rst) + * [Snapshot schedule module](https://github.com/dell/ansible-unity/blob/2.0.0/docs/modules/snapshotschedule.rst) + * [Storage pool module](https://github.com/dell/ansible-unity/blob/2.0.0/docs/modules/storagepool.rst) + * [User quota module](https://github.com/dell/ansible-unity/blob/2.0.0/docs/modules/user_quota.rste) + * [Quota tree module ](https://github.com/dell/ansible-unity/blob/2.0.0/docs/modules/tree_quota.rst) + * [Volume module](https://github.com/dell/ansible-unity/blob/2.0.0/docs/modules/volume.rst) + * [Replication session module](https://github.com/dell/ansible-unity/blob/2.0.0/docs/modules/replication_session.rst) ## Installation and execution of Ansible modules for Dell Unity -The installation and execution steps of Ansible modules for Dell Unity can be found [here](https://github.com/dell/ansible-unity/blob/1.7.1/docs/INSTALLATION.md). +The installation and execution steps of Ansible modules for Dell Unity can be found [here](https://github.com/dell/ansible-unity/blob/2.0.0/docs/INSTALLATION.md). ## Releasing, Maintenance and Deprecation @@ -67,6 +67,6 @@ Ansible Modules for Dell Technnologies Unity follows [Semantic Versioning](https New version will be release regularly if significant changes (bug fix or new feature) are made in the collection. -Released code versions are located on "release" branches with names of the form "release-x.y.z" where x.y.z corresponds to the version number. More information on branching strategy followed can be found [here](https://github.com/dell/ansible-unity/blob/1.7.1/docs/BRANCHING.md). +Released code versions are located on "release" branches with names of the form "release-x.y.z" where x.y.z corresponds to the version number. More information on branching strategy followed can be found [here](https://github.com/dell/ansible-unity/blob/2.0.0/docs/BRANCHING.md). Ansible Modules for Dell Technologies Unity deprecation cycle is aligned with that of [Ansible](https://docs.ansible.com/ansible/latest/dev_guide/module_lifecycle.html). diff --git a/changelogs/.plugin-cache.yaml b/changelogs/.plugin-cache.yaml index 5e4c94e..cbb4406 100644 --- a/changelogs/.plugin-cache.yaml +++ b/changelogs/.plugin-cache.yaml @@ -106,4 +106,4 @@ plugins: strategy: {} test: {} vars: {} -version: 1.7.1 +version: 2.0.0 diff --git a/changelogs/changelog.yaml b/changelogs/changelog.yaml index 6ab226a..719a979 100644 --- a/changelogs/changelog.yaml +++ b/changelogs/changelog.yaml @@ -174,3 +174,8 @@ releases: minor_changes: - Patch update to fix import errors in utils file. release_date: '2023-07-31' + 2.0.0: + changes: + major_changes: + - Adding support for Unity Puffin v5.4. + release_date: '2024-03-29' diff --git a/codecov.yml b/codecov.yml new file mode 100644 index 0000000..b4ecea6 --- /dev/null +++ b/codecov.yml @@ -0,0 +1,3 @@ +--- +fixes: + - "/ansible_collections/dellemc/unity/::" diff --git a/docs/CONTRIBUTING.md b/docs/CONTRIBUTING.md index f26c1cd..67199cd 100644 --- a/docs/CONTRIBUTING.md +++ b/docs/CONTRIBUTING.md @@ -10,7 +10,7 @@ You may obtain a copy of the License at # How to contribute -Become one of the contributors to this project! We thrive to build a welcoming and open community for anyone who wants to use the project or contribute to it. There are just a few small guidelines you need to follow. To help us create a safe and positive community experience for all, we require all participants to adhere to the [Code of Conduct](https://github.com/dell/ansible-unity/blob/1.7.1/docs/CODE_OF_CONDUCT.md). +Become one of the contributors to this project! We thrive to build a welcoming and open community for anyone who wants to use the project or contribute to it. There are just a few small guidelines you need to follow. To help us create a safe and positive community experience for all, we require all participants to adhere to the [Code of Conduct](https://github.com/dell/ansible-unity/blob/2.0.0/docs/CODE_OF_CONDUCT.md). ## Table of contents @@ -76,7 +76,7 @@ Triage helps ensure that issues resolve quickly by: If you don't have the knowledge or time to code, consider helping with _issue triage_. The Ansible modules for Dell Unity community will thank you for saving them time by spending some of yours. -Read more about the ways you can [Triage issues](https://github.com/dell/ansible-unity/blob/1.7.1/docs/ISSUE_TRIAGE.md). +Read more about the ways you can [Triage issues](https://github.com/dell/ansible-unity/blob/2.0.0/docs/ISSUE_TRIAGE.md). ## Your first contribution @@ -89,7 +89,7 @@ When you're ready to contribute, it's time to create a pull request. ## Branching -* [Branching Strategy for Ansible modules for Dell Unity](https://github.com/dell/ansible-unity/blob/1.7.1/docs/BRANCHING.md) +* [Branching Strategy for Ansible modules for Dell Unity](https://github.com/dell/ansible-unity/blob/2.0.0/docs/BRANCHING.md) ## Signing your commits @@ -144,7 +144,7 @@ Make sure that the title for your pull request uses the same format as the subje ### Quality gates for pull requests -GitHub Actions are used to enforce quality gates when a pull request is created or when any commit is made to the pull request. These GitHub Actions enforce our minimum code quality requirement for any code that get checked into the repository. If any of the quality gates fail, it is expected that the contributor will look into the check log, understand the problem and resolve the issue. If help is needed, please feel free to reach out the maintainers of the project for [support](https://github.com/dell/ansible-unity/blob/1.7.1/docs/SUPPORT.md). +GitHub Actions are used to enforce quality gates when a pull request is created or when any commit is made to the pull request. These GitHub Actions enforce our minimum code quality requirement for any code that get checked into the repository. If any of the quality gates fail, it is expected that the contributor will look into the check log, understand the problem and resolve the issue. If help is needed, please feel free to reach out the maintainers of the project for [support](https://github.com/dell/ansible-unity/blob/2.0.0/docs/SUPPORT.md). #### Code sanitization diff --git a/docs/INSTALLATION.md b/docs/INSTALLATION.md index e361588..8ab4d19 100644 --- a/docs/INSTALLATION.md +++ b/docs/INSTALLATION.md @@ -35,7 +35,7 @@ You may obtain a copy of the License at * Download the latest tar build from any of the available distribution channel [Ansible Galaxy](https://galaxy.ansible.com/dellemc/unity) /[Automation Hub](https://console.redhat.com/ansible/automation-hub/repo/published/dellemc/unity) and use this command to install the collection anywhere in your system: - ansible-galaxy collection install dellemc-unity-1.7.1.tar.gz -p + ansible-galaxy collection install dellemc-unity-2.0.0.tar.gz -p * Set the environment variable: @@ -62,7 +62,7 @@ You may obtain a copy of the License at ## Ansible modules execution -The Ansible server must be configured with Python library for Unity to run the Ansible playbooks. The [Documents](https://github.com/dell/ansible-unity/blob/1.7.1/docs/) provide information on different Ansible modules along with their functions and syntax. The parameters table in the Product Guide provides information on various parameters which needs to be configured before running the modules. +The Ansible server must be configured with Python library for Unity to run the Ansible playbooks. The [Documents](https://github.com/dell/ansible-unity/blob/2.0.0/docs/) provide information on different Ansible modules along with their functions and syntax. The parameters table in the Product Guide provides information on various parameters which needs to be configured before running the modules. ## SSL certificate validation diff --git a/docs/ISSUE_TRIAGE.md b/docs/ISSUE_TRIAGE.md index 2e25b25..2d448a8 100644 --- a/docs/ISSUE_TRIAGE.md +++ b/docs/ISSUE_TRIAGE.md @@ -41,9 +41,9 @@ This section describes the various issue templates and the expected content. Should explain what happened, what was expected and how to reproduce it together with any additional information that may help giving a complete picture of what happened such as screenshots, output and any environment related information that's applicable and/or maybe related to the reported problem: - - Ansible Version: [e.g. 2.14] + - Ansible Version: [e.g. 2.16] - Python Version [e.g. 3.10] - - Ansible modules for Dell Unity Version: [e.g. 1.7.1] + - Ansible modules for Dell Unity Version: [e.g. 2.0.0] - Unity SDK version: [e.g. Unity 1.2.11] - Any other additional information... diff --git a/docs/MAINTAINER_GUIDE.md b/docs/MAINTAINER_GUIDE.md index a46a3d3..c9687e1 100644 --- a/docs/MAINTAINER_GUIDE.md +++ b/docs/MAINTAINER_GUIDE.md @@ -27,7 +27,7 @@ If a candidate is approved, a Maintainer contacts the candidate to invite them t ## Maintainer policies * Lead by example -* Follow the [Code of Conduct](https://github.com/dell/ansible-unity/blob/1.7.1/docs/CODE_OF_CONDUCT.md) and the guidelines in the [Contributing](https://github.com/dell/ansible-unity/blob/1.7.1/docs/CONTRIBUTING.md) and [Committer](https://github.com/dell/ansible-unity/blob/1.7.1/docs/COMMITTER_GUIDE.md) guides +* Follow the [Code of Conduct](https://github.com/dell/ansible-unity/blob/2.0.0/docs/CODE_OF_CONDUCT.md) and the guidelines in the [Contributing](https://github.com/dell/ansible-unity/blob/2.0.0/docs/CONTRIBUTING.md) and [Committer](https://github.com/dell/ansible-unity/blob/2.0.0/docs/COMMITTER_GUIDE.md) guides * Promote a friendly and collaborative environment within our community * Be actively engaged in discussions, answering questions, updating defects, and reviewing pull requests * Criticize code, not people. Ideally, tell the contributor a better way to do what they need. diff --git a/docs/Release Notes.md b/docs/Release Notes.md index 4243667..966a00f 100644 --- a/docs/Release Notes.md +++ b/docs/Release Notes.md @@ -1,8 +1,8 @@ **Ansible Modules for Dell Technologies Unity** ========================================= -### Release Notes 1.7.1 +### Release Notes 2.0.0 -> © 2022 Dell Inc. or its subsidiaries. All rights reserved. Dell +> © 2024 Dell Inc. or its subsidiaries. All rights reserved. Dell > and other trademarks are trademarks of Dell Inc. or its > subsidiaries. Other trademarks may be trademarks of their respective > owners. @@ -28,7 +28,7 @@ Table 1. Revision history | Revision | Date | Description | |----------|----------------|---------------------------------------------------------| -| 01 | July 2023 | Current release of Ansible Modules for Dell Unity 1.7.1 | +| 01 | March 2024 | Current release of Ansible Modules for Dell Unity 2.0.0 | Product Description ------------------- @@ -38,9 +38,7 @@ New features & enhancements --------------------------- This release has the following changes - -- Support addition of host from the Host List to NFS Export in nfs module. -- Support enable/disable advanced dedup in volume module. -- Add synchronous replication support for filesystem. +- Adding support for Unity Puffin v5.4. Known issues ------------ @@ -71,7 +69,7 @@ for Unity GitHub](https://github.com/dell/ansible-unity/) page. Documentation ------------- -The documentation is available on [Ansible Modules for Unity GitHub](https://github.com/dell/ansible-unity/tree/1.7.1/docs) +The documentation is available on [Ansible Modules for Unity GitHub](https://github.com/dell/ansible-unity/tree/2.0.0/docs) page. It includes the following: - README - Release Notes (this document) diff --git a/docs/SECURITY.md b/docs/SECURITY.md index f77239e..4388acc 100644 --- a/docs/SECURITY.md +++ b/docs/SECURITY.md @@ -12,7 +12,7 @@ You may obtain a copy of the License at The Ansible modules for Dell Unity repository are inspected for security vulnerabilities via blackduck scans and static code analysis. -In addition to this, there are various security checks that get executed against a branch when a pull request is created/updated. Please refer to [pull request](https://github.com/dell/ansible-unity/blob/1.7.1/docs/CONTRIBUTING.md#Pull-requests) for more information. +In addition to this, there are various security checks that get executed against a branch when a pull request is created/updated. Please refer to [pull request](https://github.com/dell/ansible-unity/blob/2.0.0/docs/CONTRIBUTING.md#Pull-requests) for more information. ## Reporting a vulnerability diff --git a/galaxy.yml b/galaxy.yml index e051dd0..81b4739 100644 --- a/galaxy.yml +++ b/galaxy.yml @@ -10,7 +10,7 @@ namespace: dellemc name: unity # The version of the collection. Must be compatible with semantic versioning -version: 1.7.1 +version: 2.0.0 # The path to the Markdown (.md) readme file. This path is relative to the # root of the collection @@ -54,13 +54,13 @@ tags: [storage] dependencies: {} # The URL of the originating SCM repository -repository: https://github.com/dell/ansible-unity/tree/1.7.1 +repository: https://github.com/dell/ansible-unity/tree/2.0.0 # The URL to any online docs -documentation: https://github.com/dell/ansible-unity/tree/1.7.1/docs +documentation: https://github.com/dell/ansible-unity/tree/2.0.0/docs # The URL to the homepage of the collection/project -homepage: https://github.com/dell/ansible-unity/tree/1.7.1 +homepage: https://github.com/dell/ansible-unity/tree/2.0.0 # The URL to the collection issue tracker issues: https://www.dell.com/community/Automation/bd-p/Automation diff --git a/meta/runtime.yml b/meta/runtime.yml index 82e44c7..7dcf8f3 100644 --- a/meta/runtime.yml +++ b/meta/runtime.yml @@ -1,79 +1,64 @@ --- -requires_ansible: ">=2.13" +requires_ansible: ">=2.14" plugin_routing: modules: dellemc_unity_info: - redirect: dellemc.unity.info - deprecation: - removal_date: "2024-03-31" - warning_text: Use info instead. + tombstone: + removal_date: "2024-03-31" + warning_text: Use info instead. dellemc_unity_gatherfacts: - redirect: dellemc.unity.info - deprecation: - removal_date: "2024-03-31" - warning_text: Use info instead. + tombstone: + removal_date: "2024-03-31" + warning_text: Use info instead. dellemc_unity_consistencygroup: - redirect: dellemc.unity.consistencygroup - deprecation: - removal_date: "2024-03-31" - warning_text: Use consistencygroup instead. + tombstone: + removal_date: "2024-03-31" + warning_text: Use consistencygroup instead. dellemc_unity_filesystem_snapshot: - redirect: dellemc.unity.filesystem_snapshot - deprecation: - removal_date: "2024-03-31" - warning_text: Use filesystem_snapshot instead. + tombstone: + removal_date: "2024-03-31" + warning_text: Use filesystem_snapshot instead. dellemc_unity_filesystem: - redirect: dellemc.unity.filesystem - deprecation: - removal_date: "2024-03-31" - warning_text: Use filesystem instead. + tombstone: + removal_date: "2024-03-31" + warning_text: Use filesystem instead. dellemc_unity_host: - redirect: dellemc.unity.host - deprecation: - removal_date: "2024-03-31" - warning_text: Use host instead. + tombstone: + removal_date: "2024-03-31" + warning_text: Use host instead. dellemc_unity_nasserver: - redirect: dellemc.unity.nasserver - deprecation: - removal_date: "2024-03-31" - warning_text: Use nasserver instead. + tombstone: + removal_date: "2024-03-31" + warning_text: Use nasserver instead. dellemc_unity_nfs: - redirect: dellemc.unity.nfs - deprecation: - removal_date: "2024-03-31" - warning_text: Use nfs instead. + tombstone: + removal_date: "2024-03-31" + warning_text: Use nfs instead. dellemc_unity_smbshare: - redirect: dellemc.unity.smbshare - deprecation: - removal_date: "2024-03-31" - warning_text: Use smbshare instead. + tombstone: + removal_date: "2024-03-31" + warning_text: Use smbshare instead. dellemc_unity_snapshot: - redirect: dellemc.unity.snapshot - deprecation: - removal_date: "2024-03-31" - warning_text: Use snapshot instead. + tombstone: + removal_date: "2024-03-31" + warning_text: Use snapshot instead. dellemc_unity_snapshotschedule: - redirect: dellemc.unity.snapshotschedule - deprecation: - removal_date: "2024-03-31" - warning_text: Use snapshotschedule instead. + tombstone: + removal_date: "2024-03-31" + warning_text: Use snapshotschedule instead. dellemc_unity_storagepool: - redirect: dellemc.unity.storagepool - deprecation: - removal_date: "2024-03-31" - warning_text: Use storagepool instead. + tombstone: + removal_date: "2024-03-31" + warning_text: Use storagepool instead. dellemc_unity_tree_quota: - redirect: dellemc.unity.tree_quota - deprecation: - removal_date: "2024-03-31" - warning_text: Use tree_quota instead. + tombstone: + removal_date: "2024-03-31" + warning_text: Use tree_quota instead. dellemc_unity_user_quota: - redirect: dellemc.unity.user_quota - deprecation: - removal_date: "2024-03-31" - warning_text: Use user_quota instead. + tombstone: + removal_date: "2024-03-31" + warning_text: Use user_quota instead. dellemc_unity_volume: - redirect: dellemc.unity.volume - deprecation: - removal_date: "2024-03-31" - warning_text: Use volume instead. + tombstone: + removal_date: "2024-03-31" + warning_text: Use volume instead. diff --git a/plugins/doc_fragments/unity.py b/plugins/doc_fragments/unity.py index 0df4685..a712a80 100644 --- a/plugins/doc_fragments/unity.py +++ b/plugins/doc_fragments/unity.py @@ -1,4 +1,4 @@ -# Copyright: (c) 2020, Dell Technologies. +# Copyright: (c) 2024, Dell Technologies. # Apache License version 2.0 (see MODULE-LICENSE or http://www.apache.org/licenses/LICENSE-2.0.txt) from __future__ import absolute_import, division, print_function @@ -44,7 +44,7 @@ class ModuleDocFragment(object): default: 443 requirements: - A Dell Unity Storage device version 5.1 or later. - - Ansible-core 2.13 or later. + - Ansible-core 2.14 or later. - Python 3.9, 3.10 or 3.11. - Storops Python SDK 1.2.11. notes: diff --git a/tests/sanity/ignore-2.13.txt b/tests/sanity/ignore-2.16.txt similarity index 100% rename from tests/sanity/ignore-2.13.txt rename to tests/sanity/ignore-2.16.txt diff --git a/tests/sanity/ignore-2.17.txt b/tests/sanity/ignore-2.17.txt new file mode 100644 index 0000000..a7aa131 --- /dev/null +++ b/tests/sanity/ignore-2.17.txt @@ -0,0 +1,32 @@ +plugins/modules/consistencygroup.py validate-modules:missing-gplv3-license +plugins/modules/filesystem.py validate-modules:missing-gplv3-license +plugins/modules/filesystem_snapshot.py validate-modules:missing-gplv3-license +plugins/modules/info.py validate-modules:missing-gplv3-license +plugins/modules/host.py validate-modules:missing-gplv3-license +plugins/modules/nasserver.py validate-modules:missing-gplv3-license +plugins/modules/nfs.py validate-modules:missing-gplv3-license +plugins/modules/smbshare.py validate-modules:missing-gplv3-license +plugins/modules/snapshot.py validate-modules:missing-gplv3-license +plugins/modules/snapshotschedule.py validate-modules:missing-gplv3-license +plugins/modules/storagepool.py validate-modules:missing-gplv3-license +plugins/modules/tree_quota.py validate-modules:missing-gplv3-license +plugins/modules/user_quota.py validate-modules:missing-gplv3-license +plugins/modules/volume.py validate-modules:missing-gplv3-license +plugins/modules/cifsserver.py validate-modules:missing-gplv3-license +plugins/modules/nfsserver.py validate-modules:missing-gplv3-license +plugins/modules/host.py import-2.7 +plugins/modules/interface.py import-2.7 +plugins/modules/nfs.py import-2.7 +plugins/modules/nfs.py import-3.5 +plugins/modules/nfs.py compile-2.7 +plugins/modules/nfs.py compile-3.5 +plugins/modules/filesystem.py compile-2.7 +plugins/modules/filesystem.py compile-3.5 +plugins/modules/filesystem.py import-2.7 +plugins/modules/filesystem.py import-3.5 +plugins/modules/interface.py validate-modules:missing-gplv3-license +plugins/modules/replication_session.py validate-modules:missing-gplv3-license +plugins/modules/replication_session.py import-2.7 +plugins/modules/replication_session.py import-3.5 +plugins/modules/replication_session.py compile-2.7 +plugins/modules/replication_session.py compile-3.5 diff --git a/tests/requirements.txt b/tests/unit/requirements.txt similarity index 100% rename from tests/requirements.txt rename to tests/unit/requirements.txt