Add Note to modules which don't support Idempotency

This commit is contained in:
Ishan Jain 2022-11-10 12:49:25 +05:30 committed by GitHub
parent 8bf0298bc1
commit 05d7af3c6c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
8 changed files with 30 additions and 9 deletions

View File

@ -5,6 +5,19 @@ Grafana.Grafana Release Notes
.. contents:: Topics .. contents:: Topics
v1.0.5
======
Release Summary
---------------
Add Note to modules which don't support Idempotency
Minor Changes
-------------
- Added Note to datasource and dashboard module about not supporting Idempotency
v1.0.4 v1.0.4
====== ======

View File

@ -98,7 +98,7 @@ We plan to regularly release new minor or bugfix versions once new features or b
Releasing the current major version on GitHub happens from the `main` branch by the [GitHub Release Workflow](https://github.com/grafana/grafana-ansible-collection/blob/main/.github/workflows/release.yml) Releasing the current major version on GitHub happens from the `main` branch by the [GitHub Release Workflow](https://github.com/grafana/grafana-ansible-collection/blob/main/.github/workflows/release.yml)
Before the [GitHub Release Workflow](https://github.com/grafana/grafana-ansible-collection/blob/main/.github/workflows/release.yml) is run, Contributors should push the new version on Ansible Galaxy Manually. Before the [GitHub Release Workflow](https://github.com/grafana/grafana-ansible-collection/blob/main/.github/workflows/release.yml) is run, Contributors should push the new version on Ansible Galaxy Manually.
We currently are not planning any deprecations or new major releases. The current landscape includes minor version updates for Module's documentation in 1.0.5. We currently are not planning any deprecations or new major releases. The current landscape includes minor version updates for Module's documentation in 1.0.6.
## Code of Conduct ## Code of Conduct
This collection follows the Ansible project's [Code of Conduct](https://docs.ansible.com/ansible/devel/community/code_of_conduct.html). Please read and familiarize yourself with this doc This collection follows the Ansible project's [Code of Conduct](https://docs.ansible.com/ansible/devel/community/code_of_conduct.html). Please read and familiarize yourself with this doc

View File

@ -53,4 +53,4 @@ plugins:
shell: {} shell: {}
strategy: {} strategy: {}
vars: {} vars: {}
version: 1.0.4 version: 1.0.5

View File

@ -63,3 +63,9 @@ releases:
when required library is missing from host when required library is missing from host
release_summary: Bug fixes and idempotency fixes for modules release_summary: Bug fixes and idempotency fixes for modules
release_date: '2022-11-01' release_date: '2022-11-01'
1.0.5:
changes:
minor_changes:
- Added Note to datasource and dashboard module about not supporting Idempotency
release_summary: Add Note to modules which don't support Idempotency
release_date: '2022-11-10'

View File

@ -1,6 +1,6 @@
namespace: grafana namespace: grafana
name: grafana name: grafana
version: 1.0.4 version: 1.0.5
readme: README.md readme: README.md
authors: authors:
- Grafana Labs <grafana.com> - Grafana Labs <grafana.com>

View File

@ -18,6 +18,7 @@ description:
requirements: [ "requests >= 1.0.0" ] requirements: [ "requests >= 1.0.0" ]
notes: notes:
- Does not support C(check_mode). - Does not support C(check_mode).
- Does not support C(Idempotency).
options: options:
dashboard: dashboard:
description: description:

View File

@ -18,6 +18,7 @@ description:
requirements: [ "requests >= 1.0.0" ] requirements: [ "requests >= 1.0.0" ]
notes: notes:
- Does not support C(check_mode). - Does not support C(check_mode).
- Does not support C(Idempotency).
options: options:
dataSource: dataSource:
description: description:

View File

@ -1,7 +1,7 @@
- name: Create a Grafana Cloud stack - name: Create a Grafana Cloud stack
grafana.grafana.cloud_stack: grafana.grafana.cloud_stack:
name: ansiblestack name: ansiblestacktest
stack_slug: ansiblestack stack_slug: ansiblestacktest
cloud_api_key: "{{ grafana_cloud_api_key }}" cloud_api_key: "{{ grafana_cloud_api_key }}"
org_slug: "{{ org_name }}" org_slug: "{{ org_name }}"
state: present state: present
@ -9,7 +9,7 @@
- assert: - assert:
that: that:
- create_result.url == "https://ansiblestack.grafana.net" - create_result.url == "https://ansiblestacktest.grafana.net"
- name: Sleep for 30 seconds - name: Sleep for 30 seconds
ansible.builtin.wait_for: ansible.builtin.wait_for:
@ -17,8 +17,8 @@
- name: Delete a Grafana Cloud stack - name: Delete a Grafana Cloud stack
grafana.grafana.cloud_stack: grafana.grafana.cloud_stack:
name: ansiblestack name: ansiblestacktest
stack_slug: ansiblestack stack_slug: ansiblestacktest
cloud_api_key: "{{ grafana_cloud_api_key }}" cloud_api_key: "{{ grafana_cloud_api_key }}"
org_slug: "{{ org_name }}" org_slug: "{{ org_name }}"
state: absent state: absent
@ -27,4 +27,4 @@
- assert: - assert:
that: that:
- delete_result.changed == true - delete_result.changed == true
- delete_result.url == "https://ansiblestack.grafana.net" - delete_result.url == "https://ansiblestacktest.grafana.net"