Skip to content

Commit d67302d

Browse files
committed
CI
1 parent fd78423 commit d67302d

1 file changed

Lines changed: 10 additions & 10 deletions

File tree

.github/workflows/integration-test.yaml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: "Integration Test"
1+
# name: "Integration Test"
22
on:
33
pull_request:
44
push:
@@ -22,7 +22,7 @@ jobs:
2222
runs-on: ubuntu-latest
2323
steps:
2424
- name: Checkout
25-
uses: actions/checkout@v4
25+
uses: actions/checkout@main
2626

2727
- name: Setup Nix environment
2828
uses: ./.github/actions/setup-nix
@@ -41,6 +41,8 @@ jobs:
4141
4242
- name: Build and push scratch image
4343
run: |
44+
# uploadScratch requires sudo because Buildah is a crybaby
45+
# TODO: Fix permissions properly
4446
nix build --file default.nix uploadScratch
4547
sudo -E ./result/bin/uploadScratch
4648
@@ -50,7 +52,7 @@ jobs:
5052
runs-on: ubuntu-latest
5153
steps:
5254
- name: Checkout
53-
uses: actions/checkout@v4
55+
uses: actions/checkout@main
5456

5557
- name: Setup Nix environment
5658
uses: ./.github/actions/setup-nix
@@ -59,17 +61,15 @@ jobs:
5961
github_token: ${{ secrets.GITHUB_TOKEN }}
6062

6163
- name: Create Kind cluster
62-
uses: helm/kind-action@v1
64+
uses: helm/kind-action@main
6365

6466
- name: Generate SSH keys
6567
run: |
66-
mkdir -p keys
6768
ssh-keygen -t ed25519 -f keys/ci-test -N "" -C "ci-test"
68-
mv keys/ci-test.pub keys/ci-test.pub
6969
7070
- name: Deploy nix-csi
7171
run: |
72-
nix run --file . kubenixApply.deploymentScript --argstr local "true"
72+
nix run --file . kubenixApply.deploymentScript -- --yes
7373
7474
- name: Wait for nix-csi cache pod
7575
run: |
@@ -83,9 +83,9 @@ jobs:
8383
run: |
8484
kubectl wait --for=condition=ready pod -l app=ctest -n nix-csi --timeout=300s
8585
86-
- name: Run integration tests
87-
run: |
88-
nix run --file . integrationTest
86+
# - name: Run integration tests
87+
# run: |
88+
# nix run --file . integrationTest
8989

9090
- name: Debug on failure
9191
if: failure()

0 commit comments

Comments
 (0)