Run skaffold fix (#72)

Upgrade skaffold version + manifest.
This commit is contained in:
Ahmet Alp Balkan 2018-10-09 10:52:47 -07:00 committed by GitHub
parent 34227a64a6
commit c6b825f846
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.12.0/skaffold-linux-amd64 - curl -Lo skaffold https://storage.googleapis.com/skaffold/releases/v0.15.1/skaffold-linux-amd64
- chmod +x skaffold - chmod +x skaffold
- sudo mv skaffold /usr/local/bin - sudo mv skaffold /usr/local/bin

View file

@ -12,11 +12,9 @@
# 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/v1alpha2 apiVersion: skaffold/v1alpha3
kind: Config kind: Config
build: build:
tagPolicy:
gitCommit: {}
artifacts: artifacts:
- imageName: gcr.io/microservices-demo-app/emailservice - imageName: gcr.io/microservices-demo-app/emailservice
workspace: src/emailservice workspace: src/emailservice
@ -40,30 +38,31 @@ build:
workspace: src/loadgenerator workspace: src/loadgenerator
- imageName: gcr.io/microservices-demo-app/adservice - imageName: gcr.io/microservices-demo-app/adservice
workspace: src/adservice workspace: src/adservice
tagPolicy:
gitCommit: {}
deploy: deploy:
kubectl: kubectl:
manifests: manifests:
- ./kubernetes-manifests/**.yaml - ./kubernetes-manifests/**.yaml
profiles: profiles:
# "travis-ci" profile is used to build the images without # "travis-ci" profile is used to build the images withou
# pushing them. # pushing them.
- name: travis-ci - name: travis-ci
build: build:
local: local:
skipPush: true skipPush: true
# "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
# since GCB does not cache the builds, each build will # since GCB does not cache the builds, each build will
# start from scratch and therefore take a long time. # start from scratch and therefore take a long time.
# #
# This is not used by default. To use it, run: # This is not used by default. To use it, run:
# skaffold run -p gcb # skaffold run -p gcb
- name: gcb - name: gcb
build: build:
googleCloudBuild: googleCloudBuild:
diskSizeGb: 300 projectId: ""
machineType: "N1_HIGHCPU_32" diskSizeGb: 300
timeout: 4000s machineType: N1_HIGHCPU_32
timeout: 4000s