Skip to content

Commit

Permalink
Services module (#23)
Browse files Browse the repository at this point in the history
  • Loading branch information
fgiorgetti authored Aug 9, 2023
1 parent cc4fa6d commit cf5d035
Show file tree
Hide file tree
Showing 73 changed files with 2,979 additions and 439 deletions.
17 changes: 14 additions & 3 deletions .github/workflows/pulls.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,20 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
path: ./ansible_collections
- name: Set up Python
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
cache: 'pip'
- name: Install ansible, ansible-lint, yamllint
run: pip3 install yamllint ansible ansible-lint
run: pip3 install yamllint ansible ansible-lint virtualenv
- name: Run ansible-lint
run: make ansible-lint
run: cd ansible_collections && make ansible-lint
- name: Run sanity tests
run: cd ansible_collections && make sanity-tests
- name: Run unit tests
run: |
cd ansible_collections
pip3 install -r ./skupper/network/tests/unit/requirements.txt
make unit-tests
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
*.tar.gz
skupper/network/docs/build
skupper/network/docs/temp-rst
skupper/network/tests/output
__pycache__/
6 changes: 6 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,9 @@ clean:
install:
@[[ -f "$(TARBALL)" ]] && true || (echo "Collection has not been built" && false)
@ansible-galaxy collection install -f "$(TARBALL)"

sanity-tests:
cd skupper/network && ansible-test sanity -v --color

unit-tests:
cd skupper/network && ansible-test units -vvv --color
2 changes: 1 addition & 1 deletion docs/_static/antsibull-minimal.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions docs/collections/index_module.html
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,8 @@ <h2>skupper.network<a class="headerlink" href="#skupper-network" title="Permalin
<ul class="simple">
<li><p><a class="reference internal" href="skupper/network/links_module.html#ansible-collections-skupper-network-links-module"><span class="std std-ref">skupper.network.links</span></a> – Update links based on provided links list</p></li>
<li><p><a class="reference internal" href="skupper/network/links_load_module.html#ansible-collections-skupper-network-links-load-module"><span class="std std-ref">skupper.network.links_load</span></a> – Loads existing links to other sites</p></li>
<li><p><a class="reference internal" href="skupper/network/services_module.html#ansible-collections-skupper-network-services-module"><span class="std std-ref">skupper.network.services</span></a> – Update services based on provided services list</p></li>
<li><p><a class="reference internal" href="skupper/network/services_load_module.html#ansible-collections-skupper-network-services-load-module"><span class="std std-ref">skupper.network.services_load</span></a> – Loads existing services and targets</p></li>
<li><p><a class="reference internal" href="skupper/network/site_load_module.html#ansible-collections-skupper-network-site-load-module"><span class="std std-ref">skupper.network.site_load</span></a> – Loads site information as ansible facts into the respective host</p></li>
</ul>
</section>
Expand Down
4 changes: 3 additions & 1 deletion docs/collections/skupper/network/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@

<section id="skupper-network">
<span id="plugins-in-skupper-network"></span><h1>Skupper.Network<a class="headerlink" href="#skupper-network" title="Permalink to this heading"></a></h1>
<p>Collection version 1.1.0</p>
<p>Collection version 1.1.3</p>
<nav class="contents local" id="contents">
<ul class="simple">
<li><p><a class="reference internal" href="#description" id="id1">Description</a></p></li>
Expand Down Expand Up @@ -160,6 +160,8 @@ <h3>Modules<a class="headerlink" href="#modules" title="Permalink to this headin
<ul class="simple">
<li><p><a class="reference internal" href="links_module.html#ansible-collections-skupper-network-links-module"><span class="std std-ref">links module</span></a> – Update links based on provided links list</p></li>
<li><p><a class="reference internal" href="links_load_module.html#ansible-collections-skupper-network-links-load-module"><span class="std std-ref">links_load module</span></a> – Loads existing links to other sites</p></li>
<li><p><a class="reference internal" href="services_module.html#ansible-collections-skupper-network-services-module"><span class="std std-ref">services module</span></a> – Update services based on provided services list</p></li>
<li><p><a class="reference internal" href="services_load_module.html#ansible-collections-skupper-network-services-load-module"><span class="std std-ref">services_load module</span></a> – Loads existing services and targets</p></li>
<li><p><a class="reference internal" href="site_load_module.html#ansible-collections-skupper-network-site-load-module"><span class="std std-ref">site_load module</span></a> – Loads site information as ansible facts into the respective host</p></li>
</ul>
<div class="toctree-wrapper compound">
Expand Down
Loading

0 comments on commit cf5d035

Please sign in to comment.