Skip to content

Commit

Permalink
setup cronjob
Browse files Browse the repository at this point in the history
  • Loading branch information
mandeepdhiman123 committed Sep 7, 2020
1 parent e06a646 commit a06a8a5
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 2 deletions.
2 changes: 1 addition & 1 deletion mosip-security-playbook/group_vars/all.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ author: 'Mandeep Dhiman'
scan_policy: 'Default Policy'

#functional testrig variables
testrig_version: '1.1'
#testrig_version: '1.1'
testrig_dir: '{{tools_dir}}/mosip-functional-tests-{{ testrig_version }}/'
functional_test_report_dir: '{{report_dir}}/functional-test/'
module: 'prereg'
Expand Down
6 changes: 6 additions & 0 deletions mosip-security-playbook/playbooks/functional-test-setup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,11 @@

- hosts: security-console
gather_facts: true

vars_prompt:
- name: "testrig_version"
prompt: "Please provide git branch name"
default: "1.1"

roles:
- {role: functional-test-setup, tags: [functional-test-setup]}
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,11 @@

- pause:
prompt: "Do you want to clone and build again (yes/no)?"
default: no
register: check_for_rebuild
when: testrig_folder.stat.exists == true

- pause:
prompt: "Do you want to clone and build again (yes/no)?"
register: check_for_rebuild
when: testrig_folder.stat.exists == true

Expand Down

0 comments on commit a06a8a5

Please sign in to comment.