-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
bb9ac80
commit 113f7f5
Showing
2 changed files
with
74 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
name: "manage env" | ||
description: "manage environment variables for test automation" | ||
|
||
inputs: | ||
profile: | ||
required: true | ||
description: "test profile" | ||
type: string | ||
|
||
qa_service_url: | ||
required: true | ||
description: "qa service url" | ||
type: string | ||
|
||
wong_service_url: | ||
required: true | ||
description: "wong service url" | ||
type: string | ||
|
||
slack_webhook_url: | ||
required: true | ||
description: "slack webhook url" | ||
type: string | ||
|
||
slack_webhook_debug_url: | ||
required: true | ||
description: "slack webhook debug url" | ||
type: string | ||
|
||
testrail_url: | ||
required: true | ||
description: "testrail url" | ||
type: string | ||
|
||
testrail_username: | ||
required: true | ||
description: "testrail username" | ||
type: string | ||
|
||
testrail_password: | ||
required: true | ||
description: "testrail password" | ||
type: string | ||
|
||
runs: | ||
using: "composite" | ||
steps: | ||
- name: setup env variables | ||
shell: bash | ||
run: cp .env.example .env | ||
env: | ||
TEST_TYPE: ${{ inputs.profile }} | ||
QA_SERVICE_URL: ${{ inputs.qa_service_url }} | ||
WONG_SERVICE_URL: ${{ inputs.wong_service_url }} | ||
SLACK_WEBHOOK_URL: ${{ inputs.slack_webhook_url }} | ||
SLACK_WEBHOOK_DEBUG_URL: ${{ inputs.slack_webhook_debug_url }} | ||
TESTRAIL_URL: ${{ inputs.testrail_url }} | ||
TESTRAIL_USERNAME: ${{ inputs.testrail_username }} | ||
TESTRAIL_PASSWORD: ${{ inputs.testrail_password }} | ||
|