-
Notifications
You must be signed in to change notification settings - Fork 2
102 lines (95 loc) · 3.98 KB
/
nightly-pipeline.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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
name: Nightly Pipeline
on:
workflow_dispatch:
inputs:
dryrun:
type: boolean
default: false
schedule:
- cron: '0 3 * * *'
jobs:
DataFileChange:
name: Nightly Data File Change
uses: 51Degrees/common-ci/.github/workflows/nightly-data-file-change.yml@nightly-pipeline
with:
common-ci-ref: nightly-pipeline
repo-name: ${{ github.event.repository.name }}
org-name: ${{ github.event.repository.owner.login }}
dryrun: ${{ inputs.dryrun || false }}
secrets:
token: ${{ secrets.ACCESS_TOKEN }}
device-detection-key: ${{ secrets.DEVICE_DETECTION_KEY }}
device-detection-url: ${{ secrets.DEVICE_DETECTION_URL }}
PackageUpdate:
name: Nightly Package Update
uses: 51Degrees/common-ci/.github/workflows/nightly-package-update.yml@nightly-pipeline
with:
common-ci-ref: nightly-pipeline
repo-name: ${{ github.event.repository.name }}
org-name: ${{ github.event.repository.owner.login }}
dryrun: ${{ inputs.dryrun || false }}
secrets:
token: ${{ secrets.ACCESS_TOKEN }}
DocumentationUpdate:
name: Nightly Documentation Update
uses: 51Degrees/common-ci/.github/workflows/nightly-documentation-update.yml@nightly-pipeline
with:
common-ci-ref: nightly-pipeline
repo-name: ${{ github.event.repository.name }}
org-name: ${{ github.event.repository.owner.login }}
dryrun: ${{ inputs.dryrun || false }}
separate-examples: true
secrets:
token: ${{ secrets.ACCESS_TOKEN }}
SubmoduleUpdate:
name: Nightly Submodule Update
uses: 51Degrees/common-ci/.github/workflows/nightly-submodule-update.yml@nightly-pipeline
with:
common-ci-ref: nightly-pipeline
repo-name: ${{ github.event.repository.name }}
org-name: ${{ github.event.repository.owner.login }}
dryrun: ${{ inputs.dryrun || false }}
secrets:
token: ${{ secrets.ACCESS_TOKEN }}
PullRequests:
if: ${{ !cancelled() }}
needs: [DataFileChange, PackageUpdate, DocumentationUpdate, SubmoduleUpdate]
name: Nightly Pull Requests
uses: 51Degrees/common-ci/.github/workflows/nightly-pull-requests.yml@nightly-pipeline
with:
common-ci-ref: nightly-pipeline
repo-name: ${{ github.event.repository.name }}
org-name: ${{ github.event.repository.owner.login }}
dryrun: ${{ inputs.dryrun || false }}
cache-assets: true
secrets:
token: ${{ secrets.ACCESS_TOKEN }}
DeviceDetection: ${{ secrets.DEVICE_DETECTION_KEY }}
DeviceDetectionUrl: ${{ secrets.DEVICE_DETECTION_URL }}
TestResourceKey: ${{ secrets.SUPER_RESOURCE_KEY}}
Publish:
if: ${{ !cancelled() }}
needs: PullRequests
name: Nightly Publish
uses: 51Degrees/common-ci/.github/workflows/nightly-publish.yml@nightly-pipeline
with:
common-ci-ref: nightly-pipeline
repo-name: ${{ github.event.repository.name }}
org-name: ${{ github.event.repository.owner.login }}
dryrun: ${{ inputs.dryrun || false }}
cache-assets: true
secrets:
token: ${{ secrets.ACCESS_TOKEN }}
DeviceDetection: ${{ secrets.DEVICE_DETECTION_KEY }}
DeviceDetectionUrl: ${{ secrets.DEVICE_DETECTION_URL }}
TestResourceKey: ${{ secrets.SUPER_RESOURCE_KEY}}
MavenSettings: ${{ secrets.JAVA_STAGING_SETTINGS_BASE64 }}
JavaGpgKeyPassphrase: ${{ secrets.JAVA_GPG_KEY_PASSPHRASE }}
JavaPGP: ${{ secrets.JAVA_KEY_PGP_FILE }}
CodeSigningKeyVaultName: ${{ secrets.CODE_SIGNING_KEY_VAULT_NAME }}
CodeSigningKeyVaultUrl: ${{ secrets.CODE_SIGNING_KEY_VAULT_URL }}
CodeSigningKeyVaultClientId: ${{ secrets.CODE_SIGNING_KEY_VAULT_CLIENT_ID }}
CodeSigningKeyVaultTenantId: ${{ secrets.CODE_SIGNING_KEY_VAULT_TENANT_ID }}
CodeSigningKeyVaultClientSecret: ${{ secrets.CODE_SIGNING_KEY_VAULT_CLIENT_SECRET }}
CodeSigningKeyVaultCertificateName: ${{ secrets.CODE_SIGNING_KEY_VAULT_CERTIFICATE_NAME }}
CodeSigningKeyVaultCertificateData: ${{ secrets.CODE_SIGNING_KEY_VAULT_CERTIFICATE_DATA }}