Skip to content

Commit

Permalink
datapipe 0.2.3
Browse files Browse the repository at this point in the history
  • Loading branch information
elephantum committed Jul 24, 2023
1 parent e80ea81 commit 5355064
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 1 deletion.
4 changes: 4 additions & 0 deletions charts/datapipe/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# 0.2.3

* Support custom pipeline module

# 0.2.2

* Include `fullName` into `CronJob` name
Expand Down
2 changes: 1 addition & 1 deletion charts/datapipe/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.2.2
version: 0.2.3

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
Expand Down
3 changes: 3 additions & 0 deletions charts/datapipe/templates/loops-cronjob.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@ spec:
image: "{{ $.Values.image.repository }}:{{ $.Values.image.tag }}"
command:
- datapipe
{{- if $.Values.pipeline }}
- --pipeline={{ $.Values.pipeline }}
{{- end }}
- step
{{- if .stepArgs }}
{{ .stepArgs | toYaml | nindent 14 }}
Expand Down
2 changes: 2 additions & 0 deletions charts/datapipe/tests/__snapshot__/simple_test.yaml.snap
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ All manifests should match snapshot:
containers:
- command:
- datapipe
- --pipeline=custom_module.app
- step
- --labels=stage=loop-hourly
- run
Expand Down Expand Up @@ -52,6 +53,7 @@ All manifests should match snapshot:
containers:
- command:
- datapipe
- --pipeline=custom_module.app
- step
- --labels=stage=loop-daily
- run
Expand Down
2 changes: 2 additions & 0 deletions charts/datapipe/tests/simple-values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ image:
repository: test-datapipe
tag: 1.1.1

pipeline: custom_module.app

env:
- name: TEST_ENV
value: "test"
Expand Down
2 changes: 2 additions & 0 deletions charts/datapipe/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ imagePullSecrets: []
nameOverride: ""
fullnameOverride: ""

pipeline: ""

loops: []
# - name: name-of-the-regular-job
# schedule: "*/5 * * * *"
Expand Down

0 comments on commit 5355064

Please sign in to comment.