Skip to content

Commit

Permalink
e2e test
Browse files Browse the repository at this point in the history
Signed-off-by: Alexandre Lamarre <[email protected]>
  • Loading branch information
alexandreLamarre committed Apr 11, 2024
1 parent 55d75fd commit 3bcbd7d
Showing 1 changed file with 15 additions and 11 deletions.
26 changes: 15 additions & 11 deletions .github/workflows/e2e-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,23 +26,27 @@ jobs:
steps:
- name : Checkout repository
uses : actions/checkout@v4
# - name : Setup environment variables
# run : echo "K8S_VERSION_FROM_CI=${{ matrix.K8S_VERSION_FROM_CI }}" >> $GITHUB_ENV
# - name: Set up Docker Buildx
# uses: docker/setup-buildx-action@v3
# - name : CI
# run : make ci
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name : Install K3D
run : ./.github/workflows/e2e/scripts/install-k3d.sh
- name : Install minio client
run : |
curl https://dl.min.io/client/mc/release/linux-amd64/mc > mc
mv mc /usr/local/bin/
- name : Setup environment variables
run : echo "K8S_VERSION_FROM_CI=${{ matrix.K8S_VERSION_FROM_CI }}" >> $GITHUB_ENV
- name : CI
run : make ci
- name : Setup Cluster
run : ./.github/workflows/e2e/scripts/setup-cluster.sh
- name : Cluster info
run: |
kubectl cluster-info --context k3d-${{ env.CLUSTER_NAME }}
- name: Nodes
run: |
docker ps -a
kubectl config use-context k3d-${{ env.CLUSTER_NAME }}
kubectl get nodes -o wide
- name: Network
run: docker network inspect k3d-${{ env.CLUSTER_NAME }}
- name : Import BRO images
run : k3d image import ${{ env.REPO }}/rancher/backup-restore-operator:${{ env.TAG}}
- name : e2e test
run : ./scripts/integration

0 comments on commit 3bcbd7d

Please sign in to comment.