Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .github/workflows/base-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ jobs:
uses: ./
with:
api_key: ${{ secrets.TF_PUBLIC_API_KEY }}
git_ref: "main"
tmt_plan_regex: "smoke_plan"
pull_request_status_name: "Smoke test"
update_pull_request_status: "true"
1 change: 0 additions & 1 deletion .github/workflows/secrets_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ jobs:
uses: ./
with:
api_key: ${{ secrets.TF_PUBLIC_API_KEY }}
git_ref: "main"
tmt_plan_regex: "secrets_plan"
pull_request_status_name: "Secrets test"
secrets: "SOME_DUMMY_SECRET=FOO_BAR_SECRET;OS_SECRET=DUMMY_SECRET_OS"
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/timeout-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ jobs:
id: tf_results
with:
api_key: ${{ secrets.TF_PUBLIC_API_KEY }}
git_ref: "main"
tmt_plan_regex: "timeout_plan"
pull_request_status_name: "Timeout test"
update_pull_request_status: "true"
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/variables_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ jobs:
uses: ./
with:
api_key: ${{ secrets.TF_PUBLIC_API_KEY }}
git_ref: "main"
tmt_plan_regex: "variables_plan"
pull_request_status_name: "Variables test"
variables: "SOME_DUMMY_VARIABLE=FOO_BAR_VARIABLE;OS_VARIABLE=DUMMY_OS"
Expand Down
5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ See [Testing Farm onboarding guide](https://docs.testing-farm.io/Testing%20Farm/
| Input Name | Description | Default value |
|------------|-------------|---------------|
| `git_url` | An url to the repository with tmt metadata | url of repo that runs GHA |
| `git_ref` | A tmt tests branch which will be used for tests | master |
| `git_ref` | A tmt tests branch, tag or commit specifying the desired git revision which will be used for tests | `github.ref` when available, otherwise `master` |
| `tmt_plan_regex` | A regular expression used to select tmt plans | all |
| `tmt_context` | A mapping of tmt context variable [tmt-context](https://tmt.readthedocs.io/en/latest/spec/context.html), variables separated by ; | empty |
| `tmt_path` | A path in the repository with tmt metadata | "." |
Expand Down Expand Up @@ -72,15 +72,14 @@ See [Testing Farm onboarding guide](https://docs.testing-farm.io/Testing%20Farm/
| `create_github_summary` | Create summary of the Testing Farm as GiHub Action job. Possible options: "false", "true", "key=value" | true |
| `timeout` | Timeout for the Testing Farm job in minutes. | 480 |


## Action Outputs

| Output Name | Description |
|-------------|-------------|
| `request_id` | An ID of a scheduled testing farm request. |
| `request_url` | An URL of a scheduled testing farm request. |
| `test_log_url` | An URL of a scheduled test logs. |


> [!TIP]
>
> Testing Farm as GitHub Action requires a GitHub token with the following permissions:
Expand Down
4 changes: 2 additions & 2 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ inputs:
required: false
default: '${{ github.server_url }}/${{ github.repository }}'
git_ref:
description: 'A TMT tests branch which will be used for tests'
description: 'A tmt tests branch, tag or commit specifying the desired git revision which will be used for tests.'
required: false
default: 'master'
default: '${{ github.ref }}'
github_token:
description: 'GitHub TOKEN or PAT'
required: false
Expand Down
4 changes: 3 additions & 1 deletion dist/action.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/action.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

Loading