forked from Debanitrkl/backstage-test
-
Notifications
You must be signed in to change notification settings - Fork 3
/
test-flow-timeout-prod-vp.yaml
35 lines (35 loc) · 1.05 KB
/
test-flow-timeout-prod-vp.yaml
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
apiVersion: scaffolder.backstage.io/v1beta3
kind: Template
metadata:
name: test-error-time-out
title: Test the error time out
description: A template to test the error time out
spec:
owner: debabrata.panigrahi
type: service
parameters:
- title: Email Content
required:
- emailbody
properties:
emailbody:
title: Write the Content for your Email
type: string
token:
title: Harness Token
type: string
ui:widget: password
ui:field: HarnessAuthToken
steps:
- id: trigger
name: Writing the email body
action: trigger:harness-custom-pipeline
input:
url: https://app.harness.io/ng/account/vpCkHKsDSxK9_KYfjCTMKA/module/idp-admin/orgs/default/projects/Backstageplugins/pipelines/demoerrortimeout/pipeline-studio/?storeType=INLINE
inputset:
emailbody: ${{ parameters.emailbody }}
apikey: ${{ parameters.token }}
output:
links:
- title: Pipeline Details
url: ${{ steps.trigger.output.PipelineUrl }}