Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading