Skip to content

Commit

Permalink
Update buildspec.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
milanimarco82 authored Jan 9, 2025
1 parent b9f5782 commit 14a5974
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions buildspec.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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 .
Expand Down

0 comments on commit 14a5974

Please sign in to comment.