Skip to content

Commit

Permalink
update eks
Browse files Browse the repository at this point in the history
Signed-off-by: Austin Abro <[email protected]>
  • Loading branch information
AustinAbro321 committed Feb 6, 2025
1 parent c3e0e70 commit d9af037
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/nightly-eks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ jobs:

- name: Deploy the eks package
run: |
./build/zarf package deploy build/zarf-package-distro-eks-amd64-0.0.3.tar.zst \
./build/zarf package deploy build/zarf-package-distro-eks-amd64-0.0.4.tar.zst \
--components=deploy-eks-cluster \
--set=EKS_CLUSTER_NAME=${{ inputs.cluster_name || 'zarf-nightly-eks-e2e-test' }} \
--set=EKS_INSTANCE_TYPE=${{ inputs.instance_type || 't3.medium' }} \
Expand All @@ -67,7 +67,7 @@ jobs:
- name: Teardown the cluster
if: always()
run: |
./build/zarf package deploy build/zarf-package-distro-eks-amd64-0.0.3.tar.zst \
./build/zarf package deploy build/zarf-package-distro-eks-amd64-0.0.4.tar.zst \
--components=teardown-eks-cluster \
--set=EKS_CLUSTER_NAME=${{ inputs.cluster_name || 'zarf-nightly-eks-e2e-test' }} \
--confirm
Expand Down
5 changes: 2 additions & 3 deletions src/test/e2e/00_use_cli_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -133,15 +133,14 @@ func TestUseCLI(t *testing.T) {
stdOut, stdErr, err := e2e.Zarf(t, "package", "create", "packages/distros/eks", "--confirm")
require.NoError(t, err, stdOut, stdErr)

path := fmt.Sprintf("zarf-package-distro-eks-%s-0.0.3.tar.zst", e2e.Arch)
path := fmt.Sprintf("zarf-package-distro-eks-%s-0.0.4.tar.zst", e2e.Arch)
defer e2e.CleanFiles(t, "binaries/eksctl_Darwin_x86_64", "binaries/eksctl_Darwin_arm64", "binaries/eksctl_Linux_x86_64", path, "eks.yaml")
stdOut, stdErr, err = e2e.Zarf(t, "package", "deploy", path, "--confirm")
require.NoError(t, err, stdOut, stdErr)

require.FileExists(t, "binaries/eksctl_Darwin_x86_64")
require.FileExists(t, "binaries/eksctl_Darwin_arm64")
require.FileExists(t, "binaries/eksctl_Linux_x86_64")

e2e.CleanFiles(t, "binaries/eksctl_Darwin_x86_64", "binaries/eksctl_Darwin_arm64", "binaries/eksctl_Linux_x86_64", path, "eks.yaml")
})

t.Run("zarf package create with tmpdir and cache", func(t *testing.T) {
Expand Down

0 comments on commit d9af037

Please sign in to comment.