Skip to content
Snippets Groups Projects
Commit 39e650f5 authored by Gioacchino Vino's avatar Gioacchino Vino
Browse files

Removed variable container Python script path

parent 5ae0b3c1
No related branches found
No related tags found
1 merge request!86Debug paas ci
Pipeline #131689 passed
......@@ -3,6 +3,5 @@
paas_ci_orchestrator_url: https://paas.cloud.infn.it/orchestrator
paas_ci_iam_group: admins/cicd
paas_ci_workdir: "{{ lookup('env','WORKSPACE') }}"
paas_ci_scan_script_path: "{{ paas_ci_workdir }}/scan.py"
n_timeout_ticks: 60
endpoints_to_scan: None
\ No newline at end of file
......@@ -9,21 +9,21 @@
- name: Copy scan script
copy:
src: files/scan.py
dest: "{{ paas_ci_scan_script_path }}"
dest: "{{ paas_ci_workdir + '/scan.py }}"
- name: Copy utilities module
copy:
src: files/utilities.py
dest: "{{ paas_ci_scan_script_path }}"
dest: "{{ paas_ci_workdir + '/utilities.py }}"
- name: Copy gvm_library module
copy:
src: files/gvm_library.py
dest: "{{ paas_ci_scan_script_path }}"
dest: "{{ paas_ci_workdir + '/gvm_library.py }}"
- name: Adding execution permission to scan script
file:
dest: "{{ paas_ci_scan_script_path + '/scan.py' }} "
dest: "{{ paas_ci_workdir + '/scan.py }}"
mode: a+x
- name: Show dep json file
......@@ -32,7 +32,7 @@
with_items: "{{ paas_ci_workdir + '/dep.json'}}"
- name: Run scan
command: "{{ paas_ci_scan_script_path }}/scan.py --endpoint-keys {{ paas_ci_test.endpoints_to_scan }} --dep-json {{ paas_ci_workdir + '/dep.json'}} --output-dir {{ paas_ci_workdir }}"
command: "{{ paas_ci_workdir + '/scan.py }} --endpoint-keys {{ paas_ci_test.endpoints_to_scan }} --dep-json {{ paas_ci_workdir + '/dep.json'}} --output-dir {{ paas_ci_workdir }}"
register: scan_output
- name: Scan logs
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment