feat: add pull mount histogram metrics #1
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: test-metrics-5m | |
on: | |
push: | |
branches: [master] | |
pull_request: | |
branches: [master] | |
workflow_dispatch: | |
jobs: | |
integration: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Start a kind cluster with containerd | |
uses: helm/[email protected] | |
with: | |
cluster_name: kind-${{ github.run_id }} | |
kubectl_version: "v1.25.2" | |
config: ./hack/ci/containerd-cluster-conf.yaml | |
- name: Build image | |
run: ./hack/ci/build.sh | |
- name: Set image version | |
run: | | |
echo "VALUE_FILE=charts/warm-metal-csi-driver/values.yaml" >> "$GITHUB_ENV" | |
echo "IMAGE_TAG=$(git rev-parse --short HEAD)" >> "$GITHUB_ENV" | |
echo "HELM_NAME=wm-csi-integration-tests" >> "$GITHUB_ENV" | |
- name: Install the CSI Driver | |
run: | | |
trap "kubectl -n kube-system describe po" ERR | |
helm install ${HELM_NAME} charts/warm-metal-csi-driver -n kube-system \ | |
-f ${VALUE_FILE} \ | |
--set csiPlugin.image.tag=${IMAGE_TAG} \ | |
--wait \ | |
--debug | |
- name: Test volumes between the ds restarted | |
run: ./test/integration/test-metrics.sh | |
- name: Uninstall the CSI Driver | |
run: helm uninstall -n kube-system ${HELM_NAME} --wait |