Skip to content

Manual-Tests

Manual-Tests #112

Workflow file for this run

### This workflow will run only when triggered manually ###
### Full integration test is done by doing a plan and build of config under ./tests/auto_test1 ###
### No release nor documentation updates are part of this test ###
##################################################################
### RESOURCES HAVE TO BE DELETED MANUALLY AFTER TESTS ARE DONE ###
##################################################################
name: "Manual-Tests"
on:
workflow_dispatch:
jobs:
manual_plan_apply:
runs-on: ubuntu-latest
permissions:
pull-requests: write
issues: write
actions: read
steps:
- name: Checkout
uses: actions/[email protected]
- name: Plan AND Apply Only
uses: Pwd9000-ML/[email protected]
with:
test_type: plan-apply ## (Required) Valid options are "plan", "plan-apply", "plan-apply-destroy". Default="plan"
path: "tests/auto_test1" ## (Optional) Specify path to test module to run.
tf_version: latest ## (Optional) Specifies version of Terraform to use. e.g: 1.1.0 Default="latest"
tf_vars_file: testing.auto.tfvars ## (Required) Specifies Terraform TFVARS file name inside module path (Testing vars)
tf_key: tf-mod-tests-openai-gptui ## (Required) AZ backend - Specifies name that will be given to terraform state file and plan artifact (testing state)
az_resource_group: Terraform-GitHub-Backend ## (Required) AZ backend - AZURE Resource Group hosting terraform backend storage account
az_storage_acc: tfgithubbackendsa ## (Required) AZ backend - AZURE terraform backend storage account
az_container_name: gh-openai-gpt ## (Required) AZ backend - AZURE storage container hosting state files
arm_client_id: ${{ secrets.ARM_CLIENT_ID }} ## (Required - Actions Secrets) ARM Client ID
arm_client_secret: ${{ secrets.ARM_CLIENT_SECRET }} ## (Required - Actions Secrets) ARM Client Secret
arm_subscription_id: ${{ secrets.ARM_SUBSCRIPTION_ID }} ## (Required - Actions Secrets) ARM Subscription ID
arm_tenant_id: ${{ secrets.ARM_TENANT_ID }} ## (Required - Actions Secrets) ARM Tenant ID
github_token: ${{ secrets.GITHUB_TOKEN }} ## (Required) Needed to comment output on PR's. ${{ secrets.GITHUB_TOKEN }} already has permissions.