File tree Expand file tree Collapse file tree 9 files changed +34
-13
lines changed Expand file tree Collapse file tree 9 files changed +34
-13
lines changed Original file line number Diff line number Diff line change 24
24
uses : ./
25
25
with :
26
26
working-dir : examples/tf11_basic
27
+ output-file : USAGE.md
27
28
template : |-
28
29
<!-- BEGIN_TF_DOCS -->
29
30
# Test tf11 basic
44
45
with :
45
46
working-dir : examples/tf11_extra_args
46
47
output-format : markdown document
48
+ output-file : USAGE.md
47
49
output-method : replace
48
50
args : --sensitive=false --hide requirements --required=false
49
51
indention : 3
@@ -52,41 +54,40 @@ jobs:
52
54
uses : ./
53
55
with :
54
56
working-dir : examples/tf12_basic
55
- output-file : README.md
56
57
indention : 3
57
58
58
59
- name : Should generate README.md for tf12_atlantis
59
60
uses : ./
60
61
with :
61
62
atlantis-file : atlantis.yaml
62
- output-file : README.md
63
63
args : --hide providers
64
64
indention : 3
65
65
66
- - name : Should generate README .md for tf12_find and its submodules
66
+ - name : Should generate USAGE .md for tf12_find and its submodules
67
67
uses : ./
68
68
with :
69
69
find-dir : examples/tf12_find
70
+ output-file : USAGE.md
70
71
71
- - name : Should generate README .md for tf12_find and its submodules recursively
72
+ - name : Should generate USAGE .md for tf12_find and its submodules recursively
72
73
uses : ./
73
74
with :
75
+ # TODO
74
76
working-dir : examples/tf12_find
77
+ output-file : USAGE.md
75
78
recursive : true
76
79
recursive-path : modules
77
80
78
81
- name : Should generate README.md for tf12_config
79
82
uses : ./
80
83
with :
81
84
working-dir : examples/tf12_config
82
- output-file : README.md
83
85
config-file : .terraform-docs.yml
84
86
85
87
- name : Should generate README.md for tf12_inject and push up all changes
86
88
uses : ./
87
89
with :
88
90
working-dir : examples/tf12_inject
89
- output-file : README.md
90
91
args : --sort-by required
91
92
indention : 3
92
93
git-push : true
97
98
uses : ./
98
99
with :
99
100
working-dir : examples/tf12_fail_diff
100
- output-file : README.md
101
101
indention : 3
102
102
fail-on-diff : true
103
103
Original file line number Diff line number Diff line change 7
7
uses : ./
8
8
with :
9
9
working-dir : examples/tf11_basic
10
+ output-file : USAGE.md
10
11
template : |-
11
12
<!-- BEGIN_TF_DOCS -->
12
13
# Test tf11 basic
Original file line number Diff line number Diff line change
1
+ # Test tf11 basic extra args
2
+
3
+ ## Input
4
+
5
+ ``` yaml
6
+ - name : Should generate USAGE.md for tf11_extra_args
7
+ uses : ./
8
+ with :
9
+ working-dir : examples/tf11_extra_args
10
+ output-format : markdown document
11
+ output-file : USAGE.md
12
+ output-method : replace
13
+ args : --sensitive=false --hide requirements --required=false
14
+ indention : 3
15
+ ` ` `
16
+
17
+ ## Verify
18
+
19
+ - Should not have requirements section
20
+ - Should not have sensitive and required columns
21
+
22
+ ## Output
23
+
24
+ See USAGE.md
Original file line number Diff line number Diff line change 7
7
uses : ./
8
8
with :
9
9
atlantis-file : atlantis.yaml
10
- output-file : README.md
11
10
args : --hide providers
12
11
indention : 3
13
12
` ` `
Original file line number Diff line number Diff line change 7
7
uses : ./
8
8
with :
9
9
working-dir : examples/tf12_basic
10
- output-file : README.md
11
10
indention : 3
12
11
` ` `
13
12
Original file line number Diff line number Diff line change 7
7
uses : ./
8
8
with :
9
9
working-dir : examples/tf12_config
10
- output-file : README.md
11
10
config-file : .terraform-docs.yml
12
11
` ` `
13
12
Original file line number Diff line number Diff line change 7
7
uses : ./
8
8
with :
9
9
working-dir : examples/tf12_fail_diff
10
- output-file : README.md
11
10
indention : 3
12
11
fail-on-diff : true
13
12
` ` `
Original file line number Diff line number Diff line change 3
3
## Input
4
4
5
5
``` yaml
6
- - name : Should generate README .md for tf12_find and its submodules
6
+ - name : Should generate USAGE .md for tf12_find and its submodules
7
7
uses : ./
8
8
with :
9
9
find-dir : examples/tf12_find
10
+ output-file : USAGE.md
10
11
` ` `
11
12
12
13
## Verify
Original file line number Diff line number Diff line change 7
7
uses : ./
8
8
with :
9
9
working-dir : examples/tf12_inject
10
- output-file : README.md
11
10
args : --sort-by-required
12
11
indention : 3
13
12
git-push : true
You can’t perform that action at this time.
0 commit comments