Skip to content

Commit

Permalink
Update Kops cluster to latest and add parameter for kops version (#2435)
Browse files Browse the repository at this point in the history
  • Loading branch information
jaydeokar authored Jun 21, 2023
1 parent 3cd4b76 commit 7fb4587
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/weekly-cron-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,8 @@ jobs:
ROLE_ARN: ${{ secrets.EKS_CLUSTER_ROLE_ARN }}
RUN_KOPS_TEST: true
RUN_TESTER_LB_ADDONS: true
K8S_VERSION: 1.26.0
K8S_VERSION: 1.26.5
KOPS_VERSION: v1.26.4
RUN_INTEGRATION_DEFAULT_CNI: false
run: |
./scripts/run-integration-tests.sh
Expand Down
5 changes: 2 additions & 3 deletions scripts/lib/cluster.sh
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,8 @@ function up-kops-cluster {
if ! aws s3api head-bucket --bucket $KOPS_S3_BUCKET 2>/dev/null; then
aws s3api create-bucket --bucket $KOPS_S3_BUCKET --region $AWS_DEFAULT_REGION --create-bucket-configuration LocationConstraint=$AWS_DEFAULT_REGION
fi
kops_version="v1.25.3"
echo "Using kops version $kops_version"
curl -LO https://github.com/kubernetes/kops/releases/download/$kops_version/kops-linux-amd64
echo "Using kops version $KOPS_VERSION"
curl -LO https://github.com/kubernetes/kops/releases/download/$KOPS_VERSION/kops-linux-amd64
chmod +x kops-linux-amd64
mkdir -p ~/kops_bin
KOPS_BIN=~/kops_bin/kops
Expand Down
1 change: 1 addition & 0 deletions scripts/run-integration-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ ARCH=$(go env GOARCH)
: "${RUN_LATEST_CALICO_VERSION:=false}"
: "${CALICO_VERSION:=v3.25.0}"
: "${RUN_CALICO_TEST_WITH_PD:=true}"
: "${KOPS_VERSION=v1.26.4}"

__cluster_created=0
__cluster_deprovisioned=0
Expand Down

0 comments on commit 7fb4587

Please sign in to comment.