-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Allow to run ACC tests from branch (#191)
## Motivation Allow to run ACC tests from branch on demand. Co-authored-by: Mateusz Hawrus <48822818+nieomylnieja@users.noreply.github.com>
- Loading branch information
1 parent
64ff147
commit f8b3fd9
Showing
1 changed file
with
41 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
name: Acceptance tests dispatch | ||
on: | ||
workflow_dispatch: | ||
inputs: | ||
clientId: | ||
description: Client ID to use for authentication | ||
required: true | ||
type: string | ||
clientSecret: | ||
description: Client secret to use for authentication | ||
type: string | ||
required: true | ||
ref: | ||
description: Reference branch, tag or commit SHA to checkout | ||
required: true | ||
type: string | ||
default: main | ||
oktaOrgUrl: | ||
description: Okta organization URL | ||
required: false | ||
type: string | ||
oktaAuthServer: | ||
description: Okta authentication server identifier | ||
required: false | ||
type: string | ||
project: | ||
description: Project name to create the tested objects in | ||
required: false | ||
type: string | ||
default: default | ||
jobs: | ||
test: | ||
uses: ./.github/workflows/acc-tests.yml | ||
with: | ||
clientId: "${{ inputs.clientId }}" | ||
ref: "${{ inputs.ref }}" | ||
oktaOrgUrl: "${{ inputs.oktaOrgUrl }}" | ||
oktaAuthServer: "${{ inputs.oktaAuthServer }}" | ||
project: "${{ inputs.project }}" | ||
secrets: | ||
clientSecret: "${{ inputs.clientSecret }}" |