diff --git a/Ansible/ansible_collections/jfrog/installers/README.md b/Ansible/ansible_collections/jfrog/installers/README.md
index bb6b243..88f2bdf 100644
--- a/Ansible/ansible_collections/jfrog/installers/README.md
+++ b/Ansible/ansible_collections/jfrog/installers/README.md
@@ -1,13 +1,6 @@
# JFrog Ansible Installers Collection
-This Ansible directory consists of the following directories that support the JFrog Ansible collection.
-
- * [ansible_collections directory](ansible_collections) - This directory contains the Ansible collection package that has the Ansible roles for Artifactory and Xray. See the collection [README](ansible_collections/README.md) for details on the available roles and variables.
- * [examples directory](examples) - This directory contains example playbooks for various architectures from single Artifactory (RT) deployments to high-availability setups.
- * [infra directory](infra) - This directory contains example infrastructure templates that can be used for testing and as example deployments.
- * [test directory](test) - This directory contains Gradle tests that can be used to verify a deployment. It also has Ansible playbooks for creating infrastructure, provisioning software and testing with Gradle.
-
- ## Getting Started
+## Getting Started
1. Install this collection from Ansible Galaxy. This collection is also available in RedHat Automation Hub.
@@ -29,9 +22,9 @@ This Ansible directory consists of the following directories that support the JF
2. Ansible uses SSH to connect to hosts. Ensure that your SSH private key is on your client and the public keys are installed on your Ansible hosts.
- 3. Create your inventory file. Use one of the examples from the [examples directory](examples) to construct an inventory file (hosts.yml) with the host addresses and variables.
+ 3. Create your inventory file. Use one of the examples from the [examples directory](https://github.com/jfrog/JFrog-Cloud-Installers/tree/master/Ansible/examples) to construct an inventory file (hosts.yml) with the host addresses and variables.
- 4. Create your playbook. Use one of the examples from the [examples directory](examples) to construct a playbook using the JFrog Ansible roles. These roles will be applied to your inventory and provision software.
+ 4. Create your playbook. Use one of the examples from the [examples directory](https://github.com/jfrog/JFrog-Cloud-Installers/tree/master/Ansible/examples) to construct a playbook using the JFrog Ansible roles. These roles will be applied to your inventory and provision software.
5. Then execute with the following command to provision the JFrog software with Ansible. Variables can also be passed in at the command-line.
@@ -74,4 +67,23 @@ ansible_ssh_common_args: '-o ProxyCommand="ssh -o StrictHostKeyChecking=no -A us
eg.
ansible_ssh_common_args: '-o ProxyCommand="ssh -o StrictHostKeyChecking=no -A ubuntu@{{ azureDeployment.deployment.outputs.lbIp.value }} -W %h:%p"'
+```
+
+## Upgrades
+The Artifactory and Xray roles support software upgrades. To use a role to perform a software upgrade only, use the _artifactory_upgrade_only_ or _xray_upgrade_only_ variables and specify the version. See the following example.
+
+```
+- hosts: artifactory
+ vars:
+ artifactory_version: "{{ lookup('env', 'artifactory_version_upgrade') }}"
+ artifactory_upgrade_only: true
+ roles:
+ - artifactory
+
+- hosts: xray
+ vars:
+ xray_version: "{{ lookup('env', 'xray_version_upgrade') }}"
+ xray_upgrade_only: true
+ roles:
+ - xray
```
\ No newline at end of file
diff --git a/Ansible/ansible_collections/jfrog/installers/galaxy.yml b/Ansible/ansible_collections/jfrog/installers/galaxy.yml
index 45c190b..f507c41 100644
--- a/Ansible/ansible_collections/jfrog/installers/galaxy.yml
+++ b/Ansible/ansible_collections/jfrog/installers/galaxy.yml
@@ -9,7 +9,7 @@ namespace: "jfrog"
name: "installers"
# The version of the collection. Must be compatible with semantic versioning
-version: "1.0.7"
+version: "1.0.8"
# The path to the Markdown (.md) readme file. This path is relative to the root of the collection
readme: "README.md"
diff --git a/Ansible/ansible_collections/jfrog/installers/jfrog-installers-1.0.7.tar.gz b/Ansible/ansible_collections/jfrog/installers/jfrog-installers-1.0.7.tar.gz
deleted file mode 100644
index 5c37244..0000000
Binary files a/Ansible/ansible_collections/jfrog/installers/jfrog-installers-1.0.7.tar.gz and /dev/null differ
diff --git a/Ansible/ansible_collections/jfrog/installers/jfrog-installers-1.0.8.tar.gz b/Ansible/ansible_collections/jfrog/installers/jfrog-installers-1.0.8.tar.gz
new file mode 100644
index 0000000..51d104e
Binary files /dev/null and b/Ansible/ansible_collections/jfrog/installers/jfrog-installers-1.0.8.tar.gz differ
diff --git a/Ansible/ansible_collections/jfrog/installers/roles/artifactory/README.md b/Ansible/ansible_collections/jfrog/installers/roles/artifactory/README.md
index 606a51c..cf6c2a5 100644
--- a/Ansible/ansible_collections/jfrog/installers/roles/artifactory/README.md
+++ b/Ansible/ansible_collections/jfrog/installers/roles/artifactory/README.md
@@ -14,6 +14,7 @@ The artifactory role installs the Artifactory Pro software onto the host. Per th
* _server_name_: This is the server name. eg. "artifactory.54.175.51.178.xip.io"
* _system_file_: Your own [system YAML](https://www.jfrog.com/confluence/display/JFROG/System+YAML+Configuration+File) file can be specified and used. **If specified, this file will be used rather than constructing a file from the parameters above.**
* _binary_store_file_: Your own [binary store file](https://www.jfrog.com/confluence/display/JFROG/Configuring+the+Filestore) can be used. If specified, the default cluster-file-system will not be used.
+* _artifactory_upgrade_only_: Perform an software upgrade only. Default is false.
### primary vars (vars used by the primary Artifactory server)
* _artifactory_is_primary_: For the primary node this must be set to **true**.
@@ -29,4 +30,16 @@ The artifactory role installs the Artifactory Pro software onto the host. Per th
- hosts: primary
roles:
- artifactory
+```
+
+## Upgrades
+The Artifactory role supports software upgrades. To use a role to perform a software upgrade only, use the _artifactory_upgrade_only_ variable and specify the version. See the following example.
+
+```
+- hosts: artifactory
+ vars:
+ artifactory_version: "{{ lookup('env', 'artifactory_version_upgrade') }}"
+ artifactory_upgrade_only: true
+ roles:
+ - artifactory
```
\ No newline at end of file
diff --git a/Ansible/ansible_collections/jfrog/installers/roles/artifactory/defaults/main.yml b/Ansible/ansible_collections/jfrog/installers/roles/artifactory/defaults/main.yml
index 9e64a78..490b1bd 100644
--- a/Ansible/ansible_collections/jfrog/installers/roles/artifactory/defaults/main.yml
+++ b/Ansible/ansible_collections/jfrog/installers/roles/artifactory/defaults/main.yml
@@ -20,7 +20,7 @@ artifactory_ha_enabled: true
artifactory_is_primary: true
# The location where Artifactory should install.
-artifactory_download_directory: /opt/jfrog
+jfrog_home_directory: /opt/jfrog
# The location where Artifactory should store data.
artifactory_file_store_dir: /data
@@ -31,7 +31,8 @@ artifactory_flavour: pro
extra_java_opts: -server -Xms2g -Xmx14g -Xss256k -XX:+UseG1GC
artifactory_tar: https://dl.bintray.com/jfrog/artifactory-pro/org/artifactory/pro/jfrog-artifactory-pro/{{ artifactory_version }}/jfrog-artifactory-pro-{{ artifactory_version }}-linux.tar.gz
-artifactory_home: "{{ artifactory_download_directory }}/artifactory-{{ artifactory_flavour }}-{{ artifactory_version }}"
+artifactory_home: "{{ jfrog_home_directory }}/artifactory"
+artifactory_untar_home: "{{ jfrog_home_directory }}/artifactory-{{ artifactory_flavour }}-{{ artifactory_version }}"
artifactory_user: artifactory
artifactory_group: artifactory
@@ -46,3 +47,6 @@ service_list:
status_pattern: artifactory
user_name: "{{ artifactory_user }}"
group_name: "{{ artifactory_group }}"
+
+# if this is an upgrade
+artifactory_upgrade_only: false
\ No newline at end of file
diff --git a/Ansible/ansible_collections/jfrog/installers/roles/artifactory/tasks/install.yml b/Ansible/ansible_collections/jfrog/installers/roles/artifactory/tasks/install.yml
new file mode 100644
index 0000000..a97d554
--- /dev/null
+++ b/Ansible/ansible_collections/jfrog/installers/roles/artifactory/tasks/install.yml
@@ -0,0 +1,166 @@
+---
+- debug:
+ msg: "Performing installation of Artifactory..."
+
+- name: install nginx
+ include_role:
+ name: artifactory_nginx
+
+- name: create group for artifactory
+ group:
+ name: "{{ artifactory_group }}"
+ state: present
+ become: yes
+
+- name: create user for artifactory
+ user:
+ name: "{{ artifactory_user }}"
+ group: "{{ artifactory_group }}"
+ system: yes
+ become: yes
+
+- name: ensure jfrog_home_directory exists
+ file:
+ path: "{{ jfrog_home_directory }}"
+ state: directory
+ become: yes
+
+- name: download artifactory
+ unarchive:
+ src: "{{ artifactory_tar }}"
+ dest: "{{ jfrog_home_directory }}"
+ remote_src: yes
+ owner: "{{ artifactory_user }}"
+ group: "{{ artifactory_group }}"
+ creates: "{{ artifactory_untar_home }}"
+ become: yes
+ register: downloadartifactory
+ until: downloadartifactory is succeeded
+ retries: 3
+
+- name: MV untar directory to artifactory home
+ command: "mv {{ artifactory_untar_home }} {{ artifactory_home }}"
+ become: yes
+
+- name: ensure artifactory_file_store_dir exists
+ file:
+ path: "{{ artifactory_file_store_dir }}"
+ state: directory
+ owner: "{{ artifactory_user }}"
+ group: "{{ artifactory_group }}"
+ become: yes
+
+- name: ensure etc exists
+ file:
+ path: "{{ artifactory_home }}/var/etc"
+ state: directory
+ owner: "{{ artifactory_user }}"
+ group: "{{ artifactory_group }}"
+ become: yes
+
+- name: use specified system yaml
+ copy:
+ src: "{{ system_file }}"
+ dest: "{{ artifactory_home }}/var/etc/system.yaml"
+ become: yes
+ when: system_file is defined
+
+- name: configure system yaml
+ template:
+ src: system.yaml.j2
+ dest: "{{ artifactory_home }}/var/etc/system.yaml"
+ become: yes
+ when: system_file is not defined
+
+- name: ensure {{ artifactory_home }}/var/etc/security/ exists
+ file:
+ path: "{{ artifactory_home }}/var/etc/security/"
+ state: directory
+ owner: "{{ artifactory_user }}"
+ group: "{{ artifactory_group }}"
+ become: yes
+
+- name: configure master key
+ template:
+ src: master.key.j2
+ dest: "{{ artifactory_home }}/var/etc/security/master.key"
+ become: yes
+
+- name: configure join key
+ template:
+ src: join.key.j2
+ dest: "{{ artifactory_home }}/var/etc/security/join.key"
+ become: yes
+
+- name: ensure {{ artifactory_home }}/var/etc/artifactory/info/ exists
+ file:
+ path: "{{ artifactory_home }}/var/etc/artifactory/info/"
+ state: directory
+ owner: "{{ artifactory_user }}"
+ group: "{{ artifactory_group }}"
+ become: yes
+
+- name: configure installer info
+ template:
+ src: installer-info.json.j2
+ dest: "{{ artifactory_home }}/var/etc/artifactory/info/installer-info.json"
+ become: yes
+
+- name: use specified binary store
+ copy:
+ src: "{{ binary_store_file }}"
+ dest: "{{ artifactory_home }}/var/etc/binarystore.xml"
+ become: yes
+ when: binary_store_file is defined
+
+- name: use default binary store
+ template:
+ src: binarystore.xml.j2
+ dest: "{{ artifactory_home }}/var/etc/binarystore.xml"
+ become: yes
+ when: binary_store_file is not defined
+
+- name: use license file
+ copy:
+ src: "{{ artifactory_license_file }}"
+ dest: "{{ artifactory_home }}/var/etc/artifactory/artifactory.cluster.license"
+ become: yes
+ when: artifactory_license_file is defined and artifactory_is_primary == true
+
+- name: use license strings
+ template:
+ src: artifactory.cluster.license.j2
+ dest: "{{ artifactory_home }}/var/etc/artifactory/artifactory.cluster.license"
+ become: yes
+ when: artifactory_license_file is not defined and artifactory_is_primary == true
+
+- name: download database driver
+ get_url:
+ url: "{{ db_download_url }}"
+ dest: "{{ artifactory_home }}/var/bootstrap/artifactory/tomcat/lib"
+ owner: "{{ artifactory_user }}"
+ group: "{{ artifactory_group }}"
+ become: yes
+
+- name: create artifactory service
+ shell: "{{ artifactory_home }}/app/bin/installService.sh"
+ become: yes
+
+- name: start and enable the primary node
+ service:
+ name: artifactory
+ state: restarted
+ become: yes
+ when: artifactory_is_primary == true
+
+- name: random wait before restarting to prevent secondary nodes from hitting DB first
+ pause:
+ seconds: "{{ 120 | random + 10}}"
+ when: artifactory_is_primary == false
+
+- name: start and enable the secondary nodes
+ service:
+ name: artifactory
+ state: restarted
+ become: yes
+ when: artifactory_is_primary == false
diff --git a/Ansible/ansible_collections/jfrog/installers/roles/artifactory/tasks/main.yml b/Ansible/ansible_collections/jfrog/installers/roles/artifactory/tasks/main.yml
index 63cfd3b..3afccb3 100644
--- a/Ansible/ansible_collections/jfrog/installers/roles/artifactory/tasks/main.yml
+++ b/Ansible/ansible_collections/jfrog/installers/roles/artifactory/tasks/main.yml
@@ -1,160 +1,6 @@
----
-# tasks file for artifactory
-- name: install nginx
- include_role:
- name: artifactory_nginx
-
-- name: create group for artifactory
- group:
- name: "{{ artifactory_group }}"
- state: present
- become: yes
-
-- name: create user for artifactory
- user:
- name: "{{ artifactory_user }}"
- group: "{{ artifactory_group }}"
- system: yes
- become: yes
-
-- name: ensure artifactory_download_directory exists
- file:
- path: "{{ artifactory_download_directory }}"
- state: directory
- become: yes
-
-- name: download artifactory
- unarchive:
- src: "{{ artifactory_tar }}"
- dest: "{{ artifactory_download_directory }}"
- remote_src: yes
- owner: "{{ artifactory_user }}"
- group: "{{ artifactory_group }}"
- creates: "{{ artifactory_home }}"
- become: yes
- register: downloadartifactory
- until: downloadartifactory is succeeded
- retries: 3
-
-- name: ensure artifactory_file_store_dir exists
- file:
- path: "{{ artifactory_file_store_dir }}"
- state: directory
- owner: "{{ artifactory_user }}"
- group: "{{ artifactory_group }}"
- become: yes
-
-- name: ensure etc exists
- file:
- path: "{{ artifactory_home }}/var/etc"
- state: directory
- owner: "{{ artifactory_user }}"
- group: "{{ artifactory_group }}"
- become: yes
-
-- name: use specified system yaml
- copy:
- src: "{{ system_file }}"
- dest: "{{ artifactory_home }}/var/etc/system.yaml"
- become: yes
- when: system_file is defined
-
-- name: configure system yaml
- template:
- src: system.yaml.j2
- dest: "{{ artifactory_home }}/var/etc/system.yaml"
- become: yes
- when: system_file is not defined
-
-- name: ensure {{ artifactory_home }}/var/etc/security/ exists
- file:
- path: "{{ artifactory_home }}/var/etc/security/"
- state: directory
- owner: "{{ artifactory_user }}"
- group: "{{ artifactory_group }}"
- become: yes
-
-- name: configure master key
- template:
- src: master.key.j2
- dest: "{{ artifactory_home }}/var/etc/security/master.key"
- become: yes
-
-- name: configure join key
- template:
- src: join.key.j2
- dest: "{{ artifactory_home }}/var/etc/security/join.key"
- become: yes
-
-- name: ensure {{ artifactory_home }}/var/etc/artifactory/info/ exists
- file:
- path: "{{ artifactory_home }}/var/etc/artifactory/info/"
- state: directory
- owner: "{{ artifactory_user }}"
- group: "{{ artifactory_group }}"
- become: yes
-
-- name: configure installer info
- template:
- src: installer-info.json.j2
- dest: "{{ artifactory_home }}/var/etc/artifactory/info/installer-info.json"
- become: yes
-
-- name: use specified binary store
- copy:
- src: "{{ binary_store_file }}"
- dest: "{{ artifactory_home }}/var/etc/binarystore.xml"
- become: yes
- when: binary_store_file is defined
-
-- name: use default binary store
- template:
- src: binarystore.xml.j2
- dest: "{{ artifactory_home }}/var/etc/binarystore.xml"
- become: yes
- when: binary_store_file is not defined
-
-- name: use license file
- copy:
- src: "{{ artifactory_license_file }}"
- dest: "{{ artifactory_home }}/var/etc/artifactory/artifactory.cluster.license"
- become: yes
- when: artifactory_license_file is defined and artifactory_is_primary == true
-
-- name: use license strings
- template:
- src: artifactory.cluster.license.j2
- dest: "{{ artifactory_home }}/var/etc/artifactory/artifactory.cluster.license"
- become: yes
- when: artifactory_license_file is not defined and artifactory_is_primary == true
-
-- name: download database driver
- get_url:
- url: "{{ db_download_url }}"
- dest: "{{ artifactory_home }}/var/bootstrap/artifactory/tomcat/lib"
- owner: "{{ artifactory_user }}"
- group: "{{ artifactory_group }}"
- become: yes
-
-- name: create artifactory service
- shell: "{{ artifactory_home }}/app/bin/installService.sh"
- become: yes
-
-- name: start and enable the primary node
- service:
- name: artifactory
- state: restarted
- become: yes
- when: artifactory_is_primary == true
-
-- name: random wait before restarting to prevent secondary nodes from hitting DB first
- pause:
- seconds: "{{ 120 | random + 10}}"
- when: artifactory_is_primary == false
-
-- name: start and enable the secondary nodes
- service:
- name: artifactory
- state: restarted
- become: yes
- when: artifactory_is_primary == false
+- name: perform installation
+ include_tasks: "install.yml"
+ when: not artifactory_upgrade_only
+- name: perform upgrade
+ include_tasks: "upgrade.yml"
+ when: artifactory_upgrade_only
\ No newline at end of file
diff --git a/Ansible/ansible_collections/jfrog/installers/roles/artifactory/tasks/upgrade.yml b/Ansible/ansible_collections/jfrog/installers/roles/artifactory/tasks/upgrade.yml
new file mode 100644
index 0000000..a0273dd
--- /dev/null
+++ b/Ansible/ansible_collections/jfrog/installers/roles/artifactory/tasks/upgrade.yml
@@ -0,0 +1,63 @@
+---
+- debug:
+ msg: "Performing upgrade of Artifactory..."
+
+- name: stop artifactory
+ service:
+ name: artifactory
+ state: stopped
+ become: yes
+
+- name: ensure jfrog_home_directory exists
+ file:
+ path: "{{ jfrog_home_directory }}"
+ state: directory
+ become: yes
+
+- name: download artifactory
+ unarchive:
+ src: "{{ artifactory_tar }}"
+ dest: "{{ jfrog_home_directory }}"
+ remote_src: yes
+ owner: "{{ artifactory_user }}"
+ group: "{{ artifactory_group }}"
+ creates: "{{ artifactory_untar_home }}"
+ become: yes
+ register: downloadartifactory
+ until: downloadartifactory is succeeded
+ retries: 3
+
+- name: Delete artifactory app
+ file:
+ path: "{{ artifactory_home }}/app"
+ state: absent
+ become: yes
+
+- name: CP new app to artifactory app
+ command: "cp -r {{ artifactory_untar_home }}/app {{ artifactory_home }}/app"
+ become: yes
+
+- name: Delete untar directory
+ file:
+ path: "{{ artifactory_untar_home }}"
+ state: absent
+ become: yes
+
+- name: start and enable the primary node
+ service:
+ name: artifactory
+ state: restarted
+ become: yes
+ when: artifactory_is_primary == true
+
+- name: random wait before restarting to prevent secondary nodes from hitting DB first
+ pause:
+ seconds: "{{ 120 | random + 10}}"
+ when: artifactory_is_primary == false
+
+- name: start and enable the secondary nodes
+ service:
+ name: artifactory
+ state: restarted
+ become: yes
+ when: artifactory_is_primary == false
diff --git a/Ansible/ansible_collections/jfrog/installers/roles/xray/README.md b/Ansible/ansible_collections/jfrog/installers/roles/xray/README.md
index ba758f9..eb5b304 100644
--- a/Ansible/ansible_collections/jfrog/installers/roles/xray/README.md
+++ b/Ansible/ansible_collections/jfrog/installers/roles/xray/README.md
@@ -12,6 +12,7 @@ The xray role will install Xray software onto the host. An Artifactory server an
* _db_user_: The database user to configure. eg. "xray"
* _db_password_: The database password to configure. "xray"
* _system_file_: Your own [system YAML](https://www.jfrog.com/confluence/display/JFROG/System+YAML+Configuration+File) file can be specified and used. If specified, this file will be used rather than constructing a file from the parameters above.
+* _xray_upgrade_only_: Perform an software upgrade only. Default is false.
## Example Playbook
```
@@ -19,4 +20,16 @@ The xray role will install Xray software onto the host. An Artifactory server an
- hosts: xray
roles:
- xray
+```
+
+## Upgrades
+The Xray role supports software upgrades. To use a role to perform a software upgrade only, use the _xray_upgrade_only_ variables and specify the version. See the following example.
+
+```
+- hosts: xray
+ vars:
+ xray_version: "{{ lookup('env', 'xray_version_upgrade') }}"
+ xray_upgrade_only: true
+ roles:
+ - xray
```
\ No newline at end of file
diff --git a/Ansible/ansible_collections/jfrog/installers/roles/xray/defaults/main.yml b/Ansible/ansible_collections/jfrog/installers/roles/xray/defaults/main.yml
index 3cdffa3..3478fd5 100644
--- a/Ansible/ansible_collections/jfrog/installers/roles/xray/defaults/main.yml
+++ b/Ansible/ansible_collections/jfrog/installers/roles/xray/defaults/main.yml
@@ -10,14 +10,18 @@ xray_version: 3.5.2
xray_ha_enabled: true
# The location where xray should install.
-xray_download_directory: /opt/jfrog
+jfrog_home_directory: /opt/jfrog
# The remote xray download file
-xray_tar: https://bintray.com/standAloneDownload/downloadArtifact?agree=true&artifactPath=/jfrog/jfrog-xray/xray-linux/{{ xray_version }}/jfrog-xray-{{ xray_version }}-linux.tar.gz&callback_id=anonymous&product=xray
+xray_tar: https://dl.bintray.com/jfrog/jfrog-xray/xray-linux/{{ xray_version }}/jfrog-xray-{{ xray_version }}-linux.tar.gz
#The xray install directory
-xray_home: "{{ xray_download_directory }}/jfrog-xray-{{ xray_version }}-linux"
+xray_untar_home: "{{ jfrog_home_directory }}/jfrog-xray-{{ xray_version }}-linux"
+xray_home: "{{ jfrog_home_directory }}/xray"
#xray users and groups
xray_user: xray
xray_group: xray
+
+# if this is an upgrade
+xray_upgrade_only: false
\ No newline at end of file
diff --git a/Ansible/ansible_collections/jfrog/installers/roles/xray/tasks/install.yml b/Ansible/ansible_collections/jfrog/installers/roles/xray/tasks/install.yml
new file mode 100644
index 0000000..e881e37
--- /dev/null
+++ b/Ansible/ansible_collections/jfrog/installers/roles/xray/tasks/install.yml
@@ -0,0 +1,103 @@
+---
+- debug:
+ msg: "Performing installation of Xray..."
+
+- name: create group for xray
+ group:
+ name: "{{ xray_group }}"
+ state: present
+ become: yes
+
+- name: create user for xray
+ user:
+ name: "{{ xray_user }}"
+ group: "{{ xray_group }}"
+ system: yes
+ become: yes
+
+- name: ensure jfrog_home_directory exists
+ file:
+ path: "{{ jfrog_home_directory }}"
+ state: directory
+ become: yes
+
+- name: download xray
+ unarchive:
+ src: "{{ xray_tar }}"
+ dest: "{{ jfrog_home_directory }}"
+ remote_src: yes
+ owner: "{{ xray_user }}"
+ group: "{{ xray_group }}"
+ creates: "{{ xray_untar_home }}"
+ become: yes
+ register: downloadxray
+ until: downloadxray is succeeded
+ retries: 3
+
+- name: MV untar directory to xray home
+ command: "mv {{ xray_untar_home }} {{ xray_home }}"
+ become: yes
+
+- debug:
+ msg: "Running dependency installation for {{ ansible_os_family }}"
+
+- name: perform dependency installation
+ include_tasks: "{{ ansible_os_family }}.yml"
+
+- name: ensure etc exists
+ file:
+ path: "{{ xray_home }}/var/etc"
+ state: directory
+ owner: "{{ xray_user }}"
+ group: "{{ xray_group }}"
+ become: yes
+
+- name: configure system yaml
+ template:
+ src: system.yaml.j2
+ dest: "{{ xray_home }}/var/etc/system.yaml"
+ become: yes
+
+- name: ensure {{ xray_home }}/var/etc/security/ exists
+ file:
+ path: "{{ xray_home }}/var/etc/security/"
+ state: directory
+ owner: "{{ xray_user }}"
+ group: "{{ xray_group }}"
+ become: yes
+
+- name: configure master key
+ template:
+ src: master.key.j2
+ dest: "{{ xray_home }}/var/etc/security/master.key"
+ become: yes
+
+- name: configure join key
+ template:
+ src: join.key.j2
+ dest: "{{ xray_home }}/var/etc/security/join.key"
+ become: yes
+
+- name: ensure {{ xray_home }}/var/etc/info/ exists
+ file:
+ path: "{{ xray_home }}/var/etc/info/"
+ state: directory
+ owner: "{{ xray_user }}"
+ group: "{{ xray_group }}"
+ become: yes
+
+- name: configure installer info
+ template:
+ src: installer-info.json.j2
+ dest: "{{ xray_home }}/var/etc/info/installer-info.json"
+ become: yes
+
+- name: create xray service
+ shell: "{{ xray_home }}/app/bin/installService.sh"
+ become: yes
+
+- name: start and enable xray
+ service:
+ name: xray
+ state: restarted
+ become: yes
\ No newline at end of file
diff --git a/Ansible/ansible_collections/jfrog/installers/roles/xray/tasks/main.yml b/Ansible/ansible_collections/jfrog/installers/roles/xray/tasks/main.yml
index 2361d9f..3b9b7e1 100644
--- a/Ansible/ansible_collections/jfrog/installers/roles/xray/tasks/main.yml
+++ b/Ansible/ansible_collections/jfrog/installers/roles/xray/tasks/main.yml
@@ -1,96 +1,6 @@
----
-- name: create group for xray
- group:
- name: "{{ xray_group }}"
- state: present
- become: yes
-
-- name: create user for xray
- user:
- name: "{{ xray_user }}"
- group: "{{ xray_group }}"
- system: yes
- become: yes
-
-- name: ensure xray_download_directory exists
- file:
- path: "{{ xray_download_directory }}"
- state: directory
- become: yes
-
-- name: download xray
- unarchive:
- src: "{{ xray_tar }}"
- dest: "{{ xray_download_directory }}"
- remote_src: yes
- owner: "{{ xray_user }}"
- group: "{{ xray_group }}"
- creates: "{{ xray_home }}"
- become: yes
- register: downloadxray
- until: downloadxray is succeeded
- retries: 3
-
-- debug:
- msg: "Running dependency installation for {{ ansible_os_family }}"
-
-- name: perform dependency installation
- include_tasks: "{{ ansible_os_family }}.yml"
-
-- name: ensure etc exists
- file:
- path: "{{ xray_home }}/var/etc"
- state: directory
- owner: "{{ xray_user }}"
- group: "{{ xray_group }}"
- become: yes
-
-- name: configure system yaml
- template:
- src: system.yaml.j2
- dest: "{{ xray_home }}/var/etc/system.yaml"
- become: yes
-
-- name: ensure {{ xray_home }}/var/etc/security/ exists
- file:
- path: "{{ xray_home }}/var/etc/security/"
- state: directory
- owner: "{{ xray_user }}"
- group: "{{ xray_group }}"
- become: yes
-
-- name: configure master key
- template:
- src: master.key.j2
- dest: "{{ xray_home }}/var/etc/security/master.key"
- become: yes
-
-- name: configure join key
- template:
- src: join.key.j2
- dest: "{{ xray_home }}/var/etc/security/join.key"
- become: yes
-
-- name: ensure {{ xray_home }}/var/etc/info/ exists
- file:
- path: "{{ xray_home }}/var/etc/info/"
- state: directory
- owner: "{{ xray_user }}"
- group: "{{ xray_group }}"
- become: yes
-
-- name: configure installer info
- template:
- src: installer-info.json.j2
- dest: "{{ xray_home }}/var/etc/info/installer-info.json"
- become: yes
-
-- name: create xray service
- shell: "{{ xray_home }}/app/bin/installService.sh"
- become: yes
-
-- name: start and enable xray
- service:
- name: xray
- state: restarted
- become: yes
\ No newline at end of file
+- name: perform installation
+ include_tasks: "install.yml"
+ when: not xray_upgrade_only
+- name: perform upgrade
+ include_tasks: "upgrade.yml"
+ when: xray_upgrade_only
\ No newline at end of file
diff --git a/Ansible/ansible_collections/jfrog/installers/roles/xray/tasks/upgrade.yml b/Ansible/ansible_collections/jfrog/installers/roles/xray/tasks/upgrade.yml
new file mode 100644
index 0000000..623661c
--- /dev/null
+++ b/Ansible/ansible_collections/jfrog/installers/roles/xray/tasks/upgrade.yml
@@ -0,0 +1,54 @@
+---
+- debug:
+ msg: "Performing upgrade of Xray..."
+
+- name: stop xray
+ service:
+ name: xray
+ state: stopped
+ become: yes
+
+- name: ensure jfrog_home_directory exists
+ file:
+ path: "{{ jfrog_home_directory }}"
+ state: directory
+ become: yes
+
+- name: download xray
+ unarchive:
+ src: "{{ xray_tar }}"
+ dest: "{{ jfrog_home_directory }}"
+ remote_src: yes
+ owner: "{{ xray_user }}"
+ group: "{{ xray_group }}"
+ creates: "{{ xray_untar_home }}"
+ become: yes
+ register: downloadxray
+ until: downloadxray is succeeded
+ retries: 3
+
+- name: Delete xray app
+ file:
+ path: "{{ xray_home }}/app"
+ state: absent
+ become: yes
+
+- name: CP new app to xray app
+ command: "cp -r {{ xray_untar_home }}/app {{ xray_home }}/app"
+ become: yes
+
+- name: Delete untar directory
+ file:
+ path: "{{ xray_untar_home }}"
+ state: absent
+ become: yes
+
+- name: create xray service
+ shell: "{{ xray_home }}/app/bin/installService.sh"
+ become: yes
+
+- name: start and enable xray
+ service:
+ name: xray
+ state: restarted
+ become: yes
\ No newline at end of file
diff --git a/Ansible/test/aws/playbook.yaml b/Ansible/test/aws/playbook-ha-install.yaml
similarity index 100%
rename from Ansible/test/aws/playbook.yaml
rename to Ansible/test/aws/playbook-ha-install.yaml
diff --git a/Ansible/test/aws/runAws.sh b/Ansible/test/aws/runAwsInstall.sh
similarity index 100%
rename from Ansible/test/aws/runAws.sh
rename to Ansible/test/aws/runAwsInstall.sh
diff --git a/Ansible/test/tests/build/classes/groovy/test/steps/RepositorySteps.class b/Ansible/test/tests/build/classes/groovy/test/steps/RepositorySteps.class
deleted file mode 100644
index 0e25924..0000000
Binary files a/Ansible/test/tests/build/classes/groovy/test/steps/RepositorySteps.class and /dev/null differ
diff --git a/Ansible/test/tests/build/classes/groovy/test/steps/SecuritytSteps.class b/Ansible/test/tests/build/classes/groovy/test/steps/SecuritytSteps.class
deleted file mode 100644
index 7278452..0000000
Binary files a/Ansible/test/tests/build/classes/groovy/test/steps/SecuritytSteps.class and /dev/null differ
diff --git a/Ansible/test/tests/build/classes/groovy/test/steps/XraySteps.class b/Ansible/test/tests/build/classes/groovy/test/steps/XraySteps.class
deleted file mode 100644
index 5884600..0000000
Binary files a/Ansible/test/tests/build/classes/groovy/test/steps/XraySteps.class and /dev/null differ
diff --git a/Ansible/test/tests/build/classes/groovy/test/tests/HealthCheckTest.class b/Ansible/test/tests/build/classes/groovy/test/tests/HealthCheckTest.class
deleted file mode 100644
index 60c8d49..0000000
Binary files a/Ansible/test/tests/build/classes/groovy/test/tests/HealthCheckTest.class and /dev/null differ
diff --git a/Ansible/test/tests/build/classes/groovy/test/tests/RepositoryTest.class b/Ansible/test/tests/build/classes/groovy/test/tests/RepositoryTest.class
deleted file mode 100644
index bd1747b..0000000
Binary files a/Ansible/test/tests/build/classes/groovy/test/tests/RepositoryTest.class and /dev/null differ
diff --git a/Ansible/test/tests/build/classes/groovy/test/tests/SecurityTest.class b/Ansible/test/tests/build/classes/groovy/test/tests/SecurityTest.class
deleted file mode 100644
index 95b9771..0000000
Binary files a/Ansible/test/tests/build/classes/groovy/test/tests/SecurityTest.class and /dev/null differ
diff --git a/Ansible/test/tests/build/classes/groovy/test/tests/XrayTest.class b/Ansible/test/tests/build/classes/groovy/test/tests/XrayTest.class
deleted file mode 100644
index 889fd07..0000000
Binary files a/Ansible/test/tests/build/classes/groovy/test/tests/XrayTest.class and /dev/null differ
diff --git a/Ansible/test/tests/build/classes/groovy/test/utils/ConfigurationUtil.class b/Ansible/test/tests/build/classes/groovy/test/utils/ConfigurationUtil.class
deleted file mode 100644
index 4a485e3..0000000
Binary files a/Ansible/test/tests/build/classes/groovy/test/utils/ConfigurationUtil.class and /dev/null differ
diff --git a/Ansible/test/tests/build/classes/groovy/test/utils/DSL$__clinit__closure1$_closure2.class b/Ansible/test/tests/build/classes/groovy/test/utils/DSL$__clinit__closure1$_closure2.class
deleted file mode 100644
index d87ab79..0000000
Binary files a/Ansible/test/tests/build/classes/groovy/test/utils/DSL$__clinit__closure1$_closure2.class and /dev/null differ
diff --git a/Ansible/test/tests/build/classes/groovy/test/utils/DSL$__clinit__closure1$_closure3.class b/Ansible/test/tests/build/classes/groovy/test/utils/DSL$__clinit__closure1$_closure3.class
deleted file mode 100644
index 9fb36e4..0000000
Binary files a/Ansible/test/tests/build/classes/groovy/test/utils/DSL$__clinit__closure1$_closure3.class and /dev/null differ
diff --git a/Ansible/test/tests/build/classes/groovy/test/utils/DSL$__clinit__closure1$_closure4.class b/Ansible/test/tests/build/classes/groovy/test/utils/DSL$__clinit__closure1$_closure4.class
deleted file mode 100644
index 242ce9d..0000000
Binary files a/Ansible/test/tests/build/classes/groovy/test/utils/DSL$__clinit__closure1$_closure4.class and /dev/null differ
diff --git a/Ansible/test/tests/build/classes/groovy/test/utils/DSL$__clinit__closure1.class b/Ansible/test/tests/build/classes/groovy/test/utils/DSL$__clinit__closure1.class
deleted file mode 100644
index 0e1a1a2..0000000
Binary files a/Ansible/test/tests/build/classes/groovy/test/utils/DSL$__clinit__closure1.class and /dev/null differ
diff --git a/Ansible/test/tests/build/classes/groovy/test/utils/DSL.class b/Ansible/test/tests/build/classes/groovy/test/utils/DSL.class
deleted file mode 100644
index 85ddc10..0000000
Binary files a/Ansible/test/tests/build/classes/groovy/test/utils/DSL.class and /dev/null differ
diff --git a/Ansible/test/tests/build/classes/groovy/test/utils/EnvironmentConfig.class b/Ansible/test/tests/build/classes/groovy/test/utils/EnvironmentConfig.class
deleted file mode 100644
index c5296f5..0000000
Binary files a/Ansible/test/tests/build/classes/groovy/test/utils/EnvironmentConfig.class and /dev/null differ
diff --git a/Ansible/test/tests/build/classes/groovy/test/utils/ProcessOutputStream.class b/Ansible/test/tests/build/classes/groovy/test/utils/ProcessOutputStream.class
deleted file mode 100644
index 02e19f7..0000000
Binary files a/Ansible/test/tests/build/classes/groovy/test/utils/ProcessOutputStream.class and /dev/null differ
diff --git a/Ansible/test/tests/build/classes/groovy/test/utils/Shell$_executeProc_closure1.class b/Ansible/test/tests/build/classes/groovy/test/utils/Shell$_executeProc_closure1.class
deleted file mode 100644
index 6784e6d..0000000
Binary files a/Ansible/test/tests/build/classes/groovy/test/utils/Shell$_executeProc_closure1.class and /dev/null differ
diff --git a/Ansible/test/tests/build/classes/groovy/test/utils/Shell.class b/Ansible/test/tests/build/classes/groovy/test/utils/Shell.class
deleted file mode 100644
index 11330ef..0000000
Binary files a/Ansible/test/tests/build/classes/groovy/test/utils/Shell.class and /dev/null differ
diff --git a/Ansible/test/tests/build/classes/groovy/test/utils/WorkspaceManager.class b/Ansible/test/tests/build/classes/groovy/test/utils/WorkspaceManager.class
deleted file mode 100644
index 112d491..0000000
Binary files a/Ansible/test/tests/build/classes/groovy/test/utils/WorkspaceManager.class and /dev/null differ
diff --git a/Ansible/test/tests/build/reports/tests/unified_test/All API tests/tests.HealthCheckTest.html b/Ansible/test/tests/build/reports/tests/unified_test/All API tests/tests.HealthCheckTest.html
deleted file mode 100644
index 09a0b8a..0000000
--- a/Ansible/test/tests/build/reports/tests/unified_test/All API tests/tests.HealthCheckTest.html
+++ /dev/null
@@ -1,106 +0,0 @@
-
-
-
-
-
\ No newline at end of file
diff --git a/Ansible/test/tests/build/reports/tests/unified_test/All API tests/tests.HealthCheckTest.xml b/Ansible/test/tests/build/reports/tests/unified_test/All API tests/tests.HealthCheckTest.xml
deleted file mode 100644
index d7a4746..0000000
--- a/Ansible/test/tests/build/reports/tests/unified_test/All API tests/tests.HealthCheckTest.xml
+++ /dev/null
@@ -1,6 +0,0 @@
-
-
-
-
-
-
diff --git a/Ansible/test/tests/build/reports/tests/unified_test/All API tests/tests.RepositoryTest.html b/Ansible/test/tests/build/reports/tests/unified_test/All API tests/tests.RepositoryTest.html
deleted file mode 100644
index 340e707..0000000
--- a/Ansible/test/tests/build/reports/tests/unified_test/All API tests/tests.RepositoryTest.html
+++ /dev/null
@@ -1,151 +0,0 @@
-
-
-
-
-
\ No newline at end of file
diff --git a/Ansible/test/tests/build/reports/tests/unified_test/All API tests/tests.RepositoryTest.xml b/Ansible/test/tests/build/reports/tests/unified_test/All API tests/tests.RepositoryTest.xml
deleted file mode 100644
index d1a75bc..0000000
--- a/Ansible/test/tests/build/reports/tests/unified_test/All API tests/tests.RepositoryTest.xml
+++ /dev/null
@@ -1,28 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/Ansible/test/tests/build/reports/tests/unified_test/All API tests/tests.SecurityTest.html b/Ansible/test/tests/build/reports/tests/unified_test/All API tests/tests.SecurityTest.html
deleted file mode 100644
index 755187a..0000000
--- a/Ansible/test/tests/build/reports/tests/unified_test/All API tests/tests.SecurityTest.html
+++ /dev/null
@@ -1,943 +0,0 @@
-
-
-
-| PASSED TESTS |
-| Test method |
-Exception |
-Time (seconds) |
-Instance |
-
-
-createGroupTest Test class: tests.SecurityTest Parameters: test-group-0
-Show output
-
-Show all outputs
-
-- Create group. Group test-group-0 was successfully created
-
- |
- |
-0 |
-tests.SecurityTest@285aa2f9 |
-
-createGroupTest Test class: tests.SecurityTest Parameters: test-group-1
-Show output
-
-Show all outputs
-
-- Create group. Group test-group-1 was successfully created
-
- |
- |
-0 |
-tests.SecurityTest@285aa2f9 |
-
-createGroupTest Test class: tests.SecurityTest Parameters: test-group-2
-Show output
-
-Show all outputs
-
-- Create group. Group test-group-2 was successfully created
-
- |
- |
-0 |
-tests.SecurityTest@285aa2f9 |
-
-createGroupTest Test class: tests.SecurityTest Parameters: test-group-3
-Show output
-
-Show all outputs
-
-- Create group. Group test-group-3 was successfully created
-
- |
- |
-0 |
-tests.SecurityTest@285aa2f9 |
-
-createGroupTest Test class: tests.SecurityTest Parameters: test-group-4
-Show output
-
-Show all outputs
-
-- Create group. Group test-group-4 was successfully created
-
- |
- |
-0 |
-tests.SecurityTest@285aa2f9 |
-
-createGroupTest Test class: tests.SecurityTest Parameters: test-group-5
-Show output
-
-Show all outputs
-
-- Create group. Group test-group-5 was successfully created
-
- |
- |
-0 |
-tests.SecurityTest@285aa2f9 |
-
-createGroupTest Test class: tests.SecurityTest Parameters: test-group-6
-Show output
-
-Show all outputs
-
-- Create group. Group test-group-6 was successfully created
-
- |
- |
-0 |
-tests.SecurityTest@285aa2f9 |
-
-createGroupTest Test class: tests.SecurityTest Parameters: test-group-7
-Show output
-
-Show all outputs
-
-- Create group. Group test-group-7 was successfully created
-
- |
- |
-0 |
-tests.SecurityTest@285aa2f9 |
-
-createGroupTest Test class: tests.SecurityTest Parameters: test-group-8
-Show output
-
-Show all outputs
-
-- Create group. Group test-group-8 was successfully created
-
- |
- |
-0 |
-tests.SecurityTest@285aa2f9 |
-
-createGroupTest Test class: tests.SecurityTest Parameters: test-group-9
-Show output
-
-Show all outputs
-
-- Create group. Group test-group-9 was successfully created
-
- |
- |
-0 |
-tests.SecurityTest@285aa2f9 |
-
-createPermissionsTest Test class: tests.SecurityTest
-Show output
-
-Show all outputs
-
-- Create permissions. Permissions successfully created and verified
-
- |
- |
-0 |
-tests.SecurityTest@285aa2f9 |
-
-createUsersTest Test class: tests.SecurityTest Parameters: testuser0, email0@jfrog.com, password123
-Show output
-
-Show all outputs
-
-- Create users. User testuser0 created successfully
-
- |
- |
-0 |
-tests.SecurityTest@285aa2f9 |
-
-createUsersTest Test class: tests.SecurityTest Parameters: testuser1, email1@jfrog.com, password123
-Show output
-
-Show all outputs
-
-- Create users. User testuser1 created successfully
-
- |
- |
-0 |
-tests.SecurityTest@285aa2f9 |
-
-createUsersTest Test class: tests.SecurityTest Parameters: testuser2, email2@jfrog.com, password123
-Show output
-
-Show all outputs
-
-- Create users. User testuser2 created successfully
-
- |
- |
-0 |
-tests.SecurityTest@285aa2f9 |
-
-createUsersTest Test class: tests.SecurityTest Parameters: testuser3, email3@jfrog.com, password123
-Show output
-
-Show all outputs
-
-- Create users. User testuser3 created successfully
-
- |
- |
-0 |
-tests.SecurityTest@285aa2f9 |
-
-createUsersTest Test class: tests.SecurityTest Parameters: testuser4, email4@jfrog.com, password123
-Show output
-
-Show all outputs
-
-- Create users. User testuser4 created successfully
-
- |
- |
-0 |
-tests.SecurityTest@285aa2f9 |
-
-createUsersTest Test class: tests.SecurityTest Parameters: testuser5, email5@jfrog.com, password123
-Show output
-
-Show all outputs
-
-- Create users. User testuser5 created successfully
-
- |
- |
-0 |
-tests.SecurityTest@285aa2f9 |
-
-createUsersTest Test class: tests.SecurityTest Parameters: testuser6, email6@jfrog.com, password123
-Show output
-
-Show all outputs
-
-- Create users. User testuser6 created successfully
-
- |
- |
-0 |
-tests.SecurityTest@285aa2f9 |
-
-createUsersTest Test class: tests.SecurityTest Parameters: testuser7, email7@jfrog.com, password123
-Show output
-
-Show all outputs
-
-- Create users. User testuser7 created successfully
-
- |
- |
-0 |
-tests.SecurityTest@285aa2f9 |
-
-createUsersTest Test class: tests.SecurityTest Parameters: testuser8, email8@jfrog.com, password123
-Show output
-
-Show all outputs
-
-- Create users. User testuser8 created successfully
-
- |
- |
-0 |
-tests.SecurityTest@285aa2f9 |
-
-createUsersTest Test class: tests.SecurityTest Parameters: testuser9, email9@jfrog.com, password123
-Show output
-
-Show all outputs
-
-- Create users. User testuser9 created successfully
-
- |
- |
-0 |
-tests.SecurityTest@285aa2f9 |
-
-deleteGroupTest Test class: tests.SecurityTest Parameters: test-group-0
-Show output
-
-Show all outputs
-
-- Delete group. Group test-group-0 has been removed successfully
-
- |
- |
-0 |
-tests.SecurityTest@285aa2f9 |
-
-deleteGroupTest Test class: tests.SecurityTest Parameters: test-group-1
-Show output
-
-Show all outputs
-
-- Delete group. Group test-group-1 has been removed successfully
-
- |
- |
-0 |
-tests.SecurityTest@285aa2f9 |
-
-deleteGroupTest Test class: tests.SecurityTest Parameters: test-group-2
-Show output
-
-Show all outputs
-
-- Delete group. Group test-group-2 has been removed successfully
-
- |
- |
-0 |
-tests.SecurityTest@285aa2f9 |
-
-deleteGroupTest Test class: tests.SecurityTest Parameters: test-group-3
-Show output
-
-Show all outputs
-
-- Delete group. Group test-group-3 has been removed successfully
-
- |
- |
-0 |
-tests.SecurityTest@285aa2f9 |
-
-deleteGroupTest Test class: tests.SecurityTest Parameters: test-group-4
-Show output
-
-Show all outputs
-
-- Delete group. Group test-group-4 has been removed successfully
-
- |
- |
-0 |
-tests.SecurityTest@285aa2f9 |
-
-deleteGroupTest Test class: tests.SecurityTest Parameters: test-group-5
-Show output
-
-Show all outputs
-
-- Delete group. Group test-group-5 has been removed successfully
-
- |
- |
-0 |
-tests.SecurityTest@285aa2f9 |
-
-deleteGroupTest Test class: tests.SecurityTest Parameters: test-group-6
-Show output
-
-Show all outputs
-
-- Delete group. Group test-group-6 has been removed successfully
-
- |
- |
-0 |
-tests.SecurityTest@285aa2f9 |
-
-deleteGroupTest Test class: tests.SecurityTest Parameters: test-group-7
-Show output
-
-Show all outputs
-
-- Delete group. Group test-group-7 has been removed successfully
-
- |
- |
-0 |
-tests.SecurityTest@285aa2f9 |
-
-deleteGroupTest Test class: tests.SecurityTest Parameters: test-group-8
-Show output
-
-Show all outputs
-
-- Delete group. Group test-group-8 has been removed successfully
-
- |
- |
-0 |
-tests.SecurityTest@285aa2f9 |
-
-deleteGroupTest Test class: tests.SecurityTest Parameters: test-group-9
-Show output
-
-Show all outputs
-
-- Delete group. Group test-group-9 has been removed successfully
-
- |
- |
-0 |
-tests.SecurityTest@285aa2f9 |
-
-deletePermissionsTest Test class: tests.SecurityTest
-Show output
-
-Show all outputs
-
-- Delete permissions. User testPermission has been removed successfully
-
- |
- |
-0 |
-tests.SecurityTest@285aa2f9 |
-
-deleteUserTest Test class: tests.SecurityTest Parameters: testuser0, email0@jfrog.com, password123
-Show output
-
-Show all outputs
-
-- Delete user. User testuser0 has been removed successfully
-
- |
- |
-0 |
-tests.SecurityTest@285aa2f9 |
-
-deleteUserTest Test class: tests.SecurityTest Parameters: testuser1, email1@jfrog.com, password123
-Show output
-
-Show all outputs
-
-- Delete user. User testuser1 has been removed successfully
-
- |
- |
-0 |
-tests.SecurityTest@285aa2f9 |
-
-deleteUserTest Test class: tests.SecurityTest Parameters: testuser2, email2@jfrog.com, password123
-Show output
-
-Show all outputs
-
-- Delete user. User testuser2 has been removed successfully
-
- |
- |
-0 |
-tests.SecurityTest@285aa2f9 |
-
-deleteUserTest Test class: tests.SecurityTest Parameters: testuser3, email3@jfrog.com, password123
-Show output
-
-Show all outputs
-
-- Delete user. User testuser3 has been removed successfully
-
- |
- |
-0 |
-tests.SecurityTest@285aa2f9 |
-
-deleteUserTest Test class: tests.SecurityTest Parameters: testuser4, email4@jfrog.com, password123
-Show output
-
-Show all outputs
-
-- Delete user. User testuser4 has been removed successfully
-
- |
- |
-0 |
-tests.SecurityTest@285aa2f9 |
-
-deleteUserTest Test class: tests.SecurityTest Parameters: testuser5, email5@jfrog.com, password123
-Show output
-
-Show all outputs
-
-- Delete user. User testuser5 has been removed successfully
-
- |
- |
-0 |
-tests.SecurityTest@285aa2f9 |
-
-deleteUserTest Test class: tests.SecurityTest Parameters: testuser6, email6@jfrog.com, password123
-Show output
-
-Show all outputs
-
-- Delete user. User testuser6 has been removed successfully
-
- |
- |
-0 |
-tests.SecurityTest@285aa2f9 |
-
-deleteUserTest Test class: tests.SecurityTest Parameters: testuser7, email7@jfrog.com, password123
-Show output
-
-Show all outputs
-
-- Delete user. User testuser7 has been removed successfully
-
- |
- |
-0 |
-tests.SecurityTest@285aa2f9 |
-
-deleteUserTest Test class: tests.SecurityTest Parameters: testuser8, email8@jfrog.com, password123
-Show output
-
-Show all outputs
-
-- Delete user. User testuser8 has been removed successfully
-
- |
- |
-0 |
-tests.SecurityTest@285aa2f9 |
-
-deleteUserTest Test class: tests.SecurityTest Parameters: testuser9, email9@jfrog.com, password123
-Show output
-
-Show all outputs
-
-- Delete user. User testuser9 has been removed successfully
-
- |
- |
-0 |
-tests.SecurityTest@285aa2f9 |
-
-generateAPIKeysTest Test class: tests.SecurityTest Parameters: testuser0, email0@jfrog.com, password123
-Show output
-
-Show all outputs
-
-- Generate API keys. Key for testuser0 created successfully
-
- |
- |
-0 |
-tests.SecurityTest@285aa2f9 |
-
-generateAPIKeysTest Test class: tests.SecurityTest Parameters: testuser1, email1@jfrog.com, password123
-Show output
-
-Show all outputs
-
-- Generate API keys. Key for testuser1 created successfully
-
- |
- |
-0 |
-tests.SecurityTest@285aa2f9 |
-
-generateAPIKeysTest Test class: tests.SecurityTest Parameters: testuser2, email2@jfrog.com, password123
-Show output
-
-Show all outputs
-
-- Generate API keys. Key for testuser2 created successfully
-
- |
- |
-0 |
-tests.SecurityTest@285aa2f9 |
-
-generateAPIKeysTest Test class: tests.SecurityTest Parameters: testuser3, email3@jfrog.com, password123
-Show output
-
-Show all outputs
-
-- Generate API keys. Key for testuser3 created successfully
-
- |
- |
-0 |
-tests.SecurityTest@285aa2f9 |
-
-generateAPIKeysTest Test class: tests.SecurityTest Parameters: testuser4, email4@jfrog.com, password123
-Show output
-
-Show all outputs
-
-- Generate API keys. Key for testuser4 created successfully
-
- |
- |
-0 |
-tests.SecurityTest@285aa2f9 |
-
-generateAPIKeysTest Test class: tests.SecurityTest Parameters: testuser5, email5@jfrog.com, password123
-Show output
-
-Show all outputs
-
-- Generate API keys. Key for testuser5 created successfully
-
- |
- |
-0 |
-tests.SecurityTest@285aa2f9 |
-
-generateAPIKeysTest Test class: tests.SecurityTest Parameters: testuser6, email6@jfrog.com, password123
-Show output
-
-Show all outputs
-
-- Generate API keys. Key for testuser6 created successfully
-
- |
- |
-0 |
-tests.SecurityTest@285aa2f9 |
-
-generateAPIKeysTest Test class: tests.SecurityTest Parameters: testuser7, email7@jfrog.com, password123
-Show output
-
-Show all outputs
-
-- Generate API keys. Key for testuser7 created successfully
-
- |
- |
-0 |
-tests.SecurityTest@285aa2f9 |
-
-generateAPIKeysTest Test class: tests.SecurityTest Parameters: testuser8, email8@jfrog.com, password123
-Show output
-
-Show all outputs
-
-- Generate API keys. Key for testuser8 created successfully
-
- |
- |
-0 |
-tests.SecurityTest@285aa2f9 |
-
-generateAPIKeysTest Test class: tests.SecurityTest Parameters: testuser9, email9@jfrog.com, password123
-Show output
-
-Show all outputs
-
-- Generate API keys. Key for testuser9 created successfully
-
- |
- |
-0 |
-tests.SecurityTest@285aa2f9 |
-
-regenerateAPIKeysTest Test class: tests.SecurityTest Parameters: testuser0, email0@jfrog.com, password123
-Show output
-
-Show all outputs
-
-- Re-generate API keys. Key for testuser0 re-generated successfully
-
- |
- |
-0 |
-tests.SecurityTest@285aa2f9 |
-
-regenerateAPIKeysTest Test class: tests.SecurityTest Parameters: testuser1, email1@jfrog.com, password123
-Show output
-
-Show all outputs
-
-- Re-generate API keys. Key for testuser1 re-generated successfully
-
- |
- |
-0 |
-tests.SecurityTest@285aa2f9 |
-
-regenerateAPIKeysTest Test class: tests.SecurityTest Parameters: testuser2, email2@jfrog.com, password123
-Show output
-
-Show all outputs
-
-- Re-generate API keys. Key for testuser2 re-generated successfully
-
- |
- |
-0 |
-tests.SecurityTest@285aa2f9 |
-
-regenerateAPIKeysTest Test class: tests.SecurityTest Parameters: testuser3, email3@jfrog.com, password123
-Show output
-
-Show all outputs
-
-- Re-generate API keys. Key for testuser3 re-generated successfully
-
- |
- |
-0 |
-tests.SecurityTest@285aa2f9 |
-
-regenerateAPIKeysTest Test class: tests.SecurityTest Parameters: testuser4, email4@jfrog.com, password123
-Show output
-
-Show all outputs
-
-- Re-generate API keys. Key for testuser4 re-generated successfully
-
- |
- |
-0 |
-tests.SecurityTest@285aa2f9 |
-
-regenerateAPIKeysTest Test class: tests.SecurityTest Parameters: testuser5, email5@jfrog.com, password123
-Show output
-
-Show all outputs
-
-- Re-generate API keys. Key for testuser5 re-generated successfully
-
- |
- |
-0 |
-tests.SecurityTest@285aa2f9 |
-
-regenerateAPIKeysTest Test class: tests.SecurityTest Parameters: testuser6, email6@jfrog.com, password123
-Show output
-
-Show all outputs
-
-- Re-generate API keys. Key for testuser6 re-generated successfully
-
- |
- |
-0 |
-tests.SecurityTest@285aa2f9 |
-
-regenerateAPIKeysTest Test class: tests.SecurityTest Parameters: testuser7, email7@jfrog.com, password123
-Show output
-
-Show all outputs
-
-- Re-generate API keys. Key for testuser7 re-generated successfully
-
- |
- |
-0 |
-tests.SecurityTest@285aa2f9 |
-
-regenerateAPIKeysTest Test class: tests.SecurityTest Parameters: testuser8, email8@jfrog.com, password123
-Show output
-
-Show all outputs
-
-- Re-generate API keys. Key for testuser8 re-generated successfully
-
- |
- |
-0 |
-tests.SecurityTest@285aa2f9 |
-
-regenerateAPIKeysTest Test class: tests.SecurityTest Parameters: testuser9, email9@jfrog.com, password123
-Show output
-
-Show all outputs
-
-- Re-generate API keys. Key for testuser9 re-generated successfully
-
- |
- |
-0 |
-tests.SecurityTest@285aa2f9 |
-
-verifyUsersTest Test class: tests.SecurityTest Parameters: testuser0, email0@jfrog.com, password123
-Show output
-
-Show all outputs
-
-- Verify created users. User testuser0 was successfully verified
-
- |
- |
-0 |
-tests.SecurityTest@285aa2f9 |
-
-verifyUsersTest Test class: tests.SecurityTest Parameters: testuser1, email1@jfrog.com, password123
-Show output
-
-Show all outputs
-
-- Verify created users. User testuser1 was successfully verified
-
- |
- |
-0 |
-tests.SecurityTest@285aa2f9 |
-
-verifyUsersTest Test class: tests.SecurityTest Parameters: testuser2, email2@jfrog.com, password123
-Show output
-
-Show all outputs
-
-- Verify created users. User testuser2 was successfully verified
-
- |
- |
-0 |
-tests.SecurityTest@285aa2f9 |
-
-verifyUsersTest Test class: tests.SecurityTest Parameters: testuser3, email3@jfrog.com, password123
-Show output
-
-Show all outputs
-
-- Verify created users. User testuser3 was successfully verified
-
- |
- |
-0 |
-tests.SecurityTest@285aa2f9 |
-
-verifyUsersTest Test class: tests.SecurityTest Parameters: testuser4, email4@jfrog.com, password123
-Show output
-
-Show all outputs
-
-- Verify created users. User testuser4 was successfully verified
-
- |
- |
-0 |
-tests.SecurityTest@285aa2f9 |
-
-verifyUsersTest Test class: tests.SecurityTest Parameters: testuser5, email5@jfrog.com, password123
-Show output
-
-Show all outputs
-
-- Verify created users. User testuser5 was successfully verified
-
- |
- |
-0 |
-tests.SecurityTest@285aa2f9 |
-
-verifyUsersTest Test class: tests.SecurityTest Parameters: testuser6, email6@jfrog.com, password123
-Show output
-
-Show all outputs
-
-- Verify created users. User testuser6 was successfully verified
-
- |
- |
-0 |
-tests.SecurityTest@285aa2f9 |
-
-verifyUsersTest Test class: tests.SecurityTest Parameters: testuser7, email7@jfrog.com, password123
-Show output
-
-Show all outputs
-
-- Verify created users. User testuser7 was successfully verified
-
- |
- |
-0 |
-tests.SecurityTest@285aa2f9 |
-
-verifyUsersTest Test class: tests.SecurityTest Parameters: testuser8, email8@jfrog.com, password123
-Show output
-
-Show all outputs
-
-- Verify created users. User testuser8 was successfully verified
-
- |
- |
-0 |
-tests.SecurityTest@285aa2f9 |
-
-verifyUsersTest Test class: tests.SecurityTest Parameters: testuser9, email9@jfrog.com, password123
-Show output
-
-Show all outputs
-
-- Verify created users. User testuser9 was successfully verified
-
- |
- |
-0 |
-tests.SecurityTest@285aa2f9 |
-
-
-
\ No newline at end of file
diff --git a/Ansible/test/tests/build/reports/tests/unified_test/All API tests/tests.SecurityTest.xml b/Ansible/test/tests/build/reports/tests/unified_test/All API tests/tests.SecurityTest.xml
deleted file mode 100644
index f936834..0000000
--- a/Ansible/test/tests/build/reports/tests/unified_test/All API tests/tests.SecurityTest.xml
+++ /dev/null
@@ -1,76 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/Ansible/test/tests/build/reports/tests/unified_test/All API tests/tests.XrayTest.html b/Ansible/test/tests/build/reports/tests/unified_test/All API tests/tests.XrayTest.html
deleted file mode 100644
index cfbada1..0000000
--- a/Ansible/test/tests/build/reports/tests/unified_test/All API tests/tests.XrayTest.html
+++ /dev/null
@@ -1,307 +0,0 @@
-
-
-
-
-
\ No newline at end of file
diff --git a/Ansible/test/tests/build/reports/tests/unified_test/All API tests/tests.XrayTest.xml b/Ansible/test/tests/build/reports/tests/unified_test/All API tests/tests.XrayTest.xml
deleted file mode 100644
index 8112a1c..0000000
--- a/Ansible/test/tests/build/reports/tests/unified_test/All API tests/tests.XrayTest.xml
+++ /dev/null
@@ -1,23 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/Ansible/test/tests/build/reports/tests/unified_test/bullet_point.png b/Ansible/test/tests/build/reports/tests/unified_test/bullet_point.png
deleted file mode 100644
index 176e6d5..0000000
Binary files a/Ansible/test/tests/build/reports/tests/unified_test/bullet_point.png and /dev/null differ
diff --git a/Ansible/test/tests/build/reports/tests/unified_test/classes/tests.HealthCheckTest.html b/Ansible/test/tests/build/reports/tests/unified_test/classes/tests.HealthCheckTest.html
deleted file mode 100644
index e87c57f..0000000
--- a/Ansible/test/tests/build/reports/tests/unified_test/classes/tests.HealthCheckTest.html
+++ /dev/null
@@ -1,115 +0,0 @@
-
-
-
-