Fix build for skaffold 0.16 (#77)

Closes #76.
This commit is contained in:
Ahmet Alp Balkan 2018-10-15 09:03:28 -07:00 committed by GitHub
parent 3b6d3864a0
commit 51da4930ae
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 25 additions and 26 deletions

View file

@ -4,7 +4,7 @@ services:
- docker - docker
install: install:
- curl -Lo skaffold https://storage.googleapis.com/skaffold/releases/v0.15.1/skaffold-linux-amd64 - curl -Lo skaffold https://storage.googleapis.com/skaffold/releases/v0.16.0/skaffold-linux-amd64
- chmod +x skaffold - chmod +x skaffold
- sudo mv skaffold /usr/local/bin - sudo mv skaffold /usr/local/bin

View file

@ -12,32 +12,32 @@
# See the License for the specific language governing permissions and # See the License for the specific language governing permissions and
# limitations under the License. # limitations under the License.
apiVersion: skaffold/v1alpha3 apiVersion: skaffold/v1alpha4
kind: Config kind: Config
build: build:
artifacts: artifacts:
- imageName: gcr.io/microservices-demo-app/emailservice - image: gcr.io/microservices-demo-app/emailservice
workspace: src/emailservice context: src/emailservice
- imageName: gcr.io/microservices-demo-app/productcatalogservice - image: gcr.io/microservices-demo-app/productcatalogservice
workspace: src/productcatalogservice context: src/productcatalogservice
- imageName: gcr.io/microservices-demo-app/recommendationservice - image: gcr.io/microservices-demo-app/recommendationservice
workspace: src/recommendationservice context: src/recommendationservice
- imageName: gcr.io/microservices-demo-app/shippingservice - image: gcr.io/microservices-demo-app/shippingservice
workspace: src/shippingservice context: src/shippingservice
- imageName: gcr.io/microservices-demo-app/checkoutservice - image: gcr.io/microservices-demo-app/checkoutservice
workspace: src/checkoutservice context: src/checkoutservice
- imageName: gcr.io/microservices-demo-app/paymentservice - image: gcr.io/microservices-demo-app/paymentservice
workspace: src/paymentservice context: src/paymentservice
- imageName: gcr.io/microservices-demo-app/currencyservice - image: gcr.io/microservices-demo-app/currencyservice
workspace: src/currencyservice context: src/currencyservice
- imageName: gcr.io/microservices-demo-app/cartservice - image: gcr.io/microservices-demo-app/cartservice
workspace: src/cartservice context: src/cartservice
- imageName: gcr.io/microservices-demo-app/frontend - image: gcr.io/microservices-demo-app/frontend
workspace: src/frontend context: src/frontend
- imageName: gcr.io/microservices-demo-app/loadgenerator - image: gcr.io/microservices-demo-app/loadgenerator
workspace: src/loadgenerator context: src/loadgenerator
- imageName: gcr.io/microservices-demo-app/adservice - image: gcr.io/microservices-demo-app/adservice
workspace: src/adservice context: src/adservice
tagPolicy: tagPolicy:
gitCommit: {} gitCommit: {}
deploy: deploy:
@ -50,7 +50,7 @@ profiles:
- name: travis-ci - name: travis-ci
build: build:
local: local:
skipPush: true push: false
# "gcb" profile allows building and pushing the images # "gcb" profile allows building and pushing the images
# on Google Container Builder without requiring docker # on Google Container Builder without requiring docker
# installed on the developer machine. However, note that # installed on the developer machine. However, note that
@ -62,7 +62,6 @@ profiles:
- name: gcb - name: gcb
build: build:
googleCloudBuild: googleCloudBuild:
projectId: ""
diskSizeGb: 300 diskSizeGb: 300
machineType: N1_HIGHCPU_32 machineType: N1_HIGHCPU_32
timeout: 4000s timeout: 4000s