Merge branch 'main' into main
Signed-off-by: Alex Souslik <alex.s@hiredscore.com>
This commit is contained in:
commit
a198c99bd7
3 changed files with 11 additions and 4 deletions
4
.github/workflows/lint-and-test.yml
vendored
4
.github/workflows/lint-and-test.yml
vendored
|
@ -32,7 +32,7 @@ jobs:
|
||||||
version: v3.10.1 # Also update in publish.yaml
|
version: v3.10.1 # Also update in publish.yaml
|
||||||
|
|
||||||
- name: Set up python
|
- name: Set up python
|
||||||
uses: actions/setup-python@bd6b4b6205c4dbad673328db7b31b7fab9e241c0 # v4.6.1
|
uses: actions/setup-python@61a6322f88396a6271a6ee3565807d608ecaddd1 # v4.7.0
|
||||||
with:
|
with:
|
||||||
python-version: 3.9
|
python-version: 3.9
|
||||||
|
|
||||||
|
@ -70,7 +70,7 @@ jobs:
|
||||||
fi
|
fi
|
||||||
|
|
||||||
- name: Create kind cluster
|
- name: Create kind cluster
|
||||||
uses: helm/kind-action@fa81e57adff234b2908110485695db0f181f3c67 # v1.7.0
|
uses: helm/kind-action@dda0770415bac9fc20092cacbc54aa298604d140 # v1.8.0
|
||||||
if: steps.list-changed.outputs.changed == 'true'
|
if: steps.list-changed.outputs.changed == 'true'
|
||||||
with:
|
with:
|
||||||
config: .github/configs/kind-config.yaml
|
config: .github/configs/kind-config.yaml
|
||||||
|
|
2
.github/workflows/pr-sizing.yml
vendored
2
.github/workflows/pr-sizing.yml
vendored
|
@ -16,7 +16,7 @@ jobs:
|
||||||
triage:
|
triage:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/labeler@0967ca812e7fdc8f5f71402a1b486d5bd061fe20 # v4.2.0
|
- uses: actions/labeler@ac9175f8a1f3625fd0d4fb234536d26811351594 # v4.3.0
|
||||||
with:
|
with:
|
||||||
configuration-path: ".github/configs/labeler.yaml"
|
configuration-path: ".github/configs/labeler.yaml"
|
||||||
repo-token: "${{ secrets.GITHUB_TOKEN }}"
|
repo-token: "${{ secrets.GITHUB_TOKEN }}"
|
||||||
|
|
|
@ -38,6 +38,13 @@ Create Argo CD app version
|
||||||
{{- default .Chart.AppVersion .Values.global.image.tag }}
|
{{- default .Chart.AppVersion .Values.global.image.tag }}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
|
|
||||||
|
{{/*
|
||||||
|
Return valid version label
|
||||||
|
*/}}
|
||||||
|
{{- define "argo-cd.versionLabelValue" -}}
|
||||||
|
{{ regexReplaceAll "[^-A-Za-z0-9_.]" (include "argo-cd.defaultTag" .) "-" | trunc 63 | trimAll "-" | trimAll "_" | trimAll "." | quote }}
|
||||||
|
{{- end -}}
|
||||||
|
|
||||||
{{/*
|
{{/*
|
||||||
Common labels
|
Common labels
|
||||||
*/}}
|
*/}}
|
||||||
|
@ -46,7 +53,7 @@ helm.sh/chart: {{ include "argo-cd.chart" .context }}
|
||||||
{{ include "argo-cd.selectorLabels" (dict "context" .context "component" .component "name" .name) }}
|
{{ include "argo-cd.selectorLabels" (dict "context" .context "component" .component "name" .name) }}
|
||||||
app.kubernetes.io/managed-by: {{ .context.Release.Service }}
|
app.kubernetes.io/managed-by: {{ .context.Release.Service }}
|
||||||
app.kubernetes.io/part-of: argocd
|
app.kubernetes.io/part-of: argocd
|
||||||
app.kubernetes.io/version: {{ include "argo-cd.defaultTag" .context }}
|
app.kubernetes.io/version: {{ include "argo-cd.versionLabelValue" .context }}
|
||||||
{{- with .context.Values.global.additionalLabels }}
|
{{- with .context.Values.global.additionalLabels }}
|
||||||
{{ toYaml . }}
|
{{ toYaml . }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
Loading…
Reference in a new issue