Skip to content

Commit

Permalink
Basic project structure
Browse files Browse the repository at this point in the history
  • Loading branch information
mandeepdhiman123 committed Aug 21, 2020
1 parent 1f7a329 commit fbe7466
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 13 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 @@ -20,7 +20,7 @@ tools_dir: '/home/mosipuser/securitytools/'
#Robo framework variables
root_dir: '/home/mosipuser/'
zap_dir: '{{tools_dir}}/zap/'
testrig_dir: '{{tools_dir}}/testrig'
testrig_dir: '{{tools_dir}}/mosip-functional-tests-{{ testrig_version }}'
report_dir: '/home/mosipuser/reports/'
target_name: 'Mosip'
target_uri: 'https://qa.mosip.net/'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,32 +1,32 @@
- name: Download and Unarchive Functional Test
unarchive:
src: "https://github.com/mosip/mosip-functional-tests/archive/{{ testrig_version }}.zip"
dest: "{{ tools_dir }}"
remote_src: yes

- name: Check testrig directory.
stat:
path: "{{ tools_dir }}/testrig"
path: "{{ testrig_dir }}"
register: testrig_folder

- name: "Delete directory if already exists"
file:
path: "{{ tools_dir }}/testrig"
path: "{{ testrig_dir }}"
state: absent
when: testrig_folder.stat.exists == true

- name: Move versioned testrig to generic dir
command: "mv {{ tools_dir }}/mosip-functional-tests-{{ testrig_version }} {{ testrig_dir }}"

- name: Update maven repository with settings file
copy:
src: "{{ item }}"
dest: "{{ maven_dir }}"
with_fileglob:
- "{{ utils_dir }}/settings.xml"

- name: Download and Unarchive Functional Test
unarchive:
src: "https://github.com/mosip/mosip-functional-tests/archive/{{ testrig_version }}.zip"
dest: "{{ tools_dir }}"
remote_src: yes

#- name: Move versioned testrig to generic dir
# command: "mv {{ tools_dir }}/mosip-functional-tests-{{ testrig_version }} {{ testrig_dir }}"

- name: Bulding partner demo service for dependency
shell: "cd {{ tools_dir }}testrig/authentication-partnerdemo-service/ && mvn clean install"
shell: "cd {{ testrig_dir }}/authentication-partnerdemo-service/ && mvn clean install"

- name: Bulding test-rig
shell: "cd {{ testrig_dir }}/automationtests && mvn clean install"
Expand Down

0 comments on commit fbe7466

Please sign in to comment.