-
Notifications
You must be signed in to change notification settings - Fork 0
49 lines (46 loc) · 1.38 KB
/
trigger-qa-automated.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
name: Trigger QA Automated
on:
workflow_dispatch:
inputs:
repo:
description: 'repo'
required: true
default: 'kungfu'
type: string
version:
description: 'version'
required: true
default: '2.6.3-alpha.1'
type: string
artifact_name:
description: 'artifact_name'
required: true
default: 'artifact-kungfu'
type: string
qa_automated_repo:
description: 'qa_automated_repo'
required: true
default: 'kfx-qa-automated'
type: string
aws-user-region:
default: "cn-northwest-1"
type: string
required: false
jobs:
automated:
runs-on: ubuntu-20.04
steps:
- name: Configure AWS Crendentials (User)
uses: aws-actions/configure-aws-credentials@v1-node16
with:
aws-access-key-id: ${{ secrets.AWS_USER_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.AWS_USER_SECRET_ACCESS_KEY }}
aws-region: ${{ inputs.aws-user-region }}
- name: trigger
uses: kungfu-trader/action-qa-automated@v1.0-alpha
with:
token: ${{ secrets.KUNGFU_GITHUB_TOKEN }}
manual_artifact_name: ${{ inputs.artifact_name }}
manual_version: ${{ inputs.version }}
manual_repo: ${{ inputs.repo }}
qa_automated_repo: ${{ inputs.qa_automated_repo }}