Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
dlakhaws committed Nov 10, 2023
1 parent f4fe6d4 commit 070f1ad
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 27 deletions.
50 changes: 25 additions & 25 deletions .github/workflows/e2e-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
if: github.repository == 'awslabs/mountpoint-s3-csi-driver'
strategy:
matrix:
cluster-type: ["kops"]
cluster-type: ["kops-arm"]
runs-on: ubuntu-latest
permissions:
id-token: write
Expand Down Expand Up @@ -80,31 +80,31 @@ jobs:
export AWS_REGION=${{ env.AWS_REGION }}
export CLUSTER_TYPE=${{ matrix.cluster-type }}
tests/e2e-kubernetes/run.sh
- name: Install the driver
run: |
export ACTION=install_driver
export AWS_REGION=${{ env.AWS_REGION }}
export CLUSTER_TYPE=${{ matrix.cluster-type }}
export IMAGE_NAME=${{ env.TMP_IMAGE_NAME }}
export TAG=${{ env.COMMIT_ID }}
tests/e2e-kubernetes/run.sh
- name: Run E2E Tests
run: |
cd tests/e2e-kubernetes
export ACTION=run_tests
export AWS_REGION=${{ env.AWS_REGION }}
export CLUSTER_TYPE=${{ matrix.cluster-type }}
export TAG=${{ env.COMMIT_ID }}
./run.sh
- name: Uinstall the driver
if: always()
run: |
export ACTION=uninstall_driver
export AWS_REGION=${{ env.AWS_REGION }}
export CLUSTER_TYPE=${{ matrix.cluster-type }}
tests/e2e-kubernetes/run.sh
# - name: Install the driver
# run: |
# export ACTION=install_driver
# export AWS_REGION=${{ env.AWS_REGION }}
# export CLUSTER_TYPE=${{ matrix.cluster-type }}
# export IMAGE_NAME=${{ env.TMP_IMAGE_NAME }}
# export TAG=${{ env.COMMIT_ID }}
# tests/e2e-kubernetes/run.sh
# - name: Run E2E Tests
# run: |
# cd tests/e2e-kubernetes
# export ACTION=run_tests
# export AWS_REGION=${{ env.AWS_REGION }}
# export CLUSTER_TYPE=${{ matrix.cluster-type }}
# export TAG=${{ env.COMMIT_ID }}
# ./run.sh
# - name: Uinstall the driver
# if: always()
# run: |
# export ACTION=uninstall_driver
# export AWS_REGION=${{ env.AWS_REGION }}
# export CLUSTER_TYPE=${{ matrix.cluster-type }}
# tests/e2e-kubernetes/run.sh
- name: Delete cluster
if: always() && matrix.cluster-type == 'kops'
if: always() && (matrix.cluster-type == 'kops' || matrix.cluster-type == 'kops-arm')
run: |
export ACTION=delete_cluster
export AWS_REGION=${{ env.AWS_REGION }}
Expand Down
2 changes: 1 addition & 1 deletion deploy/kubernetes/overlays/stable/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ resources:
images:
- name: csi-driver
newName: 151381207180.dkr.ecr.eu-west-1.amazonaws.com/s3-csi-driver
newTag: v0.1.0
newTag: jk-testing-4-linux-arm64-amazon
2 changes: 1 addition & 1 deletion tests/e2e-kubernetes/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ KUBECTL_BIN=${KUBECTL_INSTALL_PATH}/kubectl

CLUSTER_TYPE=${CLUSTER_TYPE:-kops}
# CLUSTER_NAME="s3-csi-cluster-${CLUSTER_TYPE}.k8s.local"
CLUSTER_NAME="s3-csi-cluster-kops-24945.k8s.local"
CLUSTER_NAME="s3-csi-cluster.kops-arm.k8s.local"
if [[ "${CLUSTER_TYPE}" == "eksctl" ]]; then
CLUSTER_NAME="s3-csi-cluster"
fi
Expand Down

0 comments on commit 070f1ad

Please sign in to comment.