-
Notifications
You must be signed in to change notification settings - Fork 3.5k
65 lines (64 loc) · 2.01 KB
/
release.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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
name: Release workflow
on:
workflow_dispatch:
inputs:
release_version:
required: true
description: "The version to be released"
type: string
arti_host:
required: false
type: string
default: https://one.hitachivantara.com
description: "Artifactory's Host name"
box_upload:
type: boolean
default: true
description: "Box upload."
create_release_bundle:
type: boolean
default: true
description: "Create Release Bundle."
promote_artifacts:
type: boolean
default: true
description: "Promote artifacts in Artifactory."
dry_run:
type: boolean
default: true
description: "Dry run. No real changes should occur."
release_bundle_name:
description: "Release Bundle Name"
required: true
type: string
release_bundle_version:
description: "Release Bundle Version"
required: true
type: string
signing_key_name:
description: "The GPG/RSA key-pair name given in Artifactory."
required: true
type: string
release_method:
description: "Source type to create release bundle (i.e artifacts or builds)."
required: true
default: artifacts
type: choice
options:
- artifacts
- builds
jobs:
release:
uses: pentaho/actions-common/.github/workflows/release.yml@HNC-578
with:
release_version: ${{ inputs.release_version }}
box_upload: ${{ inputs.box_upload }}
create_release_bundle: ${{ inputs.create_release_bundle}}
arti_host: ${{ inputs.arti_host }}
dry_run: ${{ inputs.dry_run }}
promote_artifacts: ${{ inputs.promote_artifacts }}
release_bundle_name: ${{ inputs.release_bundle_name }}
release_bundle_version: ${{ inputs.release_bundle_version }}
signing_key_name: ${{ inputs.signing_key_name }}
release_method: ${{ inputs.release_method }}
secrets: inherit