Skip to content

Commit

Permalink
artifact name improvement
Browse files Browse the repository at this point in the history
  • Loading branch information
mahesh-hpe committed Jan 3, 2024
1 parent 0dd47bf commit da3c668
Show file tree
Hide file tree
Showing 2 changed files with 12 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 @@ -8,6 +8,7 @@ jobs:
uses: ./.github/workflows/reusable-dev-acc.yml
with:
test_case: TestProvider
test_description: Check for valid terraform provider
secrets: inherit

test-datasouces:
Expand All @@ -17,6 +18,7 @@ jobs:
uses: ./.github/workflows/reusable-dev-acc.yml
with:
test_case: TestAccDataSource
test_description: All data source test
secrets: inherit

test-vmaas-instance:
Expand All @@ -26,6 +28,7 @@ jobs:
if: always()
with:
test_case: TestVmaasInstance TestAccResourceInstance
test_description: Instance test
secrets: inherit

test-vmaas-lb:
Expand All @@ -35,6 +38,7 @@ jobs:
if: always()
with:
test_case: TestVmaasLB TestAccResourceLB TestVmaasLoadBalancerPlan TestAccResourceLoadBalancerCreate
test_description: Loadbalancer test
secrets: inherit

test-vmaas-network:
Expand All @@ -44,4 +48,5 @@ jobs:
if: always()
with:
test_case: TestVmaasNetworkPlan TestAccResourceNetworkCreate TestAccResourceRouter TestVmaasRouter TestAccResourceTier TestVmaasRouteBGPNeighborPlan
test_description: Network test
secrets: inherit
9 changes: 7 additions & 2 deletions .github/workflows/reusable-dev-acc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,11 @@ on:
required: false
default: ''
type: string
test_description:
description: 'Enter description for the testcases'
required: true
default: ''
type: string
secrets:
DEV_HPEGL_IAM_SERVICE_URL:
required: true
Expand Down Expand Up @@ -42,7 +47,7 @@ env:
HPEGL_VMAAS_LOCATION: ${{ secrets.DEV_HPEGL_VMAAS_LOCATION }}
HPEGL_VMAAS_SPACE_NAME: ${{ secrets.DEV_HPEGL_VMAAS_SPACE_NAME}}
TF_ACC: ${{ secrets.TF_ACC }}
LOG_FILE: "Terraform_Logs.txt"
LOG_FILE: "Terraform Log.txt"
jobs:
acc:
runs-on: ubuntu-20.04
Expand Down Expand Up @@ -88,5 +93,5 @@ jobs:
if: always()
uses: actions/upload-artifact@v3
with:
name: "Terraform Test report ${{ github.run_id }} - ${{ inputs.test_case }}"
name: "IaC Test Report - ${{ inputs.test_description }}"
path: ${{ env.LOG_FILE }}

0 comments on commit da3c668

Please sign in to comment.