-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathapollo-project-as-code.yml
More file actions
144 lines (126 loc) · 5.77 KB
/
apollo-project-as-code.yml
File metadata and controls
144 lines (126 loc) · 5.77 KB
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
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
#
# Standard DevOps project creation options.
#
# Pay close attention to parameters that require values unique
# to you, such as those for Git, Docker, and AWS.
#
# To use Git, Docker, and any provider, be sure to have created
# an account with each.
#
# For Git, before generating the project be sure to create the
# repository and designate as public before
#
# Minimally, anywhere you see an xxx, replace with your relevant value
#
project:
name: Apollo GraphQL Demo
description: Sample Apollog GraphQL project
techstack:
name: Apollo
# To see the list of available tech stacks on a Harbormaster instance using command:
# harbormaster_cli stack_list --output pretty
model:
name: ./samples/models/company-model.yaml
# options: Unique name of an existing model, a URL to a model file or Git repo,
# or full/relative path to a model file.
#
# To see the list of supported model types use command:
# harbormaster_cli model_types_supported
#
# To see the list of available models on a Harbormaster instance use command:
# harbormaster_cli model_list --output pretty
#
# For JAR files and Git Repos with Java Files, include the root package names of the root package
# javaRootPackageNames:
# - com.freeport.bo
# primaryKeyPattern: _pojoName_Id # the pattern to look for when interrogating a POJO for a primary key field
# allowed values are a either a literal, ex: id OR
# POJOName with a suffix, ex: _pojoName_Id will handle accountId, customerId, etc...
#
# DevOps Project Creation Options
#
options:
#
# Application parameters
#
application:
name: apollodemo
description: Demo Apollo GraphQL project generated by Harbormaster
author: Dev Team
email: xxxx.xxxxxxxxx@xxxxxxxx.com
application logo URL: ./img/turnstone.biologics.png
company name: Turnstone Biologics
version: 0.0.1
#
# Apollo parameters - See https://github.com/apollographql/apollo/
#
apollo:
engine-api-key: service:xxxxxxxx:xxxxxxx # of the form service:<your-service-name>:<hash-from-apollo-engine>
service: xxxxxxxxx # Apollo assigned service name
pageSize: 20
includeClient: true
clientType: angular
cacheInMemory: true
#
# CI/CD parameters
#
cicd:
platform: codeship # options: codeship, circleci, jfrog.pipelines
# jenkins, azure, aws, gitlab,
# bitbucket, github
AES key: xxxxx # this is assigned per CodeShip project
#
# Docker parameters
#
docker:
inUse: true
userName: tylertravismya
password: 69cutlass
orgName: xxxxxxxxxx
repo: angular8demo
tag: latest
host: #empty uses docker hubd default
#
# Git repository parameters
#
git:
name: git_test_Apollo # an arbitrary name, but for JFrog, this should be the name of the Git related integration
username: xxxxxxxxxxxx
password: xxxxxxxxxxxx
repository: Apollo
tag: latest
host: bitbucket.org
#
# HashiCorp Terraform parameters
#
terraform:
inUse: true
provider: aws # options: aws, google, azure, nutanix
region: us-east-1 # options: any cloud provider region
ssh-fingerprint: xxxxxx # CircleCI requires this
#
# Kubernetes parameters: If not in use, and Terraform
# is in use, physical infrastructure
# will be provisioned on the provider
#
kubernetes:
inUse: false
host: https://xxx.xxx.xxx.xxx
project: xxxxxxxxxxxxxxxxx
region: us-central1-a # options: any provider region
hostTarget: google # option: google, aws, azure, nutanix
username: admin
password: 5UhfcIPAPsiPXklT # value to assign
exposeAsService: true
serviceType: LoadBalancer # options: LoadBalancer, NodePort, ClusterIP
useSessionAffinity: true
#
# Artifact repository for build dependencies and binaries
#
artifact-repo:
inUse: false
type: jfrog # options: nexus, jfrog
userName: xxxxxxxx
password: xxxxxxxx
email: xxxx.xxxxxx@xxxxxxx.com
repoUrl: http://xxx.xxx.xxx.xxx:8081/repository/npm-public