Skip to content

Commit

Permalink
cqfd: add the export flavor
Browse files Browse the repository at this point in the history
This flavor exports SEAPATH ansible repository into the ansible.tar.gz
archive.

Signed-off-by: Mathieu Dupré <[email protected]>
  • Loading branch information
dupremathieu authored and insatomcat committed Nov 16, 2022
1 parent f249aac commit d147c19
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .cqfdrc
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[project]
org='rte'
name='ansible'
flavors='prepare manual module_documentation'
flavors='prepare manual module_documentation export'

[build]
command='check_yaml'
Expand All @@ -14,3 +14,6 @@ command='asciidoctor-pdf README.adoc OVS_configuration.adoc'

[module_documentation]
command='./generate_module_documentation.sh'

[export]
command='rm -f ansible.tar.gz && ./prepare.sh && tar --exclude=ansible.tar.gz --exclude=.git -czf ansible.tar.gz .'
6 changes: 6 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,9 @@ module_documentation
# Ignore python cache files
__pycache__/
.pyc

# Ignore test template xml
templates/vm/test.xml.j2

# Ignore exported archive
/ansible.tar.gz

0 comments on commit d147c19

Please sign in to comment.