From 62e61f4683c642a201727ba1b358c6a1b0554222 Mon Sep 17 00:00:00 2001 From: Mahesh N Date: Thu, 23 Jan 2025 15:38:25 +0530 Subject: [PATCH 1/3] Update checkout to v4 --- .github/workflows/malware-scan.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/malware-scan.yml b/.github/workflows/malware-scan.yml index 90dd3fef..a332eab9 100644 --- a/.github/workflows/malware-scan.yml +++ b/.github/workflows/malware-scan.yml @@ -17,7 +17,7 @@ jobs: contents: read steps: - name: "Checkout Repository" - uses: "actions/checkout@v3.5.0" + uses: "actions/checkout@v4" with: fetch-depth: 0 - name: "Scan Source for Viruses" From f41bf4f4397e8cd7e64182499ecb129b61c9e20e Mon Sep 17 00:00:00 2001 From: Mahesh N Date: Fri, 24 Jan 2025 13:30:44 +0530 Subject: [PATCH 2/3] update broker url --- .github/workflows/cicd-dev-acc.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/cicd-dev-acc.yml b/.github/workflows/cicd-dev-acc.yml index dc7a9cb7..37960d1e 100644 --- a/.github/workflows/cicd-dev-acc.yml +++ b/.github/workflows/cicd-dev-acc.yml @@ -10,6 +10,7 @@ jobs: with: test_case: TestProvider test_description: Check for valid terraform provider + vmaas_broker_url: "https://vmaas-broker.intg.hpedevops.net" secrets: inherit test-datasouces: @@ -19,6 +20,7 @@ jobs: with: test_case: TestAccDataSource test_description: GET call usecase validations + vmaas_broker_url: "https://vmaas-broker.intg.hpedevops.net" secrets: inherit test-vmaas-instance: @@ -28,6 +30,7 @@ jobs: with: test_case: TestVmaasInstance TestAccResourceInstance test_description: Instance usecase validations + vmaas_broker_url: "https://vmaas-broker.intg.hpedevops.net" secrets: inherit test-vmaas-lb: @@ -37,6 +40,7 @@ jobs: with: test_case: TestVmaasLB TestAccResourceLB TestVmaasLoadBalancerPlan TestAccResourceLoadBalancerCreate test_description: Loadbalancer usecase validations + vmaas_broker_url: "https://vmaas-broker.intg.hpedevops.net" secrets: inherit test-vmaas-network: @@ -46,6 +50,7 @@ jobs: with: test_case: TestVmaasNetworkPlan TestAccResourceNetworkCreate TestAccResourceRouter TestVmaasRouter TestAccResourceTier TestVmaasRouteBGPNeighborPlan test_description: NSX Network usecase validations + vmaas_broker_url: "https://vmaas-broker.intg.hpedevops.net" secrets: inherit process-logs: From a9b87e28b20d0fee3ca6220963655bebe86ced9f Mon Sep 17 00:00:00 2001 From: Mahesh N Date: Mon, 27 Jan 2025 18:21:50 +0530 Subject: [PATCH 3/3] Update dev acceptance test --- .github/workflows/dev-acc.yml | 6 ++++++ .../data-sources/instance_storage_controller.yaml | 6 ++++++ acc-dev-testcases/data-sources/morpheus_details.yaml | 2 ++ acc-dev-testcases/resources/instance_clone.yaml | 2 +- 4 files changed, 15 insertions(+), 1 deletion(-) create mode 100644 acc-dev-testcases/data-sources/instance_storage_controller.yaml create mode 100644 acc-dev-testcases/data-sources/morpheus_details.yaml diff --git a/.github/workflows/dev-acc.yml b/.github/workflows/dev-acc.yml index 2a695e35..c533ebf9 100644 --- a/.github/workflows/dev-acc.yml +++ b/.github/workflows/dev-acc.yml @@ -19,6 +19,11 @@ on: required: true default: 'Check Terraform Dev Testcase' type: string + vmaas_broker_url: + description: 'Enter VMaaS Broker URL' + required: false + default: 'https://vmaas-broker.intg.hpedevops.net' + type: string jobs: acc-test: @@ -26,6 +31,7 @@ jobs: with: test_case: ${{ inputs.test_case }} test_description: ${{ inputs.test_description }} + vmaas_broker_url: ${{ inputs.vmaas_broker_url }} secrets: DEV_HPEGL_IAM_SERVICE_URL: ${{ secrets.DEV_HPEGL_IAM_SERVICE_URL }} DEV_HPEGL_TENANT_ID: ${{ secrets.DEV_HPEGL_TENANT_ID }} diff --git a/acc-dev-testcases/data-sources/instance_storage_controller.yaml b/acc-dev-testcases/data-sources/instance_storage_controller.yaml new file mode 100644 index 00000000..7859e787 --- /dev/null +++ b/acc-dev-testcases/data-sources/instance_storage_controller.yaml @@ -0,0 +1,6 @@ +acc: +- config: | + layout_id = 118 + controller_name = "ide" + bus_number = 0 + interface_number = 1 diff --git a/acc-dev-testcases/data-sources/morpheus_details.yaml b/acc-dev-testcases/data-sources/morpheus_details.yaml new file mode 100644 index 00000000..4550d174 --- /dev/null +++ b/acc-dev-testcases/data-sources/morpheus_details.yaml @@ -0,0 +1,2 @@ +acc: + - config: \ No newline at end of file diff --git a/acc-dev-testcases/resources/instance_clone.yaml b/acc-dev-testcases/resources/instance_clone.yaml index 41811c3d..a91e58af 100644 --- a/acc-dev-testcases/resources/instance_clone.yaml +++ b/acc-dev-testcases/resources/instance_clone.yaml @@ -2,7 +2,7 @@ vars: instance_name: tf_acc_clone_%rand_int acc: - config: | - source_instance_id = 11 + source_instance_id = 302 name = "$(instance_name)" network { id = 156