-
Notifications
You must be signed in to change notification settings - Fork 4
/
appstack.mk.tmpl
61 lines (53 loc) · 2.77 KB
/
appstack.mk.tmpl
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
# Copyright (c) 2015 Intel Corporation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# cfbin* variables related to provision CF CLI binary
cfbinrel = linux64-binary
cfbinver = 6.12.4
#cfbinver = latest
cfbinurl = https://cli.run.pivotal.io/stable
# list of manifests used to describe the appstack.
# YAML files will be merged to a single YAML, with the values of latter files being less important
# if multiple files hold different values of the same key, the value coming from the first file will be used
#
# stack_mflist = versions.yml settings.yml appstack.yml
stack_mflist = settings.yml appstack.yml
# an identifier used to mark terminal messages with meaningful label
stackpfx = mystack_
# prefix location where artifacts are stored
artifacts_local_pfx = artifacts
# prefix location where buildpacks are stored
buildpacks_local_pfx = buildpacks
# used to construct common artifact URL scheme (see afcturl below)
artifact_pfx = https://my.artifact.store.org/common/path/to/artifacts
# used to construct common artifact URL scheme (see afcturl below)
# artifact_ver will be a fallback if no env::VERSION provided in manifest
artifact_ver = latest
# afcturl can be constructed of any runtime MAKE variables.
# it is less important than an app env::artifact_srcurl value
# $(appname) takes value of env::artifact_name if it exists, or application name declared in YAML manifest
# $(appname) takes value of env::VERSION if it exists, or $(artifact_ver)
# $(local_pfx) takes value of artifacts_local_pfx if it is artifact, or buildpacks_local_pfx if it is buildpack
#
# common artifact version scenario, artifact store supports unified latest artifact delivery:
# afcturl = $(artifact_pfx)/$(local_pfx)/$(appname)/getLatestVersion
#
# common artifact version scenario, artifact store only provides filenames (flat web-served filedirectory):
# afcturl = $(artifact_pfx)/$(local_pfx)/$(appname)-$(artifact_ver).zip
#
# different artifact versions scenario, dummy artifact store, with versions set up in manifests and fallback to artifact_ver if not:
afcturl = $(artifact_pfx)/$(local_pfx)/$(appname)/$(appver)/$(appname)-$(appver).zip
# uncomment the vars below only if you are behind a proxy; otherwise leave as is
#proxy = http://proxy.mydomain.org:8080/
#noproxy = 127.0.0.1,localhost,localhost.localdomain,mydomain.org