diff --git a/Dockerfile b/Dockerfile index ec526b0736..b13cdf2b2d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,6 @@ # Use the `python:3.7` as a source image from the Amazon ECR Public Gallery # We are not using `python:3.7.2-slim` from Dockerhub because it has put a pull rate limit. -FROM public.ecr.aws/sam/build-python3.7:latest +FROM public.ecr.aws/sam/build-python3.8:latest # Set up an app directory for your code COPY . /app diff --git a/buildspec.yml b/buildspec.yml index 63e53d247f..3e9c29916d 100644 --- a/buildspec.yml +++ b/buildspec.yml @@ -5,7 +5,7 @@ version: 0.2 phases: install: runtime-versions: - python: 3.7 + python: 3.8 commands: - echo 'about to call dockerd' - nohup /usr/local/bin/dockerd --host=unix:///var/run/docker.sock --host=tcp://127.0.0.1:2375 --storage-driver=overlay2& @@ -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.22.0 on Linux, use: - - curl -LO https://dl.k8s.io/release/v1.23.6/bin/linux/amd64/kubectl + - curl -LO https://dl.k8s.io/release/v1.29.0/bin/linux/amd64/kubectl # Download the kubectl checksum file - - curl -LO "https://dl.k8s.io/v1.23.6/bin/linux/amd64/kubectl.sha256" + - curl -LO "https://dl.k8s.io/v1.29.0/bin/linux/amd64/kubectl.sha256" # Validate the kubectl binary against the checksum file - echo "$(cat kubectl.sha256) kubectl" | sha256sum --check # Install kubectl diff --git a/ci-cd-codepipeline.cfn.yml b/ci-cd-codepipeline.cfn.yml index c0f4d9d31b..10bf98b3fd 100755 --- a/ci-cd-codepipeline.cfn.yml +++ b/ci-cd-codepipeline.cfn.yml @@ -40,7 +40,7 @@ Parameters: GitHubUser: Type: String - Default: SudKul + Default: Mujeebla Description: GitHub username or organization MinLength: 3 MaxLength: 100 @@ -161,7 +161,7 @@ Resources: Handler: index.handler Role: !GetAtt CustomResourceLambdaExecutionRole.Arn - Runtime: python3.7 + Runtime: python3.8 Timeout: 300 CustomResourceLambdaExecutionRole: