Skip to content

Commit

Permalink
chore: fixed new-lines at end of files, added release step to bump ch…
Browse files Browse the repository at this point in the history
…art version
  • Loading branch information
davepoltorak committed Jul 21, 2023
1 parent c192a62 commit 0ba42e7
Show file tree
Hide file tree
Showing 7 changed files with 13 additions and 5 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@ jobs:
uses: actions/setup-node@v3
with:
node-version: "lts/*"
- name: Setup yq - portable yaml processor
uses: mikefarah/[email protected]
- uses: crazy-max/ghaction-import-gpg@v3
id: import_gpg
with:
Expand Down
2 changes: 1 addition & 1 deletion infrastructure/charts/agent/templates/apisixtls.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ spec:
secret:
name: "prism-agent-base-path-secret"
namespace: "{{ .Release.Namespace }}"
{{- end }}
{{- end }}
2 changes: 1 addition & 1 deletion infrastructure/charts/agent/templates/certificate.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@ spec:
{{- range .Values.ingress.applicationUrls }}
- {{ . }}
{{- end }}
{{- end }}
{{- end }}
2 changes: 1 addition & 1 deletion infrastructure/charts/agent/templates/externalsecret.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@ spec:
.dockerconfigjson: "{{ `{{ .dockerconfigjson | b64dec }}` }}"
dataFrom:
- extract:
key: {{ .Values.secrets.dockerRegistryToken }}
key: {{ .Values.secrets.dockerRegistryToken }}
2 changes: 1 addition & 1 deletion infrastructure/charts/agent/templates/stringsecret.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@ spec:
encoding: "base64"
length: "32"
{{- end }}
{{- end }}
{{- end }}
2 changes: 1 addition & 1 deletion infrastructure/charts/agent/templates/vault-unseal.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,4 @@ spec:
- --shard=$(VAULT_UNSEAL_KEY_0)
- --shard=$(VAULT_UNSEAL_KEY_1)
- --shard=$(VAULT_UNSEAL_KEY_2)
{{- end }}
{{- end }}
6 changes: 6 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,12 @@
"prepareCmd": "sbt \"release release-version ${nextRelease.version} next-version ${nextRelease.version}-SNAPSHOT with-defaults\""
}
],
[
"@semantic-release/exec",
{
"prepareCmd": "yq -i '.appVersion = \"${nextRelease.version}\"' ./infrastructure/charts/agent/Chart.yaml"
}
]
[
"@semantic-release/exec",
{
Expand Down

0 comments on commit 0ba42e7

Please sign in to comment.