Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add ansible collection and dependecy for Azure ANF #8

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
---
#
# Copyright 2022 Red Hat inc. Project Atmoshere
#
# This program is free software: you can redistribute it and/or modify it under the terms of the GNU
# General Public License as published by the Free Software Foundation, version 3 of the License.
#
# This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
# See the GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License along with this program.
# If not, see <https://www.gnu.org/licenses/>.

- name: Create
ansible.builtin.import_playbook: molecule.driver.azure_backup
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
---
#
# Copyright 2022 Red Hat inc. Project Atmoshere
#
# This program is free software: you can redistribute it and/or modify it under the terms of the GNU
# General Public License as published by the Free Software Foundation, version 3 of the License.
#
# This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
# See the GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License along with this program.
# If not, see <https://www.gnu.org/licenses/>.

- name: Create
ansible.builtin.import_playbook: molecule.driver.azure_deallocate
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,33 @@ dependency:
command: |
ansible-galaxy install -r $MOLECULE_SCENARIO_DIRECTORY/requirements.yml
pip install -r ~/.ansible/collections/ansible_collections/azure/azcollection/requirements-azure.txt
pip install azure-mgmt-netapp
# yamllint enable rule:line-length

driver:
name: molecule-driver-azure

platforms:

scenario:
create_sequence:
- dependency
- create
converge_sequence:
- dependency
- create
- converge
test_sequence:
- dependency
- destroy
- create
- converge
- idempotence
- verify
- destroy
destroy_sequence:
- destroy

provisioner:
name: ansible
playbooks:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,4 @@ collections:
type: git
version: main
- name: azure.azcollection
- name: netapp.azure
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
---
#
# Copyright 2022 Red Hat inc. Project Atmoshere
#
# This program is free software: you can redistribute it and/or modify it under the terms of the GNU
# General Public License as published by the Free Software Foundation, version 3 of the License.
#
# This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
# See the GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License along with this program.
# If not, see <https://www.gnu.org/licenses/>.

- name: Create
ansible.builtin.import_playbook: molecule.driver.azure_restore
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
---
#
# Copyright 2022 Red Hat inc. Project Atmoshere
#
# This program is free software: you can redistribute it and/or modify it under the terms of the GNU
# General Public License as published by the Free Software Foundation, version 3 of the License.
#
# This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
# See the GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License along with this program.
# If not, see <https://www.gnu.org/licenses/>.

- name: Create
ansible.builtin.import_playbook: molecule.driver.azure_stop
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ dists = clean --all sdist bdist_wheel

# [project]
[metadata]
version = 0.0.5
version = 1.0.0
name = molecule-driver-azure
url = https://github.com/redhat-sap/molecule-driver-azure
project_urls =
Expand Down