diff --git a/integration/tests/custom_ami/custom_ami_test.go b/integration/tests/custom_ami/custom_ami_test.go index 4b54bdeb5e..74652ccbc0 100644 --- a/integration/tests/custom_ami/custom_ami_test.go +++ b/integration/tests/custom_ami/custom_ami_test.go @@ -42,7 +42,6 @@ var ( customAMIAL2 string customAMIAL2023 string customAMIBottlerocket string - customAMIUbuntuPro2004 string customAMIUbuntuPro2204 string customAMIUbuntuPro2404 string ) @@ -81,14 +80,6 @@ var _ = BeforeSuite(func() { Expect(err).NotTo(HaveOccurred()) customAMIBottlerocket = *output.Parameter.Value - // retrieve Ubuntu Pro 20.04 AMI - input = &awsssm.GetParameterInput{ - Name: aws.String(fmt.Sprintf("/aws/service/canonical/ubuntu/eks-pro/20.04/%s/stable/current/amd64/hvm/ebs-gp2/ami-id", params.Version)), - } - output, err = ssm.GetParameter(context.Background(), input) - Expect(err).NotTo(HaveOccurred()) - customAMIUbuntuPro2004 = *output.Parameter.Value - // retrieve Ubuntu Pro 22.04 AMI input = &awsssm.GetParameterInput{ Name: aws.String(fmt.Sprintf("/aws/service/canonical/ubuntu/eks-pro/22.04/%s/stable/current/amd64/hvm/ebs-gp2/ami-id", params.Version)), @@ -183,28 +174,6 @@ var _ = Describe("(Integration) [Test Custom AMI]", func() { }) - Context("ubuntu-pro-2004 un-managed nodegroups", func() { - - It("can create a working nodegroup which can join the cluster", func() { - By(fmt.Sprintf("using the following EKS optimised AMI: %s", customAMIUbuntuPro2004)) - content, err := os.ReadFile(filepath.Join("testdata/ubuntu-pro-2004.yaml")) - Expect(err).NotTo(HaveOccurred()) - content = bytes.ReplaceAll(content, []byte(""), []byte(params.ClusterName)) - content = bytes.ReplaceAll(content, []byte(""), []byte(params.Region)) - content = bytes.ReplaceAll(content, []byte(""), []byte(customAMIUbuntuPro2204)) - cmd := params.EksctlCreateCmd. - WithArgs( - "nodegroup", - "--config-file", "-", - "--verbose", "4", - ). - WithoutArg("--region", params.Region). - WithStdin(bytes.NewReader(content)) - Expect(cmd).To(RunSuccessfully()) - }) - - }) - Context("ubuntu-pro-2204 un-managed nodegroups", func() { It("can create a working nodegroup which can join the cluster", func() {