akeleton for skaffold tests

This commit is contained in:
Tobias Trabelsi 2024-06-22 13:54:16 +02:00
parent 297fb37f13
commit bb50495347
Signed by: lerentis
GPG Key ID: FF0C2839718CAF2E
2 changed files with 14 additions and 3 deletions

View File

@ -1,4 +1,4 @@
apiVersion: skaffold/v4beta5 apiVersion: skaffold/v4beta9
kind: Config kind: Config
metadata: metadata:
name: bitwarden-crd-operator name: bitwarden-crd-operator
@ -13,5 +13,12 @@ deploy:
- name: bitwarden-crd-operator - name: bitwarden-crd-operator
chartPath: charts/bitwarden-crd-operator chartPath: charts/bitwarden-crd-operator
valuesFiles: valuesFiles:
- env/values.yaml - ./charts/bitwarden-crd-operator/myvalues.yaml
version: v0.13.0 setValueTemplates:
image.repository: "{{.IMAGE_REPO_ghcr_io_lerentis_bitwarden_crd_operator}}"
image.tag: "{{.IMAGE_TAG_ghcr_io_lerentis_bitwarden_crd_operator}}@{{.IMAGE_DIGEST_ghcr_io_lerentis_bitwarden_crd_operator}}"
test:
- image: ghcr.io/lerentis/bitwarden-crd-operator
custom:
- command: ./utils/test.sh
timeoutSeconds: 60

4
utils/test.sh Normal file
View File

@ -0,0 +1,4 @@
#!/bin/bash
kubectl apply -f example*