Skip to content

Commit

Permalink
Integration Test namespace changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Shubham Shukla committed Sep 12, 2023
1 parent 4454bcd commit bbfc72d
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 16 deletions.
8 changes: 4 additions & 4 deletions tests/integration/integration_config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
# SPDX-License-Identifier: Apache-2.0
#
---
api_endpoint: https://ibp-console.example.org:32000
api_endpoint: https://ibm-hlfsupport-project-ibm-hlfsupport-console-console.sre-shubham-ocp-dal-b3c-4-68e10f583f026529fe7a89da40169ef4-0000.us-south.containers.appdomain.cloud:443
api_authtype: basic
api_key: xxxxxxxx
api_secret: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
api_key: [email protected]
api_secret: Shubham@1234
api_timeout: 60
k8s_namespace: ibp
k8s_namespace: ibm-hlfsupport-project
test_run_id: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
short_test_run_id: xxxxxxxx
wait_timeout: 600
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
- name: Run tests
block:
- name: Create certificate authority
hyperledger.fabric-ansible-collection.certificate_authority:
hyperledger.fabric_ansible_collection.certificate_authority:
state: present
<<: *ibp_connection_info
name: "{{ ca_name }}"
Expand All @@ -53,7 +53,7 @@
expected_storage_size: 20Gi

- name: Ensure idempotency
hyperledger.fabric-ansible-collection.certificate_authority:
hyperledger.fabric_ansible_collection.certificate_authority:
state: present
<<: *ibp_connection_info
name: "{{ ca_name }}"
Expand All @@ -71,7 +71,7 @@
expected_storage_size: 20Gi

- name: Change resources
hyperledger.fabric-ansible-collection.certificate_authority:
hyperledger.fabric_ansible_collection.certificate_authority:
state: present
<<: *ibp_connection_info
name: "{{ ca_name }}"
Expand All @@ -94,7 +94,7 @@
expected_storage_size: 20Gi

- name: Ensure idempotency
hyperledger.fabric-ansible-collection.certificate_authority:
hyperledger.fabric_ansible_collection.certificate_authority:
state: present
<<: *ibp_connection_info
name: "{{ ca_name }}"
Expand All @@ -118,7 +118,7 @@

always:
- name: Delete certificate authority
hyperledger.fabric-ansible-collection.certificate_authority:
hyperledger.fabric_ansible_collection.certificate_authority:
state: absent
<<: *ibp_connection_info
name: "{{ ca_name }}"
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,14 @@
block:
- name: Create endorsing organization
include_role:
name: hyperledger.fabric-ansible-collection.endorsing_organization
name: hyperledger.fabric_ansible_collection.endorsing_organization
vars:
state: present
register: result

always:
- name: Delete endorsing organization
include_role:
name: hyperledger.fabric-ansible-collection.endorsing_organization
name: hyperledger.fabric_ansible_collection.endorsing_organization
vars:
state: absent
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
- name: Run tests
block:
- name: Import external ordering service
hyperledger.fabric-ansible-collection.external_ordering_service:
hyperledger.fabric_ansible_collection.external_ordering_service:
state: present
<<: *ibp_connection_info
ordering_service: "{{ lookup('template', 'one_node_ordering_service.json.j2') }}"
Expand All @@ -30,7 +30,7 @@
- result.ordering_service[0].name == ordering_service_name + '_1'

- name: Ensure idempotency
hyperledger.fabric-ansible-collection.external_ordering_service:
hyperledger.fabric_ansible_collection.external_ordering_service:
state: present
<<: *ibp_connection_info
ordering_service: "{{ lookup('template', 'one_node_ordering_service.json.j2') }}"
Expand All @@ -45,7 +45,7 @@

always:
- name: Remove external ordering service
hyperledger.fabric-ansible-collection.external_ordering_service:
hyperledger.fabric_ansible_collection.external_ordering_service:
state: absent
<<: *ibp_connection_info
name: "{{ ordering_service_name }}"
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,14 @@
block:
- name: Create ordering organization
include_role:
name: hyperledger.fabric-ansible-collection.ordering_organization
name: hyperledger.fabric_ansible_collection.ordering_organization
vars:
state: present
register: result

always:
- name: Delete ordering organization
include_role:
name: hyperledger.fabric-ansible-collection.ordering_organization
name: hyperledger.fabric_ansible_collection.ordering_organization
vars:
state: absent

0 comments on commit bbfc72d

Please sign in to comment.