Merge pull request #88 from Lerentis/feature/tt/skaffold-tests
fix release pipeline
This commit is contained in:
commit
d8dc1a2de9
2
.github/workflows/release.yml
vendored
2
.github/workflows/release.yml
vendored
@ -77,7 +77,7 @@ jobs:
|
||||
uses: WyriHaximus/github-action-get-previous-tag@v1
|
||||
|
||||
- name: Download SBOM from github action
|
||||
uses: actions/download-artifact@v3
|
||||
uses: actions/download-artifact@v4
|
||||
with:
|
||||
name: ${{ env.ANCHORE_SBOM_ACTION_PRIOR_ARTIFACT }}
|
||||
|
||||
|
@ -24,7 +24,7 @@ spec:
|
||||
annotations:
|
||||
custom.annotation: is-used
|
||||
---
|
||||
apiVersion: "lerentis.uploadfilter24.eu/v1beta6"
|
||||
apiVersion: "lerentis.uploadfilter24.eu/v1beta7"
|
||||
kind: BitwardenSecret
|
||||
metadata:
|
||||
name: test-scope
|
||||
|
@ -1,5 +1,5 @@
|
||||
---
|
||||
apiVersion: "lerentis.uploadfilter24.eu/v1beta6"
|
||||
apiVersion: "lerentis.uploadfilter24.eu/v1beta7"
|
||||
kind: RegistryCredential
|
||||
metadata:
|
||||
name: test
|
||||
|
@ -1,5 +1,5 @@
|
||||
---
|
||||
apiVersion: "lerentis.uploadfilter24.eu/v1beta6"
|
||||
apiVersion: "lerentis.uploadfilter24.eu/v1beta7"
|
||||
kind: BitwardenTemplate
|
||||
metadata:
|
||||
name: test
|
||||
|
@ -1,8 +1,10 @@
|
||||
apiVersion: skaffold/v4beta5
|
||||
apiVersion: skaffold/v4beta9
|
||||
kind: Config
|
||||
metadata:
|
||||
name: bitwarden-crd-operator
|
||||
build:
|
||||
tagPolicy:
|
||||
sha256: {}
|
||||
artifacts:
|
||||
- image: ghcr.io/lerentis/bitwarden-crd-operator
|
||||
docker:
|
||||
@ -13,5 +15,43 @@ deploy:
|
||||
- name: bitwarden-crd-operator
|
||||
chartPath: charts/bitwarden-crd-operator
|
||||
valuesFiles:
|
||||
- env/values.yaml
|
||||
version: v0.13.0
|
||||
- ./charts/bitwarden-crd-operator/myvalues.yaml
|
||||
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}}"
|
||||
hooks:
|
||||
after:
|
||||
- host:
|
||||
command:
|
||||
- kubectl
|
||||
- apply
|
||||
- -f
|
||||
- ./example*.yaml
|
||||
- host:
|
||||
command:
|
||||
- sleep
|
||||
- '5'
|
||||
- host:
|
||||
command:
|
||||
- kubectl
|
||||
- get
|
||||
- secret
|
||||
- test-regcred
|
||||
- host:
|
||||
command:
|
||||
- kubectl
|
||||
- get
|
||||
- secret
|
||||
- test-scope
|
||||
- host:
|
||||
command:
|
||||
- kubectl
|
||||
- get
|
||||
- secret
|
||||
- test-secret
|
||||
- host:
|
||||
command:
|
||||
- kubectl
|
||||
- get
|
||||
- secret
|
||||
- test-template
|
||||
|
Loading…
Reference in New Issue
Block a user