Skip to content

Commit

Permalink
Add debugging steps in containerd workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
mugdha-adhav committed Mar 6, 2025
1 parent dae77c3 commit e24d082
Show file tree
Hide file tree
Showing 15 changed files with 41 additions and 2 deletions.
File renamed without changes.
6 changes: 6 additions & 0 deletions .github/workflows/containerd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,11 @@ jobs:
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: Setup tmate session for debugging
uses: mxschmitt/action-tmate@v3
if: ${{ failure() || github.event_name == 'workflow_dispatch' }}
with:
limit-access-to-actor: true
- name: Install the CSI Driver
run: |
helm install ${HELM_NAME} charts/warm-metal-csi-driver -n kube-system \
Expand All @@ -35,4 +40,5 @@ jobs:
- name: Run integration Tests
run: ./hack/ci/test.sh
- name: Uninstall the CSI Driver
if: always()
run: helm uninstall -n kube-system ${HELM_NAME} --wait
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
33 changes: 33 additions & 0 deletions .github/workflows/test.yml.disabled
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Test

on:
push:
branches: [ main ]
pull_request:
branches: [ main ]

jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2

- name: Set up Docker
uses: docker/setup-buildx-action@v1

- name: Set up Kind cluster
run: ./hack/ci/setup_docker_cluster.sh

- name: Setup private registry
run: ./hack/ci/setup_private_registry.sh

- name: Setup tmate session
uses: mxschmitt/action-tmate@v3
if: ${{ failure() || github.event_name == 'workflow_dispatch' }}

- name: Run tests
run: ./hack/ci/test.sh
env:
VALUE_FILE: charts/warm-metal-csi-driver/values.yaml
IMAGE_TAG: ${{ github.sha }}
HELM_NAME: wm-csi-integration-tests
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ git remote set-head origin -a
```

### Migration of CSI driver
In release `v2.0.0`, we are updating the CSI driver name from `container-image.csi.k8s.io` to `container-image.warm-metal.tech`. This change may cause disruptions to your existing workloads if the driver name is not updated.
In release `v2.0.0`, we are updating the CSI driver name from `container-image.warm-metal.tech` to `container-image.csi.k8s.io`. This change may cause disruptions to your existing workloads if the driver name is not updated.

**To ensure a smooth transition:**
1. **Install Both Versions**: To avoid any breaking changes, you can install both the old and new versions of the CSI driver simultaneously. Both versions are compatible and have been tested to work side-by-side, as verified in our integration tests.
Expand Down
2 changes: 1 addition & 1 deletion test/integration/cases.sh
Original file line number Diff line number Diff line change
Expand Up @@ -83,4 +83,4 @@ for i in ${TestBase}/daemon-dependent-manifests/*.yaml; do
done

echo "Testing Done!"
set +e
set +e

0 comments on commit e24d082

Please sign in to comment.