Skip to content

Commit

Permalink
Prepare release 2.4.0 (#132)
Browse files Browse the repository at this point in the history
skip-checks:true
  • Loading branch information
resmo authored Aug 23, 2024
1 parent 1f84c5d commit 9f05f80
Show file tree
Hide file tree
Showing 7 changed files with 37 additions and 15 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,14 @@ jobs:
fail-fast: false
matrix:
python-version:
- "3.10"
- "3.11"
group:
- 1
- 2
ansible-branch:
- stable-2.14
- stable-2.17
container-version:
- 1.4.0
- 1.2.0
steps:
- name: Check out code
uses: actions/checkout@v4
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/sanity.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@ jobs:
fail-fast: false
matrix:
ansible:
- stable-2.12
- stable-2.13
- stable-2.14
- devel
runs-on: ubuntu-20.04
- stable-2.15
- stable-2.16
- stable-2.17
- devel
runs-on: ubuntu-22.04
steps:
- name: Check out code
uses: actions/checkout@v4
Expand All @@ -33,7 +33,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.10"
python-version: "3.11"

- name: Install ansible-base (${{ matrix.ansible }})
run: pip install https://github.com/ansible/ansible/archive/${{ matrix.ansible }}.tar.gz --disable-pip-version-check
Expand Down
9 changes: 9 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,15 @@ Apache CloudStack Collection Release Notes
.. contents:: Topics


v2.4.0
======

Minor Changes
-------------

- Added possiblity to disable certs validation using ``validate_certs`` argument (https://github.com/ngine-io/ansible-collection-cloudstack/pull/131).
- cs_project - Extended to pass ``cleanup=true`` to the deleteProject API when deleting a project (https://github.com/ngine-io/ansible-collection-cloudstack/pull/122).

v2.3.0
======

Expand Down
11 changes: 11 additions & 0 deletions changelogs/changelog.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -126,3 +126,14 @@ releases:
- cs_instance-pod-cluster-args.yml
- details_cpu_memory.yml
release_date: '2022-12-04'
2.4.0:
changes:
minor_changes:
- Added possiblity to disable certs validation using ``validate_certs`` argument
(https://github.com/ngine-io/ansible-collection-cloudstack/pull/131).
- cs_project - Extended to pass ``cleanup=true`` to the deleteProject API when
deleting a project (https://github.com/ngine-io/ansible-collection-cloudstack/pull/122).
fragments:
- cs_project_cleanup_true.yml
- validate-certs.yml
release_date: '2024-08-23'
2 changes: 1 addition & 1 deletion galaxy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,4 @@ tags:
- cloud
- cloudstack
- ngine_io
version: 2.3.0
version: 2.4.0
6 changes: 4 additions & 2 deletions plugins/doc_fragments/cloudstack.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,14 @@
# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)

from __future__ import absolute_import, division, print_function

__metaclass__ = type


class ModuleDocFragment(object):

# Standard cloudstack documentation fragment
DOCUMENTATION = r'''
DOCUMENTATION = r"""
options:
api_key:
description:
Expand Down Expand Up @@ -55,10 +56,11 @@ class ModuleDocFragment(object):
- This should only be used on personally controlled sites using self-signed certificates.
type: bool
default: true
version_added: 2.4.0
requirements:
- python >= 2.6
- cs >= 0.9.0
notes:
- A detailed guide about cloudstack modules can be found in the L(CloudStack Cloud Guide,../scenario_guides/guide_cloudstack.html).
- This module supports check mode.
'''
"""
7 changes: 4 additions & 3 deletions plugins/module_utils/cloudstack.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
# Simplified BSD License (see licenses/simplified_bsd.txt or https://opensource.org/licenses/BSD-2-Clause)

from __future__ import absolute_import, division, print_function

__metaclass__ = type


Expand All @@ -11,8 +12,8 @@
import time
import traceback

from ansible.module_utils._text import to_text, to_native
from ansible.module_utils.basic import missing_required_lib, env_fallback
from ansible.module_utils._text import to_native, to_text
from ansible.module_utils.basic import env_fallback, missing_required_lib

CS_IMP_ERR = None
try:
Expand All @@ -35,7 +36,7 @@ def cs_argument_spec():
api_http_method=dict(type='str', fallback=(env_fallback, ['CLOUDSTACK_METHOD']), choices=['get', 'post'], default='get'),
api_timeout=dict(type='int', fallback=(env_fallback, ['CLOUDSTACK_TIMEOUT']), default=10),
api_verify_ssl_cert=dict(type='str', fallback=(env_fallback, ['CLOUDSTACK_VERIFY'])),
validate_certs=dict(type='str', fallback=(env_fallback, ['CLOUDSTACK_DANGEROUS_NO_TLS_VERIFY']), default=True),
validate_certs=dict(type='bool', fallback=(env_fallback, ['CLOUDSTACK_DANGEROUS_NO_TLS_VERIFY']), default=True),
)


Expand Down

0 comments on commit 9f05f80

Please sign in to comment.