-
Notifications
You must be signed in to change notification settings - Fork 0
39 lines (39 loc) · 1.34 KB
/
distributeTrmRelease.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
name: Distribute TRM release
on:
workflow_call:
inputs:
packageVersion:
required: true
type: string
jobs:
installTrmRelease:
runs-on: [self-hosted, Windows, RegRunner]
steps:
- name: Start new instance
id: targetInstance
uses: simonegaffurini/nuveplatform-start-backup@main
with:
email: ${{ secrets.NUVE_EMAIL }}
password: ${{ secrets.NUVE_PASSWORD }}
backup: ${{ vars.NUVE_NEW_INSTANCE_BACKUP_NAME }}
instanceName: ${{ vars.NUVE_NEW_INSTANCE_NAME }}
instanceProject: trm-samples
- name: TRM Install
uses: RegestaItalia/trm-action-install@2.0.2
with:
systemDest: A4H
systemAsHost: ${{ steps.targetInstance.outputs.externalIp }}
systemSysnr: '00'
systemClient: '001'
systemUser: ${{ secrets.A4H_USER }}
systemPassword: ${{ secrets.A4H_PASSWORD }}
systemLang: EN
packageName: abapcicd
packageVersion: ${{ inputs.packageVersion }}
registryAuth: ${{ secrets.TRM_REGISTRY_AUTH }}
- name: Stop SAP instance
uses: simonegaffurini/nuveplatform-stop-instance@main
with:
email: ${{ secrets.NUVE_EMAIL }}
password: ${{ secrets.NUVE_PASSWORD }}
instanceName: ${{ vars.NUVE_NEW_INSTANCE_NAME }}