Merge "Limit IPv4/IPv6 Prefix length in case of contrail deployment"
diff --git a/runtest/artifact_collector.sls b/runtest/artifact_collector.sls
index a5a1057..9c7f46e 100644
--- a/runtest/artifact_collector.sls
+++ b/runtest/artifact_collector.sls
@@ -32,19 +32,20 @@
{%- for artifact_name, artifact_params in artifact_collector.artifacts.iteritems() %}
{%- if salt['file.file_exists'](artifact_params.path) or salt['file.directory_exists'](artifact_params.path) %}
-{%- set zip_file = "/tmp/"+artifact_name+".zip" %}
+{%- set tar_file = "/tmp/"+artifact_name+".tar.gz" %}
-zip_{{artifact_name}}:
+tar_{{artifact_name}}:
module.run:
- - name: archive.zip
- - zip_file: {{ zip_file }}
+ - name: archive.tar
+ - options: czvf
+ - tarfile: {{ tar_file }}
- sources: {{ artifact_params.path }}
{%- if artifact_collector.get('artifactory', {}).get('enabled', False) %}
deploy_{{artifact_name}}:
module.run:
- name: artifactory.deploy_artifact
- - source_file: {{ zip_file }}
+ - source_file: {{ tar_file }}
- endpoint: {{ artifact_collector.artifactory.endpoint }}
- require:
- pkg: required_artifact_pkgs