-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
298 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
# Copyright 2020 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. | ||
|
||
apiVersion: skaffold/v1beta2 | ||
kind: Config | ||
build: | ||
artifacts: | ||
- image: client | ||
context: client | ||
docker: | ||
cacheFrom: | ||
- golang:latest | ||
- alpine:latest | ||
tagPolicy: | ||
gitCommit: {} | ||
deploy: | ||
kubectl: | ||
flags: | ||
global: ["--namespace=apps"] | ||
manifests: | ||
- namespace.yaml | ||
- client/client.yaml | ||
# "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 | ||
profiles: | ||
- name: gcb | ||
build: | ||
googleCloudBuild: | ||
diskSizeGb: 10 | ||
machineType: N1_HIGHCPU_8 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
# Copyright 2020 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. | ||
|
||
apiVersion: skaffold/v1beta2 | ||
kind: Config | ||
build: | ||
artifacts: | ||
- image: customers | ||
context: customers | ||
docker: | ||
cacheFrom: | ||
- golang:latest | ||
- alpine:latest | ||
tagPolicy: | ||
gitCommit: {} | ||
deploy: | ||
kubectl: | ||
flags: | ||
global: ["--namespace=apps"] | ||
manifests: | ||
- namespace.yaml | ||
- customers/customers.yaml | ||
# "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 | ||
profiles: | ||
- name: gcb | ||
build: | ||
googleCloudBuild: | ||
diskSizeGb: 100 | ||
machineType: N1_HIGHCPU_8 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
# Copyright 2020 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. | ||
|
||
apiVersion: skaffold/v1beta2 | ||
kind: Config | ||
build: | ||
artifacts: | ||
- image: inventory | ||
context: inventory | ||
docker: | ||
cacheFrom: | ||
- golang:latest | ||
- alpine:latest | ||
tagPolicy: | ||
gitCommit: {} | ||
deploy: | ||
kubectl: | ||
flags: | ||
global: ["--namespace=apps"] | ||
manifests: | ||
- namespace.yaml | ||
- inventory/inventory.yaml | ||
# "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 | ||
profiles: | ||
- name: gcb | ||
build: | ||
googleCloudBuild: | ||
diskSizeGb: 10 | ||
machineType: N1_HIGHCPU_8 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
# Copyright 2020 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. | ||
|
||
apiVersion: skaffold/v1beta2 | ||
kind: Config | ||
build: | ||
artifacts: | ||
- image: orders | ||
context: orders | ||
docker: | ||
cacheFrom: | ||
- golang:latest | ||
- alpine:latest | ||
- image: orders-gql | ||
context: orders-gql | ||
docker: | ||
cacheFrom: | ||
- golang:latest | ||
- alpine:latest | ||
tagPolicy: | ||
gitCommit: {} | ||
deploy: | ||
kubectl: | ||
flags: | ||
global: ["--namespace=apps"] | ||
manifests: | ||
- namespace.yaml | ||
- orders/orders.yaml | ||
- orders-gql/orders-gql.yaml | ||
# "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 | ||
profiles: | ||
- name: gcb | ||
build: | ||
googleCloudBuild: | ||
diskSizeGb: 10 | ||
machineType: N1_HIGHCPU_8 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
# Copyright 2020 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. | ||
|
||
apiVersion: skaffold/v1beta2 | ||
kind: Config | ||
build: | ||
artifacts: | ||
- image: tracking | ||
context: tracking | ||
docker: | ||
cacheFrom: | ||
- golang:latest | ||
- alpine:latest | ||
dockerfile: ./Dockerfile.server | ||
- image: tracking-client | ||
context: tracking | ||
docker: | ||
cacheFrom: | ||
- golang:latest | ||
- alpine:latest | ||
dockerfile: ./Dockerfile.client | ||
tagPolicy: | ||
gitCommit: {} | ||
deploy: | ||
kubectl: | ||
flags: | ||
global: ["--namespace=apps"] | ||
manifests: | ||
- namespace.yaml | ||
- tracking/tracking.yaml | ||
- tracking/tracking-client.yaml | ||
# "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 | ||
profiles: | ||
- name: gcb | ||
build: | ||
googleCloudBuild: | ||
diskSizeGb: 10 | ||
machineType: N1_HIGHCPU_8 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
# Copyright 2020 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. | ||
|
||
apiVersion: skaffold/v1beta2 | ||
kind: Config | ||
build: | ||
artifacts: | ||
- image: websockets | ||
context: websockets/server | ||
docker: | ||
cacheFrom: | ||
- golang:latest | ||
- alpine:latest | ||
tagPolicy: | ||
gitCommit: {} | ||
deploy: | ||
kubectl: | ||
flags: | ||
global: ["--namespace=apps"] | ||
manifests: | ||
- namespace.yaml | ||
- websockets/server/websockets.yaml | ||
# "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 | ||
profiles: | ||
- name: gcb | ||
build: | ||
googleCloudBuild: | ||
diskSizeGb: 10 | ||
machineType: N1_HIGHCPU_8 |