Skip to content

Commit

Permalink
Merge pull request #281 from HewlettPackard/update-actions
Browse files Browse the repository at this point in the history
Update checkout to v4
  • Loading branch information
reubenur-rahman authored Jan 27, 2025
2 parents 7fc92d6 + a9b87e2 commit f91daaa
Show file tree
Hide file tree
Showing 6 changed files with 21 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/cicd-dev-acc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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:
Expand All @@ -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:
Expand All @@ -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:
Expand All @@ -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:
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/dev-acc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,19 @@ 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:
uses: ./.github/workflows/reusable-dev-acc.yml
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 }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/malware-scan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
acc:
- config: |
layout_id = 118
controller_name = "ide"
bus_number = 0
interface_number = 1
2 changes: 2 additions & 0 deletions acc-dev-testcases/data-sources/morpheus_details.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
acc:
- config:
2 changes: 1 addition & 1 deletion acc-dev-testcases/resources/instance_clone.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f91daaa

Please sign in to comment.