-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
- Loading branch information
1 parent
28d775f
commit 20171ba
Showing
1 changed file
with
84 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,84 @@ | ||
name: PMM3 Upgrade tests | ||
|
||
on: | ||
workflow_dispatch: | ||
inputs: | ||
pmm_ui_tests_branch: | ||
description: 'pmm-ui-tests repository branch' | ||
default: 'main' | ||
required: true | ||
pmm_qa_branch: | ||
description: 'pmm-qa repository branch(for setup)' | ||
default: 'main' | ||
required: true | ||
pmm_server_start_version: | ||
description: 'PMM Server version to upgrade (latest|dev-latest|x.xx.x|x.xx.x-rc)' | ||
default: 'latest' | ||
required: true | ||
pmm_client_start_version: | ||
description: 'PMM Client version to upgrade from (dev-latest|pmm2-latest|pmm2-rc|x.xx.x)' | ||
default: 'pmm2-latest' | ||
required: true | ||
upgrade_type: | ||
description: 'Upgrade way:' | ||
required: true | ||
default: 'UI way' | ||
type: choice | ||
options: | ||
- UI way | ||
- Docker way | ||
- Podman way | ||
repository: | ||
description: 'Upgrade to:' | ||
required: true | ||
default: 'experimental' | ||
type: choice | ||
options: | ||
- release | ||
- testing | ||
- experimental | ||
workflow_call: | ||
inputs: | ||
pmm_ui_tests_branch: | ||
description: 'pmm-ui-tests repository branch' | ||
default: 'main' | ||
required: true | ||
pmm_qa_branch: | ||
description: 'pmm-qa repository branch(for setup)' | ||
default: 'main' | ||
required: true | ||
pmm_server_start_version: | ||
description: 'PMM Server version to upgrade (latest|dev-latest|x.xx.x|x.xx.x-rc)' | ||
default: 'latest' | ||
required: true | ||
pmm_client_start_version: | ||
description: 'PMM Client version to upgrade from (dev-latest|pmm2-latest|pmm2-rc|x.xx.x)' | ||
default: 'pmm2-latest' | ||
required: true | ||
upgrade_type: | ||
description: 'Upgrade way:' | ||
required: true | ||
default: 'UI way' | ||
type: choice | ||
options: | ||
- UI way | ||
- Docker way | ||
- Podman way | ||
repository: | ||
description: 'Upgrade to:' | ||
required: true | ||
default: 'experimental' | ||
type: choice | ||
options: | ||
- release | ||
- testing | ||
- experimental | ||
|
||
jobs: | ||
get_versions: | ||
name: Get versions | ||
uses: ./.github/workflows/pmm-version-getter.yml | ||
with: | ||
pmm_server_start_version: ${{ inputs.pmm_server_start_version || 'latest'}} | ||
repository: ${{ inputs.repository || 'dev-latest'}} | ||
matrix_range: 10 |