2018-07-26 04:22:00 +00:00
|
|
|
# Copyright 2018 Google LLC
|
|
|
|
#
|
|
|
|
# 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.
|
|
|
|
|
2018-06-21 21:02:20 +00:00
|
|
|
apiVersion: skaffold/v1alpha2
|
|
|
|
kind: Config
|
|
|
|
build:
|
2018-06-29 03:18:53 +00:00
|
|
|
tagPolicy:
|
|
|
|
gitCommit: {}
|
2018-06-21 21:02:20 +00:00
|
|
|
artifacts:
|
2018-08-04 18:23:35 +00:00
|
|
|
- imageName: gcr.io/microservices-demo-app/emailservice
|
2018-06-21 21:02:20 +00:00
|
|
|
workspace: src/emailservice
|
2018-08-04 18:23:35 +00:00
|
|
|
- imageName: gcr.io/microservices-demo-app/productcatalogservice
|
2018-06-21 21:02:20 +00:00
|
|
|
workspace: src/productcatalogservice
|
2018-08-04 18:23:35 +00:00
|
|
|
- imageName: gcr.io/microservices-demo-app/recommendationservice
|
2018-06-21 21:02:20 +00:00
|
|
|
workspace: src/recommendationservice
|
2018-08-04 18:23:35 +00:00
|
|
|
- imageName: gcr.io/microservices-demo-app/shippingservice
|
2018-06-21 21:02:20 +00:00
|
|
|
workspace: src/shippingservice
|
2018-08-04 18:23:35 +00:00
|
|
|
- imageName: gcr.io/microservices-demo-app/checkoutservice
|
2018-06-21 21:02:20 +00:00
|
|
|
workspace: src/checkoutservice
|
2018-08-04 18:23:35 +00:00
|
|
|
- imageName: gcr.io/microservices-demo-app/paymentservice
|
2018-06-21 21:22:09 +00:00
|
|
|
workspace: src/paymentservice
|
2018-08-04 18:23:35 +00:00
|
|
|
- imageName: gcr.io/microservices-demo-app/currencyservice
|
2018-06-22 23:11:21 +00:00
|
|
|
workspace: src/currencyservice
|
2018-08-04 18:23:35 +00:00
|
|
|
- imageName: gcr.io/microservices-demo-app/cartservice
|
2018-06-26 18:01:24 +00:00
|
|
|
workspace: src/cartservice
|
2018-08-04 18:23:35 +00:00
|
|
|
- imageName: gcr.io/microservices-demo-app/frontend
|
2018-06-28 23:53:56 +00:00
|
|
|
workspace: src/frontend
|
2018-08-04 18:23:35 +00:00
|
|
|
- imageName: gcr.io/microservices-demo-app/loadgenerator
|
2018-06-29 23:35:57 +00:00
|
|
|
workspace: src/loadgenerator
|
2018-08-23 00:02:46 +00:00
|
|
|
- imageName: gcr.io/microservices-demo-app/adservice
|
|
|
|
workspace: src/adservice
|
2018-06-21 21:02:20 +00:00
|
|
|
deploy:
|
|
|
|
kubectl:
|
|
|
|
manifests:
|
|
|
|
- ./kubernetes-manifests/**.yaml
|
2018-08-21 17:27:35 +00:00
|
|
|
|
2018-09-06 22:35:36 +00:00
|
|
|
|
2018-08-20 17:17:54 +00:00
|
|
|
profiles:
|
2018-09-06 22:35:36 +00:00
|
|
|
# "travis-ci" profile is used to build the images without
|
|
|
|
# pushing them.
|
|
|
|
- name: travis-ci
|
|
|
|
build:
|
|
|
|
local:
|
|
|
|
skipPush: true
|
|
|
|
# "gcb" profile allows building and pushing the images
|
|
|
|
# on Google Container Builder without requiring docker
|
|
|
|
# installed on the developer machine. However, note that
|
|
|
|
# since GCB does not cache the builds, each build will
|
|
|
|
# start from scratch and therefore take a long time.
|
|
|
|
#
|
|
|
|
# This is not used by default. To use it, run:
|
|
|
|
# skaffold run -p gcb
|
2018-08-20 17:17:54 +00:00
|
|
|
- name: gcb
|
|
|
|
build:
|
|
|
|
googleCloudBuild:
|
|
|
|
diskSizeGb: 300
|
|
|
|
machineType: "N1_HIGHCPU_32"
|
2018-09-26 19:22:51 +00:00
|
|
|
timeout: 4000s
|