Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update to latest versions of helm and helmfile #4

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions codefresh.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ steps:
working_directory: ./
dockerfile: Dockerfile
build_arguments:
- HELM_VERSION=2.14.3
- HELM_VERSION=2.16.5
- HELMFILE_VERSION=${{HELMFILE_VERSION}}
- HELM_DIFF_VERSION=${{HELM_DIFF_VERSION}}
- HELM_SECRETS_VERSION=${{HELM_SECRETS_VERSION}}
Expand All @@ -23,7 +23,7 @@ steps:
working_directory: ./
dockerfile: Dockerfile
build_arguments:
- HELM_VERSION=3.0.0
- HELM_VERSION=3.1.2
- HELMFILE_VERSION=${{HELMFILE_VERSION}}
- HELM_DIFF_VERSION=${{HELM_DIFF_VERSION}}
- HELM_SECRETS_VERSION=${{HELM_SECRETS_VERSION}}
Expand All @@ -32,7 +32,7 @@ steps:
type: push
candidate: ${{BuildingDockerImageHelm2}}
tags:
- 2.14.3-${{HELMFILE_VERSION}}
- 2.16.5-${{HELMFILE_VERSION}}
registry: dockerhub
when:
branch:
Expand All @@ -43,7 +43,7 @@ steps:
type: push
candidate: ${{BuildingDockerImageHelm3}}
tags:
- 3.0.0-${{HELMFILE_VERSION}}
- 3.1.2-${{HELMFILE_VERSION}}
registry: dockerhub
when:
branch:
Expand Down
21 changes: 11 additions & 10 deletions step.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
---
kind: step-type
version: '1.0'
metadata:
name: helmfile
version: 0.0.2
version: 0.0.3
isPublic: true
description: Use helmfile from Codefresh pipeline
sources:
Expand All @@ -17,17 +18,17 @@ metadata:
tags: []
icon:
type: svg
url: https://cdn.jsdelivr.net/gh/codefresh-contrib/cfstep-helmfile/helm-logo.svg
background: "#f4f4f4"
url: 'https://cdn.jsdelivr.net/gh/codefresh-contrib/cfstep-helmfile/helm-logo.svg'
background: '#f4f4f4'
examples:
- description: example-1
workflow:
version: '1.0'
steps:
steps:
deploy:
type: helmfile
arguments:
WORKING_DIRECTORY: /codefresh/volume/${{CF_REPO_NAME}}
WORKING_DIRECTORY: '/codefresh/volume/${{CF_REPO_NAME}}'
COMMANDS: diff
ENVIRONMENT: development
KUBE_CONTEXT: dev_cluster
Expand Down Expand Up @@ -58,14 +59,14 @@ spec:
"HELM_VERSION": {
"type": "string",
"description": "Version of helmfile binary",
"default": "3.0.0",
"enum": [ "2.14.3", "3.0.0" ]
"default": "3.1.2",
"enum": [ "2.16.5", "3.1.2" ]
},
"HELMFILE_VERSION": {
"type": "string",
"description": "Version of helmfile binary",
"default": "0.93.2",
"enum": [ "0.90.2", "0.90.7", "0.93.2" ]
"default": "0.106.3",
"enum": [ "0.90.2", "0.90.7", "0.93.2", "0.106.3" ]
},
"HELM_BINARY": {
"type": "string",
Expand Down Expand Up @@ -238,4 +239,4 @@ spec:
- 'STATUS_PS=${{STATUS_PS}}'
- 'DELETE_PS=${{DELETE_PS}}'
- 'DESTROY_PS=${{DESTROY_PS}}'
- 'TEST_PS=${{TEST_PS}}'
- 'TEST_PS=${{TEST_PS}}'