Skip to content
Merged
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
64 changes: 62 additions & 2 deletions .github/workflows/tests_role_ravendb_node.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,72 @@
name: ravendb_node role tests
name: CI

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
schedule:
- cron: "0 10 * * 1" # every Monday at 10:00 UTC

jobs:
sanity:
name: Ansible Sanity Tests
runs-on: ubuntu-latest
strategy:
matrix:
include:
- python-version: "3.9"
ansible-core: stable-2.15
- python-version: "3.10"
ansible-core: stable-2.15
- python-version: "3.11"
ansible-core: stable-2.15

- python-version: "3.10"
ansible-core: stable-2.16
- python-version: "3.11"
ansible-core: stable-2.16
- python-version: "3.12"
ansible-core: stable-2.16

- python-version: "3.10"
ansible-core: stable-2.17
- python-version: "3.11"
ansible-core: stable-2.17
- python-version: "3.12"
ansible-core: stable-2.17

- python-version: "3.11"
ansible-core: devel
- python-version: "3.12"
ansible-core: devel
- python-version: "3.13"
ansible-core: devel
steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Fix collection path for ansible-test #should be removed once we restructre
run: |
mkdir -p ansible_collections/ravendb/ravendb
rsync -av --exclude ansible_collections ./ ansible_collections/ravendb/ravendb
cd ansible_collections/ravendb/ravendb

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install "ansible-core@https://github.com/ansible/ansible/archive/${{ matrix.ansible-core }}.tar.gz"

- name: Run ansible-test sanity
working-directory: ansible_collections/ravendb/ravendb
run: |
ansible-test sanity --python ${{ matrix.python-version }} --docker -v --color

test-debian-setup-scenarios:
runs-on: ubuntu-latest
steps:
Expand Down Expand Up @@ -118,7 +178,7 @@ jobs:
- name: Build ansible galaxy collection
run: |
ansible-galaxy collection build .
ansible-galaxy collection install ./ravendb-community-*.tar.gz --force -p ./
ansible-galaxy collection install ./ravendb-ravendb-*.tar.gz --force -p ./

- name: Set up .NET environment variables
run: |
Expand Down
18 changes: 18 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Changelog

All notable changes to this project will be documented in this file.

This project follows the [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) principles and the [Ansible collection changelog format](https://docs.ansible.com/ansible/latest/dev_guide/collections_changelogs.html).

The full changelog is maintained in [changelogs/changelog.yml](./changelogs/changelog.yml).

## [1.0.0] - Initial Release

### Added
- Initial release of the `ravendb.ravendb` Ansible Collection.
- Added `ravendb_node` role for setting up RavenDB servers.
- Added `ravendb_python_client_prerequisites` role for managing Python dependencies.
- Added modules:
- `ravendb.ravendb.database` for managing RavenDB databases.
- `ravendb.ravendb.index` for managing RavenDB indexes and index modes.
- `ravendb.ravendb.node` for adding nodes to a RavenDB cluster.
3 changes: 3 additions & 0 deletions CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Community Code of Conduct

Please see the official [Ansible Community Code of Conduct](https://docs.ansible.com/ansible/latest/community/code_of_conduct.html).
Loading