File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -118,7 +118,7 @@ steps:
118118 commands :
119119 - IMAGE_TAG=$([ ! -z $DRONE_TAG ] && echo \"${DRONE_TAG:1}\" || echo \"canary\")
120120 - sed -i "s/imageTag:\ \"canary\"/imageTag:\ $IMAGE_TAG/g" charts/helmbroker/values.yaml
121- - helm package charts/helmbroker --version ${DRONE_TAG:-v1.0.0}
121+ - helm package -u charts/helmbroker --version ${DRONE_TAG:-v1.0.0}
122122 - curl -u $CHARTMUSEUM_USERNAME:$CHARTMUSEUM_PASSWORD -F chart=@helmbroker-${DRONE_TAG:-v1.0.0}.tgz "$CHARTMUSEUM_API/api/$([ -z $DRONE_TAG ] && echo testing || echo stable)/charts"
123123 environment :
124124 CHARTMUSEUM_USERNAME :
Original file line number Diff line number Diff line change 11name : helmbroker
22home : https://github.com/drycc/helmbroker
3- version : v1.0.0
3+ apiVersion : v2
4+ dependencies :
5+ - name : common
6+ repository : https://charts.drycc.cc/stable
7+ version : 1.x.x
48description : Drycc Workflow helmbroker.
59maintainers :
610 - name : Drycc Team
711 email : engineering@drycc.com
12+ version : v1.0.0
Original file line number Diff line number Diff line change 2121 labels :
2222 app : drycc-helmbroker-celery
2323 spec :
24+ {{- include "common.affinities.nodes.soft" (dict "key" "app" "values" (list "drycc-helmbroker-celery")) | indent 6 }}
2425 serviceAccount : drycc-helmbroker
25- {{- if .Values.global.common }}
26- {{- include "common.affinity" (dict "key" "app" "values" (list "drycc-helmbroker-celery")) | indent 6 }}
27- {{- end }}
2826 containers :
2927 - name : drycc-helmbroker-celery
3028 image : {{.Values.imageRegistry}}/{{.Values.imageOrg}}/helmbroker:{{.Values.imageTag}}
Original file line number Diff line number Diff line change 2121 labels :
2222 app : drycc-helmbroker
2323 spec :
24- {{- if .Values.global.common }}
25- {{- include "common.affinity" (dict "key" "app" "values" (list "drycc-helmbroker")) | indent 6 }}
26- {{- end }}
24+ {{- include "common.affinities.nodes.soft" (dict "key" "app" "values" (list "drycc-helmbroker")) | indent 6 }}
2725 serviceAccount : drycc-helmbroker
2826 initContainers :
2927 - name : loader
You can’t perform that action at this time.
0 commit comments