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
|
uses: WyriHaximus/github-action-get-previous-tag@v1
|
||||||
|
|
||||||
- name: Download SBOM from github action
|
- name: Download SBOM from github action
|
||||||
uses: actions/download-artifact@v3
|
uses: actions/download-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: ${{ env.ANCHORE_SBOM_ACTION_PRIOR_ARTIFACT }}
|
name: ${{ env.ANCHORE_SBOM_ACTION_PRIOR_ARTIFACT }}
|
||||||
|
|
||||||
|
@ -24,7 +24,7 @@ spec:
|
|||||||
annotations:
|
annotations:
|
||||||
custom.annotation: is-used
|
custom.annotation: is-used
|
||||||
---
|
---
|
||||||
apiVersion: "lerentis.uploadfilter24.eu/v1beta6"
|
apiVersion: "lerentis.uploadfilter24.eu/v1beta7"
|
||||||
kind: BitwardenSecret
|
kind: BitwardenSecret
|
||||||
metadata:
|
metadata:
|
||||||
name: test-scope
|
name: test-scope
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
---
|
---
|
||||||
apiVersion: "lerentis.uploadfilter24.eu/v1beta6"
|
apiVersion: "lerentis.uploadfilter24.eu/v1beta7"
|
||||||
kind: RegistryCredential
|
kind: RegistryCredential
|
||||||
metadata:
|
metadata:
|
||||||
name: test
|
name: test
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
---
|
---
|
||||||
apiVersion: "lerentis.uploadfilter24.eu/v1beta6"
|
apiVersion: "lerentis.uploadfilter24.eu/v1beta7"
|
||||||
kind: BitwardenTemplate
|
kind: BitwardenTemplate
|
||||||
metadata:
|
metadata:
|
||||||
name: test
|
name: test
|
||||||
|
@ -1,8 +1,10 @@
|
|||||||
apiVersion: skaffold/v4beta5
|
apiVersion: skaffold/v4beta9
|
||||||
kind: Config
|
kind: Config
|
||||||
metadata:
|
metadata:
|
||||||
name: bitwarden-crd-operator
|
name: bitwarden-crd-operator
|
||||||
build:
|
build:
|
||||||
|
tagPolicy:
|
||||||
|
sha256: {}
|
||||||
artifacts:
|
artifacts:
|
||||||
- image: ghcr.io/lerentis/bitwarden-crd-operator
|
- image: ghcr.io/lerentis/bitwarden-crd-operator
|
||||||
docker:
|
docker:
|
||||||
@ -13,5 +15,43 @@ 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}}"
|
||||||
|
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