[bitnami/phpmyadmin] Add Phpmyadmin Helm Chart tests (#9570)

* Added empty workflow file

Signed-off-by: alukic <alukic@vmware.com>

* Added the phpmyadmin tests

Signed-off-by: alukic <alukic@vmware.com>

* Tweaked the tests to reduce flakiness

Signed-off-by: alukic <alukic@vmware.com>

* Add a missing 0

Signed-off-by: alukic <alukic@vmware.com>

* Moved the assert from commands to the test

Signed-off-by: alukic <alukic@vmware.com>

* Changed the chart-values, to remove username/password settings since we are using the default

Signed-off-by: alukic <alukic@vmware.com>

* Added the login assertion

Signed-off-by: alukic <alukic@vmware.com>

* HTTP to HTTPS

Signed-off-by: alukic <alukic@vmware.com>

* Removed the duplicate rows and an empty line

Signed-off-by: alukic <alukic@vmware.com>

* Empty row

Signed-off-by: alukic <alukic@vmware.com>

* Removed extra row from cypress.json

Signed-off-by: alukic <alukic@vmware.com>

* Applied suggestions in the PR

Signed-off-by: alukic <alukic@vmware.com>

* Plugins as constants

Signed-off-by: alukic <alukic@vmware.com>

* Removed extra shoulds

Signed-off-by: alukic <alukic@vmware.com>
This commit is contained in:
superaleks
2022-03-29 17:11:15 +02:00
committed by GitHub
parent b599ceab54
commit d369484142
10 changed files with 338 additions and 0 deletions

36
.github/workflows/vib-phpmyadmin.yaml vendored Normal file
View File

@@ -0,0 +1,36 @@
name: 'vib'
on: # rebuild any PRs and main branch changes
pull_request_target:
branches:
- master
paths:
- 'bitnami/phpmyadmin/*'
env:
CSP_API_URL: https://console.cloud.vmware.com
CSP_API_TOKEN: ${{ secrets.CSP_API_TOKEN }}
VIB_PUBLIC_URL: https://cp.bromelia.vmware.com
jobs:
vib-k8s-verify: # verify in multiple target platforms
runs-on: ubuntu-latest
environment: vmware-image-builder
strategy:
matrix:
include:
- target-platform: gke
target-platform-id: 91d398a2-25c4-4cda-8732-75a3cfc179a1
- target-platform: aks
target-platform-id: 7b13a7bb-011c-474f-ad71-8152fc321b9e
- target-platform: tkg
target-platform-id: 7ddab896-2e4e-4d58-a501-f79897eba3a0
fail-fast: false
name: K8s verify ${{ matrix.target-platform}}
steps:
- uses: actions/checkout@v2
with:
ref: ${{github.event.pull_request.head.ref}}
repository: ${{github.event.pull_request.head.repo.full_name}}
- uses: vmware-labs/vmware-image-builder-action@main
with:
pipeline: phpmyadmin/vib-platform-verify.json
env:
TARGET_PLATFORM: ${{ matrix.target-platform-id }}