-
Notifications
You must be signed in to change notification settings - Fork 6
43 lines (41 loc) · 1.6 KB
/
dev-acc.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
name: Dev Acceptance Testing
# This workflow is intended to run a particular set of testcases
# If want to execute all test, consider running cicd-dev-acc.yml
on:
# Runs every 2 days once at 3AM
# schedule:
# - cron: '0 21 */2 * *'
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
inputs:
test_case:
description: 'Enter testcases sperated by space'
required: true
default: 'TestProvider'
type: string
test_description:
description: 'Enter description for the test'
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 }}
DEV_HPEGL_USER_SECRET: ${{ secrets.DEV_HPEGL_USER_SECRET }}
DEV_HPEGL_USER_ID: ${{ secrets.DEV_HPEGL_USER_ID }}
DEV_HPEGL_VMAAS_API_URL: ${{ secrets.DEV_HPEGL_VMAAS_API_URL }}
DEV_HPEGL_VMAAS_LOCATION: ${{ secrets.DEV_HPEGL_VMAAS_LOCATION }}
DEV_HPEGL_VMAAS_SPACE_NAME: ${{ secrets.DEV_HPEGL_VMAAS_SPACE_NAME}}
TF_ACC: ${{ secrets.TF_ACC }}