From 14a59741984ce83a9a3f8afb94b14f338e5dae10 Mon Sep 17 00:00:00 2001 From: Marco Milani Date: Thu, 9 Jan 2025 09:31:27 +0100 Subject: [PATCH] Update buildspec.yml --- buildspec.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/buildspec.yml b/buildspec.yml index db3de3995d..bb727fb9f0 100644 --- a/buildspec.yml +++ b/buildspec.yml @@ -17,9 +17,9 @@ phases: # For example, a 1.21 kubectl client works with Kubernetes 1.20, 1.21 and 1.22 clusters. # Ref: https://docs.aws.amazon.com/eks/latest/userguide/install-kubectl.html OR https://kubernetes.io/docs/tasks/tools/install-kubectl-linux/ # To download a specific version v1.27.9 on Linux, use: - - curl -O https://s3.us-west-2.amazonaws.com/amazon-eks/1.27.9/2024-01-04/bin/linux/amd64/kubectl + - curl -O https://s3.us-west-2.amazonaws.com/amazon-eks/1.30.5/2024-01-04/bin/linux/amd64/kubectl # Download the kubectl checksum file - - curl -O https://s3.us-west-2.amazonaws.com/amazon-eks/1.27.9/2024-01-04/bin/linux/amd64/kubectl.sha256 + - curl -O https://s3.us-west-2.amazonaws.com/amazon-eks/1.30.5/2024-01-04/bin/linux/amd64/kubectl.sha256 # Validate the kubectl binary against the checksum file - sha256sum -c kubectl.sha256 # Install kubectl @@ -40,6 +40,7 @@ phases: - export KUBECONFIG=$HOME/.kube/config - echo `ls -l` - pip install -r requirements.txt + - python -m pytest test_main.py build: commands: - docker build --tag $REPOSITORY_URI:$TAG .