Skip to content

Commit 2cd9109

Browse files
committed
Fix release
1 parent ffc2bba commit 2cd9109

File tree

7 files changed

+63
-136
lines changed

7 files changed

+63
-136
lines changed

.github/workflows/lint.yaml

-21
This file was deleted.

.github/workflows/prout.yaml

+29
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: Release
2+
3+
on:
4+
pull_request:
5+
workflow_dispatch:
6+
7+
env:
8+
ACTIONS_STEP_DEBUG: true
9+
10+
jobs:
11+
release:
12+
name: Release
13+
runs-on: ubuntu-24.04
14+
steps:
15+
16+
- name: Checkout
17+
uses: actions/checkout@v4
18+
19+
- name: Get metadata from galaxy.yml
20+
id: metadata
21+
uses: CumulusDS/[email protected]
22+
with:
23+
file: galaxy.yml
24+
25+
- run: |
26+
echo prout start
27+
echo zzz${{ steps.metadata.outputs }}zzz
28+
echo zzz${{ steps.metadata.outputs.version }}zzz
29+
echo prout stop

.github/workflows/release.yaml

-84
This file was deleted.

.github/workflows/test.yaml

-29
This file was deleted.

Makefile

+14-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ lint:
1818
# Test #
1919
########
2020

21-
## Test - Run all tests (but coverage)
21+
## Test - Run all tests (but doc and coverage)
2222
test: test.sanity test.units test.integration
2323
.PHONY: test
2424

@@ -59,6 +59,19 @@ test.integration:
5959
--color yes
6060
.PHONY: test.integration
6161

62+
## Test - Run documentation tests [VERBOSE]
63+
test.doc: SHELL := $(MANALA_DOCKER_SHELL)
64+
test.doc:
65+
$(foreach type,module filter, \
66+
$(foreach plugin,$(shell ansible-doc --list manala.path --type $(type) | cut -d " " -f 1), \
67+
ansible-doc \
68+
$(if $(VERBOSE), --verbose) \
69+
--type $(type) \
70+
$(plugin) && \
71+
) \
72+
) true
73+
.PHONY: test.doc
74+
6275
## Test - Run coverage [VERBOSE]
6376
test.coverage: SHELL := $(MANALA_DOCKER_SHELL)
6477
test.coverage:

plugins/filter/join.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ def join(elements, *paths):
1717

1818

1919
class FilterModule(object):
20-
''' Manala join jinja2 filters '''
20+
''' Manala path join jinja2 filters '''
2121

2222
def filters(self):
2323
filters = {

plugins/filter/join.yml

+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
DOCUMENTATION:
2+
name: join
3+
author:
4+
- Manala (@manala)
5+
short_description: Join path elements list to one or more path components
6+
description:
7+
- Returns a path elements list obtained by joining each element's path to one or more path components.
8+
positional: _input,_paths
9+
options:
10+
_input:
11+
description: A list of elements.
12+
type: list
13+
elements: object
14+
required: true
15+
_paths:
16+
description: A path, or a list of paths.
17+
type: list
18+
elements: str
19+
required: true

0 commit comments

Comments
 (0)