Skip to content

Commit

Permalink
Merge pull request carlossg#37 from carlossg/skaffold
Browse files Browse the repository at this point in the history
Upgrade skaffold file to v1beta1
  • Loading branch information
carlossg-bot authored Jan 31, 2019
2 parents 52109e1 + 1ac625d commit c259c2a
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 15 deletions.
1 change: 1 addition & 0 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ pipeline {
APP_NAME = 'croc-hunter-jenkinsx'
GIT_PROVIDER = 'github.com'
CHARTMUSEUM_CREDS = credentials('jenkins-x-chartmuseum')
SKAFFOLD_UPDATE_CHECK = 'false'
}
stages {
stage('CI Build and push snapshot') {
Expand Down
29 changes: 14 additions & 15 deletions skaffold.yaml
Original file line number Diff line number Diff line change
@@ -1,34 +1,33 @@
apiVersion: skaffold/v1alpha2
apiVersion: skaffold/v1beta1
kind: Config
build:
tagPolicy:
envTemplate:
template: "{{.DOCKER_REGISTRY}}/carlossg/croc-hunter-jenkinsx:{{.VERSION}}"
artifacts:
- imageName: changeme
workspace: .
- image: changeme
context: .
docker:
buildArgs:
GIT_SHA: "{{.GIT_COMMIT}}"
WORKFLOW_RELEASE: "{{.VERSION}}"
GIT_SHA: '{{.GIT_COMMIT}}'
WORKFLOW_RELEASE: '{{.VERSION}}'
tagPolicy:
envTemplate:
template: '{{.DOCKER_REGISTRY}}/carlossg/croc-hunter-jenkinsx:{{.VERSION}}'
local: {}
deploy:
kubectl:
manifests:
kubectl: {}
profiles:
- name: dev
build:
tagPolicy:
envTemplate:
template: "{{.DOCKER_REGISTRY}}/carlossg/croc-hunter-jenkinsx:{{.DIGEST_HEX}}"
artifacts:
- docker: {}
tagPolicy:
envTemplate:
template: '{{.DOCKER_REGISTRY}}/carlossg/croc-hunter-jenkinsx:{{.DIGEST_HEX}}'
local: {}
deploy:
helm:
releases:
- name: croc-hunter-jenkinsx
chartPath: charts/croc-hunter-jenkinsx
setValueTemplates:
image.repository: "{{.DOCKER_REGISTRY}}/carlossg/croc-hunter-jenkinsx"
image.tag: "{{.TAG}}"
image.repository: '{{.DOCKER_REGISTRY}}/carlossg/croc-hunter-jenkinsx'
image.tag: '{{.TAG}}'

0 comments on commit c259c2a

Please sign in to comment.