-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: ansible collection for snowdrop.cloud_infra
docs: improved docs on OpenStack usage feat: playbook to init the ansible controller feat: GoDaddy DNS record manipulation docs: set the README for the roles fix: problems found when deploying kubernetes 1.24.3 cluster
- Loading branch information
1 parent
027fe9f
commit 4995763
Showing
164 changed files
with
5,766 additions
and
844 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
--- | ||
name: Pull Request Test | ||
on: | ||
push: | ||
workflow_dispatch: | ||
pull_request: | ||
|
||
jobs: | ||
test-openstack-roles: | ||
name: Test Collection Openstack Roles | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
openstack_version: ["master"] | ||
# python: [ pypy3.8 ] | ||
python: [ 3.11 ] | ||
roles: [openstack_vm] | ||
steps: | ||
- name: Checkout project | ||
uses: actions/checkout@v3 | ||
- name: Deploy devstack | ||
uses: EmilienM/[email protected] | ||
with: | ||
branch: ${{ matrix.openstack_version }} | ||
enabled_services: 'ir-api,s-account,s-container,s-object,s-proxy,swift' | ||
cache: devstack | ||
- name: Install Python | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: ${{ matrix.python }} | ||
cache: pip | ||
- name: Install python requirements | ||
run: pip install -r requirements.txt | ||
- name: Build Ansible Collection | ||
run: ansible-galaxy collection build ansible/ansible_collections/snowdrop/cloud_infra --output build/ --force | ||
- name: Install Ansible Collection | ||
run: ansible-galaxy collection install build/snowdrop-cloud_infra-$(yq -r .version ansible/ansible_collections/snowdrop/cloud_infra/galaxy.yml).tar.gz --upgrade | ||
- name: Run tests | ||
run: | | ||
molecule test --scenario-name github | ||
working-directory: ansible/ansible_collections/snowdrop/cloud_infra/roles/${{ matrix.roles }} | ||
... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,12 @@ | ||
[defaults] | ||
# tag::inventory_location[] | ||
inventory = ansible/inventory/ | ||
# Needed to be able to override selected variables from the command line | ||
# end::inventory_location[] | ||
|
||
hash_behaviour = merge | ||
roles_path = ansible/roles/ | ||
|
||
# callback plugins: | ||
# . profile_tasks: Shows time each task took | ||
callback_whitelist = profile_tasks | ||
gather_timeout = 5000 | ||
|
||
log_path=/opt/log/ansible.log |
Oops, something went wrong.