-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathblueprint.yaml
65 lines (55 loc) · 1.98 KB
/
blueprint.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
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
apiVersion: xl/v2
kind: Blueprint
metadata:
name: aws-ec2wildfly-app-demo
description: |
Starts wildfly AMI EC2 instance in AWS and then deploys a simple application to it
author: XebiaLabs
version: 2.0
instructions: Will add more later
spec:
parameters:
- name: UseAWSCredentialsFromSystem
type: Confirm
prompt: Do you want to use AWS credentials from ~/.aws/credentials file?
promptIf: !expr "awsCredentials('IsAvailable')"
- name: AWSAccessKey
type: SecretInput
prompt: What is the AWS Access Key ID?
promptIf: !expr "!UseAWSCredentialsFromSystem"
default: !expr "awsCredentials('AccessKeyID')"
- name: AWSAccessSecret
type: SecretInput
prompt: What is the AWS Secret Access Key?
promptIf: !expr "!UseAWSCredentialsFromSystem"
default: !expr "awsCredentials('SecretAccessKey')"
- name: AWSRegion
type: Select
prompt: "Select the AWS region:"
saveInXlvals: true
default: !expr "awsRegions('ecs', 0)"
options:
- !expr "awsRegions('ecs')"
- name: AWSSecurityGroup
type: Input
prompt: "Provide the id of a security group in your AWS account that has necessary open ports:"
- name: AmiId
type: Input
prompt: What is the Id of the AMI?
default: ami-08774d91adb972d1d
- name: KeyFileName
type: Input
prompt: "What is the name of your AWS key file? Note: do not include the .pem extension."
- name: KeyFilePath
type: Input
prompt: "Provide the directory path where your AWS key file is located, for example: /Users/yourUserName/.ssh/ Note: include the ending / character."
files:
- path: xebialabs.yaml
- path: xebialabs/USAGE.md.tmpl
- path: xebialabs/xld-apps.yaml.tmpl
- path: xebialabs/xld-env.yaml.tmpl
- path: xebialabs/xld-infra.yaml.tmpl
- path: xebialabs/xlr-pipeline.yaml.tmpl
- path: xebialabs/artifacts/Applications/PetClinic-ear/2.0/PetClinic/PetClinic-2.0.ear
- path: docker/data/configure-xl-devops-platform.yaml
- path: docker/docker-compose.yml.tmpl